Cancer Research UK logo.
SearchDonate
  • Search

Tests and scans

ECG (electrocardiogram)

An ECG is a test to check the electrical activity of your heart. It can show changes to your heart rate or rhythm and tell your doctor how well your heart is working.

ECG stands for electrocardiogram. You might also hear this test called a heart trace. An ECG can give your doctor a lot of information about your heart. It can help the doctor decide if you need further tests.

Having an ECG

To have the test, a trained healthcare professional puts small sticky pads on your chest, arms and legs. These sticky pads are called electrodes. Wires connect these to an ECG recording machine. These wires are called ECG leads. There are usually 10 small sticky pads and wires in total. The different wires look at the heart activity from different places.   

The ECG machine shows your heartbeat as an electrical trace on a screen. Your doctor can see the heartbeat and rhythm on a TV screen or print it out on paper.  

Below is a picture of an ECG printed on paper.

Diagram showing an ECG printed on paper.

You might have an ECG in a clinic, on a ward or in a GP surgery. It takes about 5 minutes. The electrodes and wires must be in the correct place, so it can sometimes take a little longer.  A trained healthcare assistant, nurse or doctor does the ECG for you.

Having a portable ECG

Some people need to have an ECG machine on for monitoring for a day or longer. This means they have a portable machine that they can carry around. This is an ambulatory ECG machine. This test has fewer ECG sticky pads and leads. It can show changes in your heart that might happen at different times of the day. 

A healthcare professional will show you how to look after the machine. They will also explain how long you need this for and when to return the machine. A specialist will then look at the results. 

You are not able to have a bath or shower when you are wearing your portable ECG machine.

Why do I need an ECG?

You might have an ECG:

  • before and during some cancer treatments that may affect your heart. This is so your doctor can check for any changes

  • if you become unwell during cancer treatment

  • before or during an operation or test that may affect the heart

  • if you have a heart condition that needs monitoring

  • if you are taking part in a clinical trial

How do you have an ECG?

Preparation

There is no special preparation before an ECG. The person doing the ECG will explain what will happen. You can ask any questions you may have about the test.

You usually remove or loosen some of your clothes on the top half of your body. You may need to remove your shoes, socks or bra.

You lie on a couch, flat or slightly upright. If you have a lot of chest hair this may be shaved. These preparations allow the sticky pads to make good contact with the skin. The pads need to be in certain positions. It may take a few minutes to get the pads and ECG leads in the right places.

You can have a chaperone in the room while you have your ECG. A chaperone is another staff member from the clinic. It’s up to you whether you decide to have one or not. Ask for a chaperone if this is what you want and it hasn’t been offered.

During the ECG

You have the test in a private and quiet area. This may be in a separate room or behind curtains.

The person doing the tests places the sticky pads across your chest, with one pad on each wrist and ankle. They connect the ECG leads to the sticky pads.

Photo showing a women having an ECG.

When the ECG machine is ready, they press a button to get a trace of your heart. You won’t feel anything. You should relax and lie still to make sure the test is accurate.

Photo showing a nurse doing an ECG.

After the test

After the test the leads from the pads are unclipped. You can then remove the sticky pads.

You can get dressed and return home or to work.

Getting your results

You might get your results the same day or within 1 to 2 weeks. This depends on how quickly your doctor needs the results.

Ask your doctor or nurse how long it will take to get them.

Are there any risks having an ECG?

An ECG is a safe test. You might have some discomfort when you remove the sticky pads.

More information

We have more information on tests, treatment and support if you have been diagnosed with cancer.

Find information on your cancer type

Last reviewed: 31 Mar 2025

Next review due: 31 Mar 2028

Tests and scans

Find out about tests to diagnose cancer and monitor it during and after treatment, including what each test can show, how you have it and how to prepare.

General cancer information

Find out about possible causes of cancer, how cancer starts and grows, tests to diagnose it, and general information about treatments.

Your cancer type

Search for the cancer type you want to find out about. Each section has detailed information about symptoms, diagnosis, treatment, research and coping with cancer.

The Dangoor Education logo.

Dangoor Education

About Cancer generously supported by Dangoor Education since 2010. Learn more about Dangoor Education

Patient Information Forum. Trusted Information Creator.
Plain English Campaign award.

Help and Support

An icon of a hand shake.

Questions for your doctor

What to ask your doctor about clinical trials.

An icon of two speech bubbles, indicating a conversation.

Cancer chat forum

Meet and chat to other cancer people affected by cancer.

An icon of a landline phone.

Nurse helpline

Questions about cancer? Call freephone 0808 800 40 40 from 9 to 5 - Monday to Friday. Alternatively, you can email us.