In order to reduce image quality deterioration due to static magnetic field inhomogeneity according to imaging conditions without increasing an operator workload, shimming current where static magnetic field inhomogeneity of a selected region is reduced is calculated, shimming is performed for the selected region using the calculated local Bo shimming current, and then an increment (RF-Phase) in an irradiation phase of an RF pulse that excites the selected region in a state where static magnetic field inhomogeneity of the selected region is reduced or a post-adjustment excitation frequency (f0′) that is an excitation frequency is calculated. These increments (RF-Phase) in an irradiation phase and post-adjustment excitation frequency (f0′) that is an excitation frequency correspond with each other in amount.