An MTJ element has two magnetic layers and a nonmagnetic layer. The
resistance of the MTJ element, which varies depending on whether the two
magnetic layers are magnetized parallel or antiparallel. In an MRAM
adapted to write data into the MTJ element by causing a write wiring to
generate induced magnetic flux and consequently changing the direction of
magnetization of the recording layer, the MTJ element is a perpendicular
MTJ element in which each of the two magnetic layers is magnetized in a
direction perpendicular to its plane. The write wiring is placed in a
direction perpendicular to the direction of the thickness of the MTJ
element and applies a generated magnetic field to the magnetic layers of
the MTJ element in the direction in which they are magnetized. Magnetic
yokes hold the MTJ element in the direction of its thickness.