Skip navigation

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

URL of this page: https://medlineplus.gov/lab-tests/electrocardiogram/

Electrocardiogram

What is an electrocardiogram (EKG) test?

An electrocardiogram (EKG) test is a simple, painless, and quick test that records your heart's electrical activity. Each time your heart beats, an electrical signal travels through your heart. The signal triggers your heart's four chambers to contract (squeeze) in the proper rhythm so that your heart can pump blood to your body.

An EKG recording of these signals looks like wavy lines. Your provider can read these lines to look for abnormal heart activity that may be a sign of heart disease or damage.

An EKG can show:

  • How fast your heart is beating
  • Whether the rhythm of your heartbeat is steady or irregular
  • The strength and timing of the electrical signals passing through each part of your heart

Sometimes information from an EKG can help measure the size and position of your heart's chambers.

An EKG is often the first test you'll have if you have signs of a heart condition. It may be done in your provider's office, an outpatient clinic, in a hospital before surgery, or as part of another heart test called a stress test.

An EKG test is also called an ECG. EKG is based on the German spelling, elektrokardiogramm. EKG may be preferred over ECG to avoid confusion with an EEG, a test that measures brain waves.

Other names: ECG test, Holter monitor, ambulatory electrocardiography, continuous electrocardiograms, transtelephonic event monitors

What is it used for?

An EKG test is used to help diagnose and monitor many types of heart conditions and their treatment. These conditions include:

EKG tests are mainly used for people who have symptoms of a heart condition or have already been diagnosed with a heart condition. They are not generally used to screen people who don't have symptoms unless they have an increased risk of developing heart disease. Your provider can explain your risk for heart disease and let you know if need to have an EKG test. In certain cases, your provider may have you see a cardiologist, a doctor who specializes in heart diseases.

Why do I need an EKG test?

You may need an EKG test if you have symptoms of a heart condition, including:

You may also need an EKG to:

  • Find out if you had a heart attack in the past but didn't know it
  • Monitor your heart if you have a known heart condition
  • Check how well your heart treatment is working, including medicine and/or a pacemaker
  • Check your heart health:
    • Before having surgery
    • If you have an increased risk for developing heart disease because:
      • Heart disease runs in your family
      • You have another condition, such as diabetes, that makes your risk higher than normal

What happens during an EKG test?

An EKG test only takes a few minutes. It generally includes these steps:

  • You will lie on an exam table.
  • A provider will place several electrodes (small sensors that stick to your skin) on your arms, legs, and chest. The provider may need to shave body hair to make sure the electrodes stay on.
  • The electrodes are attached by wires to a computer or a special EKG machine
  • You will lie very still while your heart's electrical activity is recorded on a computer or printed on paper by an EKG machine.

Will I need to do anything to prepare for the test?

You don't need any special preparations for an EKG test.

Are there any risks to the test?

There is very little risk to having an EKG. You may feel a little discomfort or skin irritation after the electrodes are removed. The EKG doesn't send any electricity to your body. It only records electrical signals from your heart, so there's no risk of electric shock.

What do the results mean?

Your provider will check your EKG results for a steady heartbeat and rhythm. If your results are not normal, it may be a sign of a heart condition. The specific condition depends on which part of your EKG wasn't normal.

You may need to have other heart health tests before your provider can make a diagnosis. Your provider can explain what your test results mean for your heart health and treatment.

Learn more about laboratory tests, reference ranges, and understanding results.

Is there anything else I need to know about an EKG?

An EKG is a "snapshot" of your heart's activity over a very short time. If you have heart symptoms that come and go, a regular EKG may not catch the problem. In that case, your provider may recommend that you wear a small portable EKG monitor that can record your heart for days or longer while you do your normal activities. You may also need a longer EKG recording if your provider wants to check how well your heart is working after a heart attack or to see if treatment is helping you.

There are many types of long-term EKG monitors. The two main groups are Holter monitors, which can be worn for up to two days, and event monitors, which may record your heart activity for weeks to years depending on the type.

A Holter monitor is about the size of a small camera. You usually wear it on a belt or strap around your neck for a day or two. Wires under your clothes attach to electrodes that stick to your chest. The monitor records your heart's electrical signals the whole time you're wearing it. You may be asked to keep a diary of your symptoms during the test period. After the test period, you remove the monitor and return it according to the instructions. A provider will review the recording of your heart's electrical activity from the monitor.

An event monitor records your heart's electrical activity when you press a button or when the device detects abnormal heart activity. There two main types of event monitors:

  • Event monitors that you wear or carry with you. You wear some monitors on your chest or wrist. Other monitors are designed to carry. If you have symptoms, you hold the monitor to your chest. These event monitors may be used for weeks to months. Some of them wirelessly transmit information about your heart to a provider. Others must be returned so a provider can examine the recorded information.
  • Event monitors that are inserted under the skin of your chest. These are called implantable event monitors. They are put under your skin during minor surgery that's often done in a doctor's office. These monitors can track your heart's electrical activity for years. You may need this type of EKG monitor if you had a stroke or frequent fainting, and your provider hasn't found the cause. Implantable monitors wirelessly transmit the information they record so your provider can regularly check it.

References

  1. AAFP [Internet]. Leawood (KS): American Academy of Family Physicians; c2022. Choosing Wisely®Annual EKGs for Low-risk Patients; [cited 2022 Nov 4]; [about 4 screens]. Available from: https://www.aafp.org/family-physician/patient-care/clinical-recommendations/all-clinical-recommendations/cw-ekg.html
  2. American Heart Association [Internet]. Dallas (TX): American Heart Association Inc.; c2022. Electrocardiogram (ECG or EKG); [reviewed 2015 Jul 31; cited 2022 Oct 20]; [about 4 screens]. Available from: http://www.heart.org/en/health-topics/heart-attack/diagnosing-a-heart-attack/electrocardiogram-ecg-or-ekg
  3. Christiana Care Health System [Internet]. Wilmington (DE): Christiana Care Health System; EKG; [cited 2022 Oct 20]; [about 4 screens]. Available from: https://christianacare.org/us/en/care/heart-and-vascular-care/cardiovascular-imaging/ekg
  4. Cleveland Clinic: Health Library: Diagnostics & Testing [Internet]. Cleveland (OH): Cleveland Clinic; c2022. Electrocardiogram (EKG); [reviewed 2022 May 13; cited 2022 Nov 4]; [about 9 screens]. Available from: https://my.clevelandclinic.org/health/diagnostics/16953-electrocardiogram-ekg
  5. Cleveland Clinic: Health Library: Diagnostics & Testing [Internet]. Cleveland (OH): Cleveland Clinic; c2022. Cardiac Event Monitor; [reviewed 2022 Jun 11; cited 2022 Nov 4]; [about 10 screens]. Available from: https://my.clevelandclinic.org/health/diagnostics/23272-cardiac-event-monitor
  6. Johns Hopkins Medicine [Internet]. The Johns Hopkins University, The Johns Hopkins Hospital, and Johns Hopkins Health System; c2022. Health, Treatments, Tests, and Therapies: Event Monitor; [cited 2022 Nov 4]; [about 5 screens]. Available from: https://www.hopkinsmedicine.org/health/treatment-tests-and-therapies/event-monitor
  7. KidsHealth from Nemours [Internet]. The Nemours Foundation; c1995–2022. ECG (Electrocardiogram); [cited 2022 Oct 20]; [about 2 screens]. Available from: https://kidshealth.org/en/parents/ekg.html
  8. Mayo Clinic [Internet]. Mayo Foundation for Medical Education and Research; c1998–2022. Electrocardiogram (ECG or EKG): About; [cited 2022 Oct 20]; [about 7 screens]. Available from: https://www.mayoclinic.org/tests-procedures/ekg/about/pac-20384983
  9. Mayo Clinic [Internet]. Mayo Foundation for Medical Education and Research; c1998–2022. Holter Monitor; [cited 2022 Nov 4]; [about 7 screens]. Available from: https://www.mayoclinic.org/tests-procedures/holter-monitor/about/pac-20385039
  10. Mayo Clinic [Internet]. Mayo Foundation for Medical Education and Research; c1998–2022. Electrocardiogram (ECG or EKG), Implantable Loop Recorder: A heart monitoring device; [cited 2022 Nov 4]; [about 1 screens]. Available from: https://www.mayoclinic.org/tests-procedures/implantable-loop-recorder/pyc-20384986
  11. Merck Manual Consumer Version [Internet]. Kenilworth (NJ): Merck & Co., Inc.; c2022. Electrocardiography (ECG; EKG); [revised 2021 Jul; cited 2022 Oct 20]; [about 2 screens]. Available from: https://www.merckmanuals.com/home/heart-and-blood-vessel-disorders/diagnosis-of-heart-and-blood-vessel-disorders/electrocardiography
  12. National Heart, Lung, and Blood Institute [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; Heart Tests; [updated 2022 Mar 24; cited 2022 Oct 20]; [about 19 screens]. Available from: https://www.nhlbi.nih.gov/health/heart-tests
  13. National Heart, Lung, and Blood Institute [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; How the Heart Works: How the Heart Beats; [updated 2022 Mar 24; cited 2022 Oct 20]; [about 6 screens]. Available from: https://www.nhlbi.nih.gov/health/heart/heart-beats
  14. Seconds Count [Internet]. Washington D.C.: The Society for Cardiovascular Angiography and Interventions; Diagnosing a Heart Attack; 2014 Nov 4 [cited 2022 Oct 20]; [about 4 screens]. Available from: http://www.secondscount.org/heart-condition-centers/info-detail-2/diagnosing-heart-attack
  15. UF Health: University of Florida Health [Internet]. Gainesville (FL): University of Florida Health; c2022. Electrocardiogram: Overview; [reviewed 2020 Jul 7; cited 2022 Oct 20]; [about 2 screens]. Available from: https://ufhealth.org/electrocardiogram
  16. UF Health: University of Florida Health [Internet]. Gainesville (FL): University of Florida Health; c2022. Cardiac Event Monitors; [reviewed 2020 Dec 7; cited 2022 Nov 4]; [about 4 screens]. Available from: https://ufhealth.org/cardiac-event-monitors
  17. UF Health: University of Florida Health [Internet]. Gainesville (FL): University of Florida Health; c2022. Holter Monitor (24 h); [reviewed 2020 Jul 7; cited 2022 Nov 4]; [about 4 screens]. Available from: https://ufhealth.org/holter-monitor-24h
  18. University of Rochester Medical Center [Internet]. Rochester (NY): University of Rochester Medical Center; c2022. Health Encyclopedia: Electrocardiogram; [cited 2020 Oct 20]; [about 6 screens]. Available from: https://www.urmc.rochester.edu/encyclopedia/content.aspx?contenttypeid=92&contentid=P07970
  19. UPMC Children's Hospital of Pittsburgh [Internet]. Pittsburgh: UPMC; c2022. Electrocardiogram (EKG or ECG); [cited 2022 Oct 20]; [about 4 screens]. Available from: http://www.chp.edu/our-services/heart/patient-procedures/ekg

The information on this site should not be used as a substitute for professional medical care or advice. Contact a health care provider if you have questions about your health.