The origin of the degradation of nanodevices under electrical pulses still remains unknown. Here, Li et al. reveal the mechanism of direct electron-dislocation interaction by decoupling the electron wind force using in situ electropulsing, providing atomistic insight into the electroplasticity.