According to one embodiment, a magnetic disk device includes a disk, a head including a main magnetic pole having a first end and a second end opposite to the first end in a radial direction of the disk, a write shield facing the main magnetic pole with a gap, and an assist element provided in the gap and at a position where a first distance between the first end and the assist element and a second distance between the second end and the assist element are different from each other, and a controller which controls a voltage applied to the assist element according to a shingled write direction in which a second track is overwritten on a first track.