An electrocardiogram records the electrical signals in your heart. It's a common test used to detect heart problems and monitor the heart's status in many situations. Electrocardiograms — also called ECGs or EKGs — are often done in a doctor's office, a clinic or a hospital room. And they've become standard equipment in operating rooms and ambulances.

An ECG is a noninvasive, painless test with quick results. During an ECG, sensors (electrodes) that can detect the electrical activity of your heart are attached to your chest and sometimes your limbs. These sensors are usually left on for just a few minutes.

Your doctor may discuss your results with you the same day as your electrocardiogram or at your next appointment.

Other types of heart rhythm monitoring

If you have a heart rhythm irregularity that tends to come and go, it may not be captured during the few minutes a standard ECG is recording. In this case your doctor may recommend another type of heart rhythm monitor.

  • Holter monitor. A Holter monitor is a small, wearable device that records a continuous ECG, usually for 24 to 48 hours. Wires from electrodes on your chest go to a battery-operated recording device carried in your pocket or worn on a belt or shoulder strap. While you're wearing the monitor, you'll be able to go about your normal activities, as long as you keep the electrodes and device dry. In addition, your doctor will likely ask you to keep a diary of what you're doing when symptoms occur and the time. Your doctor will compare the diary with the electrical recordings to try to figure out the cause of your symptoms.
  • Event monitor. If your symptoms don't occur often, your doctor may suggest that you wear an event monitor. This portable device is similar to a Holter monitor, but it records only at certain times for a few minutes at a time. And you can wear it longer than a Holter monitor, typically 30 days.

    With many event monitors, you activate them by pressing a record button when you have symptoms or a fast heart rate. Other monitors automatically sense abnormal heart rhythms and then start recording. You then send the ECG readings to your doctor through your phone. He or she uses the recorded electrical signals to look at your heart rhythm at the time of your symptoms.

  • Stress test. If your symptoms occur most often during exercise, your doctor may ask you to walk on a treadmill or ride a stationary bike during an ECG. This is called a stress test. If you have a medical condition that makes it difficult for you to exercise, your doctor may inject you with a drug that mimics the effect of exercise on your heart.
  • Implantable loop recorder. This is a continuous heart rhythm monitoring device. Like a Holter monitor, it continuously records your heart rhythms, but for a much longer time. An implantable loop recorder is inserted under the skin in the chest area during minor surgery and can be left in place for up to three years.

How it works

Each beat of your heart is triggered by an electrical impulse normally generated from special cells in the upper right chamber of your heart (pacemaker cells). An electrocardiogram records the timing and strength of these signals as they travel through your heart.

An electrocardiogram is also called a 12-lead EKG or 12-lead ECG because it gathers information from 12 different areas of the heart. These views are created by electrodes, typically 10, placed on the skin of your chest and sometimes your limbs. The electrical activity is recorded as waves on a graph, with different patterns corresponding to each electrical phase of your heartbeat.

A standard ECG can record an abnormal heart rhythm only if it happens during the test. Some abnormal heart rhythms come and go, so your doctor may have you undergo a different type of heart rhythm monitoring, such as with a Holter monitor, to help diagnose the cause of your symptoms.

Mayo Clinic's approach

Feb. 02, 2017
  1. Electrocardiogram. National Heart, Lung, and Blood Institute. http://www.nhlbi.nih.gov/health/health-topics/topics/ekg. Accessed Aug. 12, 2016.
  2. Stress testing. National Heart, Lung, and Blood Institute. http://www.nhlbi.nih.gov/health/health-topics/topics/stress/. Accessed Aug. 12, 2016.
  3. Goldman L, et al., eds. Electrocardiography. In: Goldman-Cecil Medicine. 25th ed. Philadelphia, Pa.: Saunders Elsevier; 2016. https://www.clinicalkey.com. Accessed Aug. 12, 2016.
  4. AskMayoExpert. Ambulatory heart rhythm monitoring. Rochester, Minn.: Mayo Foundation for Medical Education and Research; 2016.
  5. Barbara Woodward Lips Patient Education Center. Supraventricular tachycardia (SVT). Rochester, Minn.: Mayo Foundation for Medical Education and Research; 2012.
  6. Chou R. Cardiac screening with electrocardiography, stress echocardiography, or myocardial perfusion imaging: Advice for high-value care from the American College of Physicians. Annals of Internal Medicine. 2015;162:438.
  7. Asirvatham SJ, et al. Electrocardiogram mapping-reentry: Final frontier? Circulation: Arrhythmia and Electrophysiology. 2014;7:760.
  8. Pfenninger JL, et al. Office electrocardiograms. In: Pfenninger and Fowler's Procedures for Primary Care. 3rd ed. Philadelphia, Pa.: Elsevier; 2011. https://www.clinicalkey.com. Accessed Aug. 12, 2016.
  9. Chen YH, et al. Soft, comfortable polymer dry electrodes for high quality ECG and EEG recording. Sensors. 2014;14:23758. http://www.ncbi.nlm.nih.gov/pmc/articles/PMC4299086/. Accessed Aug. 12, 2016.
  10. Nestler DM, et al. Impact of prehospital electrocardiogram protocol and immediate catheterization team activation for patients with ST-elevation-myocardial infarction. Circulation Cardiovascular Quality outcomes. 2011;4:640.
  11. Gibbons RJ, et al. Use of echocardiography in Olmsted County Outpatients with chest pain and normal resting electrocardiograms seen at Mayo Clinic Rochester. Mayo Clinic Proceedings. 2015;90:1492.
  12. What causes an arrhythmia? National Heart, Lung, and Blood Institute. http://www.nhlbi.nih.gov/health/health-topics/topics/arr/causes. Accessed Oct. 7, 2016.
  13. Riggin EA. Allscripts EPSi. Mayo Clinic, Rochester, Minn. July 28, 2016.
  14. Riggin EA. Allscripts EPSi. Mayo Clinic, Rochester, Minn. Sept. 29, 2016.
  15. Murphy JG, et al., eds. Indications for invasive and noninvasive electrophysiologic testing. In: Mayo Clinic Cardiology: Concise Textbook. 4th ed. New York, N.Y.: Oxford University Press; 2013.
  16. Gerstenfeld EP, et al. Atrial fibrillation ablation: Indications, emerging techniques and follow-up. Progress in Cardiovascular Diseases. 2015;58:202.