A magnetic resonance imaging method for fully automatically forming a water/fat separated image by calculation after acquiring data on images of different echo times, wherein the unwrapping of a phase map showing the distribution of the phase rotation due to the inhomogeneous static magnetic field is repeated so as to determine the distribution of the inhomogeneous static magnetic field by using an index used for judging whether or not the unwrapping is properly being performed, and wherein during the formation of a water/fat separated image with correction of the static magnetic field, the unwrapping is automatically and properly performed in correcting the static magnetic field, and the water /fat images are automatically discriminated.