A method for recording magnetic resonance image data of a patient ventilated by means of a ventilation apparatus is provided. The method includes assigning influencing information describing the effect of a respiratory movement on the image data recording to pulse sequence information, determining a magnetic resonance protocol for actuating a magnetic resonance device and a ventilation protocol for actuating the ventilation apparatus, and coordinating with one another in time, taking into account the pulse sequence information together with the influencing information, an imaging objective and a ventilation requirement, and actuating the magnetic resonance device and the ventilation apparatus in a time-coordinated manner on the basis of the magnetic resonance protocol and the ventilation protocol.