A magnetic resonance imaging apparatus has means for detecting the movement of
an object so as to correct the variation of the non-uniformity of static magnetic
field because of the movement of the object and thereby to improve the quality
of the MR image. When actually measured data is corrected by using a signal for
correcting the static magnetic field obtained in a preliminary measurement, the
influence of the non-uniformity of static magnetic field is eliminated from the
image based on the information from the body movement detecting means by using
a correcting signal measured at the same time phase of the periodic movement as
that of the actually measured signal. A navigation echo measured during the same
repetition time as that of the actually measured signal is used for detection of
time phase by detecting means. As a result, the quality of image is not deteriorated
by the variation of the non-uniformity of static magnetic field due to the movement
of the body of the object, realizing imaging of high quality image.