A magnetic memory according to an embodiment includes: a first and second terminals; a conductive layer, which is nonmagnetic, the conductive layer including a first to third regions, the second region being disposed between the first region and the third region, the first region being electrically connected to the first terminal, and the third region being electrically connected to the second terminal; a magnetoresistive element disposed to correspond to the second region of the conductive layer, the magnetoresistive element including a first magnetic layer, a second magnetic layer disposed between the second region and the first magnetic layer and electrically connected to the second region, a nonmagnetic layer disposed between the first magnetic layer and the second magnetic layer, and a third terminal electrically connected to the first magnetic layer; and a third magnetic layer, the conductive layer being disposed between the third and second magnetic layers.