This article is free to read. Creating a lesson uses your daily or stored credits; review the language and settings before starting.
How does an ECG work?
Quick answer
An ECG works by detecting the small voltages that heart muscle cells produce as they depolarise and repolarise with every beat. Electrodes on the skin pick up these signals, a machine amplifies them, and a moving trace shows the timing and shape of each electrical wave.
An ECG records the heart's electrical activity by placing electrodes on the skin, which detect tiny voltage changes each time the heart muscle depolarises and repolarises. The resulting trace shows the timing and rhythm of each heartbeat, letting doctors spot abnormal rhythms, reduced blood supply or damaged muscle.
Step by step
- Electrodes are placed on the arms, legs and chest, where salty skin and body fluids conduct electricity.
- Each heartbeat starts in the sinoatrial node, which sends an electrical impulse across the atria.
- The impulse spreads to the ventricles, causing them to contract and pump blood out.
- The electrodes detect these voltage changes and send them to the ECG machine.
- The machine amplifies the signal and draws it as a series of waves on paper or a screen.
- A trained reader interprets the wave shapes, heights and spacing to assess heart function.
Key things to understand
- Heart muscle cells generate electrical impulses that spread through the heart in a fixed sequence with each beat.
- Electrodes stuck to the arms, legs and chest pick up these tiny voltages because salty body fluids conduct electricity.
- The machine amplifies the signal and draws it as a moving line of waves on paper or a screen.
- The P wave marks the electrical signal spreading through the atria, the QRS complex through the ventricles, and the T wave their electrical recovery.
- Doctors read the shape, spacing and height of these waves to judge heart rate, rhythm and possible damage.
Labelled diagram
- Electrodes
Sticky pads on skin pick up tiny voltages from the heart.
- SA node
Natural pacemaker fires and starts each heartbeat's electrical wave.
- Signal spread
Impulse travels through atria and ventricles, making them contract.
- Amplifier
Machine boosts the weak signal so it can be recorded clearly.
- Trace
Moving line shows P, QRS and T waves for each beat.
Real-world examples
- A hospital emergency department runs an ECG within minutes of a patient arriving with chest pain.
- A routine check-up may include an ECG to screen for irregular heart rhythms in older adults.
- Athletes sometimes have an ECG before competing to check for hidden heart conditions.
- A wearable heart monitor records a continuous ECG over a day to catch occasional rhythm problems.
Common mistake
✗ Myth: An ECG sends electricity into the body to shock the heart into beating.
✓ Fact: An ECG only records the heart's own electrical signals; it does not deliver any current. A defibrillator is the device that sends a controlled shock, and it is used separately.
People also ask
What does an ECG actually measure?
How many electrodes are used in an ECG?
Why is an ECG done during exercise?
Why do you have to lie still during an ECG?
Is an ECG painful or dangerous?
What is the difference between an ECG and an echocardiogram?
Can an ECG detect a heart attack?
Part of the guide: How Your Body Works →

