A new sensor principle for detection of patient movement in magnetic resonance imaging has been successfully applied for the reduction of motion artifacts. It uses a device that is already present in every MRI system, namely the rf coil. Patient movement within the coil causes changes in the rf impedance match of the coil, which can be measured as variations in the reflected rf power. The principle used for the detection of respiratory and cardiac motion is described, and experimental results measured with several coil arrangements are given. Images are presented which were acquired with respiratory gating derived from the rf body coil of a 2 Tesla whole body MRI system.