An electrocardiogram (ECG) records the electrical activity of the heart. The heart produces tiny electrical impulses which spread through the heart muscle to make the heart contract. These impulses are detected by the ECG machine.
ECGs can find the cause of symptoms such as palpitations or chest pain. They are also done as part of routine tests - for example, before you have an operation.
The ECG test is painless and harmless. (The ECG machine records electrical impulses coming from your body - it does not put any electricity into your body.) Small metal electrodes are stuck on to your arms, legs and chest. Wires from the electrodes are connected to the ECG machine. The machine detects and amplifies the electrical impulses that occur at each heartbeat and records them on to a paper or computer. A few heartbeats are recorded from different sets of electrodes.
The test takes about five minutes to do.