A static magnetic field correction method for correcting a static magnetic field of a magnetic resonance imaging apparatus comprising a static magnetic field generating unit, a shim coil unit comprising a number of shim coils, and a supply unit which supplies the shim coils with currents, said method comprising the steps of: measuring a spatial magnetic field distribution of the static magnetic field generated by the static magnetic field generating unit; expanding the spatial magnetic field distribution into first- to nth-order static magnetic field components, whereby n is a natural number of more than one; setting a threshold for magnetic field correction amounts for each of the first- to nth-order static magnetic field components to be corrected to a value corresponding to the maximum current value the supply unit can apply to a respective corresponding one of the shim coils of the shim coil unit or to a value slightly smaller than that value; determining an initial magnetic field correction amount for each of the first- to nth-order static magnetic field components on the basis of the spatial magnetic field distribution (Sa1, Sa2); identifying each one of the initial magnetic field correction amounts that exceeds its threshold; determining final magnetic field correction amounts for each of the first- to nth-order static magnetic field components; wherein the final magnetic field correction amounts are determined by: setting the final magnetic field correction amounts to a value of zero for each one of the identified initial magnetic field correction amounts that exceeds its threshold, and calculating the final magnetic field correction amounts for the static magnetic field components other than the ones set to zero on the basis of the spatial magnetic field distribution (Sa6, Sa7), such that the determined final magnetic field correction amounts consist of the final magnetic field correction amounts with the value of zero for each one of the identified initial magnetic field correction amounts that exceeds its threshold, and the calculated final magnetic field correction amounts; and generating correction magnetic fields to correct the static magnetic field on the basis of the determined final correction amounts via the supply unit and shim coil unit. measuring a spatial magnetic field distribution of the static magnetic field generated by the static magnetic field generating unit; expanding the spatial magnetic field distribution into first- to nth-order static magnetic field components, whereby n is a natural number of more than one; setting a threshold for magnetic field correction amounts for each of the first- to nth-order static magnetic field components to be corrected to a value corresponding to the maximum current value the supply unit can apply to a respective corresponding one of the shim coils of the shim coil unit or to a value slightly smaller than that value; determining an initial magnetic field correction amount for each of the first- to nth-order static magnetic field components on the basis of the spatial magnetic field distribution (Sa1, Sa2); identifying each one of the initial magnetic field correction amounts that exceeds its threshold; determining final magnetic field correction amounts for each of the first- to nth-order static magnetic field components; wherein the final magnetic field correction amounts are determined by: setting the final magnetic field correction amounts to a value of zero for each one of the identified initial magnetic field correction amounts that exceeds its threshold, and calculating the final magnetic field correction amounts for the static magnetic field components other than the ones set to zero on the basis of the spatial magnetic field distribution (Sa6, Sa7), such that the determined final magnetic field correction amounts consist of the final magnetic field correction amounts with the value of zero for each one of the identified initial magnetic field correction amounts that exceeds its threshold, and the calculated final magnetic field correction amounts; and setting the final magnetic field correction amounts to a value of zero for each one of the identified initial magnetic field correction amounts that exceeds its threshold, and calculating the final magnetic field correction amounts for the static magnetic field components other than the ones set to zero on the basis of the spatial magnetic field distribution (Sa6, Sa7), such that the determined final magnetic field correction amounts consist of the final magnetic field correction amounts with the value of zero for each one of the identified initial magnetic field correction amounts that exceeds its threshold, and the calculated final magnetic field correction amounts; and generating correction magnetic fields to correct the static magnetic field on the basis of the determined final correction amounts via the supply unit and shim coil unit.