A magnetic head comprises a pole layer, a shield layer, a gap layer
disposed between the pole layer and the shield layer, and a coil. The
shield layer incorporates: a first layer disposed on the gap layer; a
second layer disposed on the first layer; and a third layer disposed on
the second layer. The first layer has an end face located in a medium
facing surface. An end face of each of the second and third layers closer
to the medium facing surface is located at a distance from the medium
facing surface. A first nonmagnetic layer is disposed around the first
layer. A second nonmagnetic layer is disposed between the medium facing
surface and the end face of the second layer closer to the medium facing
surface.