We have developed a Magnetic Resonance Imaging (MRI)-compatible system to enable gating of a scanner to the heartbeat of a foetus for cardiac, umbilical cord flow and other possible imaging applications. We performed radiofrequency safety testing prior to a fetal electrocardiogram (fECG) gated imaging study in pregnant volunteers (n = 3). A compact monitoring device with advanced software capable of reliably detecting both the maternal electrocardiogram (mECG) and fECG simultaneously was modified by the manufacturer (Monica Healthcare, Nottingham, UK) to provide an external TTL trigger signal from the detected fECG which could be used to trigger a standard 1.5 T MR (GE Healthcare, Milwaukee, WI, USA) gating system with suitable attenuation. The MR scanner was tested by triggering rapidly during image acquisition at a typical fetal heart rate (123 beats per minute) using a simulated fECG waveform fed into the gating system. Gated MR images were also acquired from volunteers who were attending for a repeat fetal Central Nervous System (CNS) examination using an additional rapid cardiac imaging sequence triggered from the measured fECG. No adverse safety effects were encountered. This is the first time fECG gating has been used with MRI and opens up a range of new possibilities to study a developing foetus.