A magnetic domain wall moving element according to an embodiment includes: a magnetic recording layer, a ferromagnetic layer, and a non-magnetic layer arranged between the magnetic recording layer and the ferromagnetic layer, wherein the ferromagnetic layer contains an additive element dispersed therein, and the additive element is one or more of H, He, Ne, Ar, Kr, Xe, N, C, Ag, Cu, Hg, Au, Pb, Zn, and Bi.