For the generation of a magnetic resonance (MR) image of a predetermined volume segment of a living subject, a tracking factor is determined for each of different regions of the volume segment, from which the position of the respective region can be determined depending on a position of a moving area of the subject. MR image data of the volume segment are acquired for different positions of the moving area. The position of the moving area is calculated depending on the position and the tracking factor of the respective region, and the MR image data of the respective region are reconstructed using the MR image data of the volume segment corresponding to the calculated position of the moving area. The MR image of the predetermined volume segment is generated as a combination of the constructed MR image data of the regions.