To accurately detect read errors in postcodes. [Solution] The magnetic disk device of the embodiment comprises a magnetic disk having a plurality of tracks, a magnetic head for reading and writing data to the magnetic disk, a plurality of
servo regions provided on each of the plurality of tracks and including at least a portion of a first physical pattern which is the physical pattern after writing of a first data pattern including position information for each of the plurality of tracks, and a
control unit for controlling the magnetic head. Each of the plurality of
servo regions includes either a first
servo region including the first physical pattern, or a second servo region including a second physical pattern which is the physical pattern after writing of a second data pattern different from the first data pattern, for each of the plurality of tracks, and the
control unit determines whether the third servo region among the plurality of servo regions of the plurality of tracks has the first or the second physical pattern.