العربية

Procedure7 min read

Electrocardiogram

ECGEKG

Organ or systemHeartOrgan
Detail level

A quick, painless test that records the heart's electrical activity through sticky electrodes on the skin. It shows heart rate and rhythm.

According to the NHLBI, the tracing reveals the speed of the heartbeat and whether the rhythm is regular or irregular, and the strength and timing of electrical signals in parts of the heart. MedlinePlus describes the recording as having three components: the P wave (activity of the upper chambers), the QRS complex (the lower chambers), and the T wave (recovery of the heart). A number of electrodes are placed on the chest, arms and legs and connected to a machine that records the activity. The NHS lists types: a resting ECG, a portable ECG worn for 24 to 48 hours and possibly up to 7 days, and an exercise ECG on a treadmill or bicycle.

The machine records electrical signals that are already there and does not send electricity into the body (NHLBI and MedlinePlus). MedlinePlus uses it to help diagnose and monitor arrhythmia, cardiomyopathy, coronary artery disease, heart attack and heart failure, to assess readiness for surgery and the effect of medicines, to monitor pacemakers and to detect previous undiagnosed heart attacks. For intermittent symptoms longer monitoring may be recommended: a Holter monitor for up to two days or an event monitor for weeks or years (MedlinePlus). Other heart tests may be requested to confirm the diagnosis when a result is abnormal. This page does not cover figures for sensitivity or accuracy.

What is it?

According to the NHLBI: an electrocardiogram (ECG or EKG) is a simple, painless test that detects and records the heart's electrical activity. It shows the speed of the heartbeat, whether the rhythm is regular or not, and the strength and timing of electrical signals in parts of the heart.

According to MedlinePlus the recording consists of the P wave (activity of the upper chambers), the QRS complex (the lower chambers), and the T wave (recovery of the heart).

Its types according to the NHS: a resting ECG where you stay still during the recording; a portable ECG usually worn for 24 to 48 hours and possibly up to 7 days with a device carried on a belt; and an exercise ECG in hospital while walking on a treadmill or riding a bicycle, usually taking between 40 and 60 minutes.

Why is it done?

According to MedlinePlus it is used to detect abnormal heart activity that may indicate disease or damage, and to help diagnose and monitor arrhythmia, cardiomyopathy, coronary artery disease, heart attack and heart failure. It is also used to assess readiness for surgery and the effect of medicines, to monitor pacemakers, and to detect previous undiagnosed heart attacks.

The NHS states that it is done when a heart attack, coronary artery disease or an irregular heartbeat is suspected, and also for people with a diagnosed heart condition or before or during certain medicines.

Sources23

Preparation

According to MedlinePlus: no special preparation is needed, but some medicines may affect the accuracy of the result, so tell your care provider about all your medicines and supplements and do not stop any medicine except on their instructions.

According to the NHS: wear clothes that are easy to remove, avoid moisturisers, oils and powder on the skin, and chest hair may need shaving. Before an exercise ECG avoid heavy meals and caffeine.

Sources23

How is it done?

According to the NHLBI: you lie still on a table, and a nurse or technician attaches several electrodes to the skin of the chest, arms and legs, and the skin may be shaved to attach them. The electrodes are connected by wires to a machine that records the electrical activity on graph paper or a computer, and are then removed after the test. The test takes minutes according to MedlinePlus.

In an exercise ECG, according to the NHS, the intensity of walking or cycling is gradually increased during the recording.

Understanding the result

According to MedlinePlus the care provider checks the regularity and rhythm of the heartbeat, and an abnormal result may indicate a heart condition but the diagnosis may need other heart tests. According to the NHS the result may arrive on the same day or after weeks depending on the type of ECG, and follow-up appointments may be needed.

Sources23

Risks and side effects

According to the NHLBI: there are no serious risks; the ECG does not give electric shocks, and a mild rash may appear where the electrodes were, which usually goes away without treatment. The NHS mentions possible mild skin irritation and slight discomfort when the stickers are removed.

Limits of the test

According to MedlinePlus the result alone may not be enough for a diagnosis and other heart tests are requested; and for intermittent symptoms longer monitoring may be recommended with a Holter monitor (up to two days) or an event monitor (weeks to years).

Sources2

After the test

Follow-up differs according to the result and condition, and is decided by the doctor; the NHS states that some conditions need a follow-up appointment. This page does not cover other details.

Sources3

When do you need urgent help?

Call emergency services now 998

  • Chest pain or pressure with shortness of breath, sweating or fainting may indicate a cardiac emergency; call an ambulance immediately and do not wait for the ECG appointment. The sources of this page do not specify a list of emergency symptoms, and this is a conservative general warning.23

See your doctor within days

  • If you have palpitations or intermittent symptoms, ask your doctor about longer monitoring (a Holter monitor or an event monitor) because a short ECG may not capture them.2

Educational content only — no diagnosis, and no substitute for a clinician.

Common questions

Is the ECG painful or does it cause a shock?

No; it is a recording device that does not give electric shocks, and a mild rash or discomfort may occur when the stickers are removed (NHLBI and NHS).13

Do I need preparation?

No special preparation is needed according to MedlinePlus, but tell the team about your medicines. Before an exercise ECG the NHS states avoiding heavy meals and caffeine.23

How long does it take?

A resting ECG takes minutes (MedlinePlus), an exercise ECG usually between 40 and 60 minutes (NHS), and a portable ECG 24 to 48 hours and possibly up to 7 days (NHS).23

Does a normal ECG rule out all heart problems?

This page does not give an accuracy figure. MedlinePlus states that an abnormal result may need other tests, and that intermittent symptoms may need longer monitoring; discuss the result with your doctor.2

Questions for your doctor

  • Why was the ECG requested in my case?
  • Is the result normal, and do I need additional heart tests?
  • Could my medicines affect the ECG?
  • Is an exercise ECG or portable monitoring suitable for me?

References

  1. 1
    NHLBI / NIH. Heart Tests. www.nhlbi.nih.gov/health/heart-tests
    Health agencies & guidelines · Accessed 2026-10-07
  2. 2
    MedlinePlus / NLM. Electrocardiogram (EKG). medlineplus.gov/lab-tests/electrocardiogram/
    Health agencies & guidelines · Accessed 2026-10-07
  3. 3 Health agencies & guidelines · Accessed 2026-10-07

Review status: Edited content · Last updated:

Change log
  • — Page created.

Educational content only — no diagnosis, and no substitute for a clinician.

Menu
Emergency numbers

This platform is educational and must not be relied on in emergencies. If a situation is serious, call emergency services now.

UAE numbers (Police 999, Ambulance 998, Civil Defence 997) are from the official UAE Government portal, checked on 7 October 2026: u.ae. For other countries, confirm the official number where you are; numbers can vary by region.

Arabic, English or abbreviation — e.g. kidney, HbA1c, diabetes

Explore what connects to this page