Skip to main content

Electrocardiogram

ECG

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.)

At a glance

  • An electrocardiogram (ECG) records the heart's electrical activity.

  • It can detect abnormal heart rhythms, past or present heart attacks, and an enlarged heart.

  • Small metal electrodes are placed on the chest and connected to an ECG machine.

  • The test usually takes about five minutes.

  • An ECG is a safe procedure with very few risks.

  • A healthcare professional interprets the ECG results in context with your medical history.

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.

Frequently asked questions

What is an ECG scan?

An electrocardiogram (ECG) is a test that detects the electrical impulses generated by the heart. It records these impulses to help identify various heart conditions.

How long does a typical ECG test take?

The standard ECG test usually takes about five minutes to complete. However, some types, like an ambulatory electrocardiogram, can involve wearing a smaller ECG machine for much longer periods to monitor heart rhythms over time.

Are there any risks associated with having an ECG?

An ECG is a very safe procedure with few risks. It purely monitors the electrical activity of your heart and does not emit any electricity. Some people might get a temporary skin rash where the electrodes were placed, but this usually clears up on its own. It is considered safe even during pregnancy.

How is an ECG performed on a woman?

An ECG is performed by attaching small metal electrodes to the chest and connecting them via wires to an ECG machine. This process is the same for both men and women.

Further reading and references

Continue reading below

About the authorView full bio

Author image

Dr Colin Tidy, MRCGP

General Practitioner, Medical Author

MBBS, MRCGP, MRCP (Paediatrics), DCH

Dr Colin Tidy is an NHS Doctor, based in Oxfordshire.

About the reviewerView full bio

Author image

Dr Hayley Willacy, FRCGP

General Practitioner, Medical Author

MBChB (1992), DRCOG, DFFP, MRCOG (Part 1) MRCGP (2007), DFSRH (2013), MSc - medical education (2020)

Dr Hayley Willacy was an NHS GP working in northwest England, who retired from clinical practice in 2022 after 30 years. 

Article history

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

flu eligibility checker

Ask, share, connect.

Browse discussions, ask questions, and share experiences across hundreds of health topics.

symptom checker

Feeling unwell?

Assess your symptoms online for free

Sign up to the Patient newsletter

Your weekly dose of clear, trustworthy health advice - written to help you feel informed, confident and in control.

Please enter a valid email address

By subscribing you accept our Privacy Policy. You can unsubscribe at any time. We never sell your data.