Skip to main content



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 can be detected by the ECG machine. An ECG may be used to help find the cause of symptoms such as the feeling of a 'thumping heart' (palpitations) or chest pain. Sometimes it is done as part of routine tests - for example, for high blood pressure, or before an operation.

The ECG test is painless and harmless. (The ECG machine records electrical impulses coming from the body - it does not put any electricity into the body.)

Continue reading below

What does an electrocardiogram (ECG) show?

The electrodes placed on the different parts of the body detect electrical impulses coming from different directions within the heart. There are normal patterns for each electrode. Various heart disorders produce abnormal patterns. The heart disorders that can be detected include:

  • Abnormal heart rhythms. If the heart rate is very fast, very slow, or irregular. There are various types of irregular heart rhythm with characteristic ECG patterns.

  • A heart attack (myocardial infarction) and if it was recent or some time ago. Heart attacks cause damage to heart muscle and it heals with scar tissue. These can be detected by abnormal ECG patterns.

  • An enlarged heart. Basically, this causes bigger impulses than normal.

What does a normal ECG look like?

When reviewing an ECG, the healthcare professional will look at several different aspects.

These include the rate (how fast the heart is beating), the rhythm (whether the heartbeat is regular or irregular), the cardiac axis (direction of electrical spread within the heart), and an analysis of the different parts of the electrical wave.

The points of interest may vary depending on the reason for an ECG - for example, a doctor reviewing an ECG done in the emergency department for acute chest pain will be looking for signs of a heart attack. In contrast, for a routine ECG arranged by a GP who has noticed an irregular heartbeat, they may be particularly looking for an irregularity and absent P waves. These are a sign of atrial fibrillation, a common cause of heartbeat irregularities.

In recent years we have become more aware of the importance of the QT interval, the distance between two parts of the electrical wave. Some drugs should not be used if the patient has a prolonged QT interval and therefore this will usually be looked at when interpreting an ECG.

Continue reading below

How is an ECG done?

Small metal electrodes are stuck on to the 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.

How long does an ECG take?

The test takes about five minutes to do. Sometimes a small ECG machine can be worn for prolonged periods to see whether there is an irregular heart rhythm. This is called an ambulatory electrocardiogram.

Are there any risks with an ECG?

There are few, if any, risks related to an ECG. Some people may experience a skin rash where electrodes were placed, but this usually goes away without treatment.

An ECG only monitors the electrical activity of the heart. It does not emit any electricity and is therefore completely safe, even during pregnancy.

Is an ECG result always accurate?

Any test can have a false positive, or false negative result done. It is crucial that an ECG is read by a professional who has the skills to do so, so that they can interpret the trace in conjunction with the clinical history and examination. Some changes will have a significant impact on the need for future tests, or treatment, whereas others will be less important.

Further reading and references

Article history

The information on this page is written and peer reviewed by qualified clinicians.

symptom checker

Feeling unwell?

Assess your symptoms online for free