Medical Encyclopedia › E › Electrocardiogram (ECG)
An electrocardiogram (ECG) records the electrical activity of the heart through electrodes placed on the skin. It is painless, takes only a few minutes and is one of the most important basic tests for heart rhythm problems, chest pain and suspected heart attack.
How is an ECG done?
For a standard resting ECG you lie relaxed on your back. One electrode is placed on each arm and leg and six more on the chest wall. From these the machine calculates twelve leads that view the heart from different angles. No current is applied – the device only measures the tiny voltages the heart produces itself.
What does the trace show?
| Section | Meaning |
|---|---|
| P wave | Activation of the atria |
| QRS complex | Activation of the ventricles |
| ST segment and T wave | Recovery (repolarisation) of the ventricles |
The shape, intervals and rhythm of the waves reveal heart rate, rhythm, conduction problems such as AV block, and signs of reduced blood flow, thickened heart muscle or electrolyte disturbances.
When is it used?
For palpitations, skipped beats, dizziness or fainting, for chest pain, before operations and to monitor medicines that affect heart rhythm. If a heart attack is suspected, European guidelines call for an ECG within ten minutes of first medical contact.
Limits of the resting ECG
A normal resting ECG does not rule out heart disease, because it is only a snapshot. Infrequent rhythm problems are more likely to be caught by a 24-hour (Holter) recording, and exertion-related blood flow problems by an exercise ECG. Smartwatches can also record single leads; abnormal findings should be confirmed by a doctor.
Frequently asked questions
Can an ECG show a heart attack?
Often yes: typical changes, for example in the ST segment, point to an acute heart attack. A normal ECG does not rule one out, however, so blood tests such as troponin are also done.
Do I need to prepare for an ECG?
No special preparation is needed. The upper body must be uncovered, and ideally no creams or lotions should be on the skin so that the electrodes stick well.
What is the difference between a resting, exercise and Holter ECG?
A resting ECG is a snapshot taken lying down. An exercise ECG records the heart during physical effort, and a Holter ECG usually over 24 hours or longer during daily life.
Related terms
- Exercise ECG
- Myocardial infarction (heart attack)
- Arrhythmia
- AV block
- Extrasystole
- Cardiac conduction system
- Bradycardia
- Chest pain
Test your knowledge: questions on laboratory values, organs, diseases and more – from beginner to exam level.
Go to the Medical QuizSources
- 2023 ESC Guidelines for the management of acute coronary syndromes
- 2024 ESC Guidelines for the management of atrial fibrillation
- German Cardiac Society (DGK)
This entry is for general information only and does not replace medical advice. Last updated: November 2026.