A method for correcting image artifacts during the acquisition of magnetic resonance imaging data includes the following steps. At least one part of the linear, location-dependent and spatially constant interference fields arising at the measurement location is determined in a time interval between an excitation point in time and a MR data acquisition point in time.