An ECG test (electrocardiogram, also called EKG) is a quick, painless test that records the electrical signals of your heart. Doctors use it to check your heart rate and rhythm, look for signs of a past or current heart attack and find the cause of symptoms such as chest pain or palpitations. This guide explains why an ECG is done, what happens during the test, the types of heart rhythm monitoring, and what the results can show, based on the Mayo Clinic and MedlinePlus.
Key points at a glance
- An ECG records the heart's electrical activity through sticky patches (electrodes) on your skin.
- It usually takes only a few minutes, needs no special preparation and carries very little risk.
- It can show irregular heartbeats and signs of a heart attack, but it cannot diagnose a condition on its own.
- An abnormal ECG may lead to other tests such as an echocardiogram.
What Is an ECG Test and Why Is It Done?
The Mayo Clinic describes an ECG as a quick test to see how the heart is beating. It can help find irregular heartbeats (arrhythmias), a previous heart attack, the cause of chest pain such as a blocked or narrowed heart artery, and how well a pacemaker or other heart treatment is working. Doctors may order it for chest pain, dizziness, a pounding or fluttering heartbeat, a fast pulse, shortness of breath, weakness or reduced ability to exercise. See also chest pain: heart or gas, heart palpitations causes and atrial fibrillation symptoms.

An ECG records the heart's electrical signals and helps your doctor decide what to do next.
What does an ECG measure?
According to MedlinePlus, the recording shows three parts: the P wave (upper chambers), the QRS complex (lower chambers) and the T wave (recovery after a beat). It shows heart rate, whether the rhythm is steady or irregular, and the timing and strength of signals through the heart. MedlinePlus adds that an ECG is not generally used to screen people without symptoms unless they have a higher risk of heart disease.
How Is an ECG Test Done?

An ECG is quick and painless, and no electricity enters your body.
The Mayo Clinic says you do not need to prepare for an ECG, but you should tell your care team about all medicines, over-the-counter drugs and supplements you take, because some can affect results. MedlinePlus advises not to stop any medicine unless your provider tells you to. You lie on an exam table, and the test uses up to 12 sticky patches with sensors placed on the chest and sometimes the arms or legs. Hair may be shaved where the patches go. You can breathe normally but should stay still and not talk. MedlinePlus says the test takes only a few minutes.
Is an ECG safe?
Yes. The Mayo Clinic says there is no risk of electric shock during the test, and MedlinePlus says the machine only records and sends no electricity into your body. Some people may have a slight rash or discomfort where the patches were removed. Unless you need urgent treatment, you can usually return to daily activities afterwards.
Types of Heart Rhythm Monitoring

Longer monitors help when a rhythm problem comes and goes.
A standard ECG is done in a clinic, hospital or ambulance. If your symptoms come and go, your doctor may suggest a longer recording. The Mayo Clinic says a Holter monitor records your heartbeat for about 1 to 2 days during daily activities, and an event monitor records only at certain times, typically worn for about 30 days. Some smartwatches can take a simple ECG, but ask your doctor how to use such readings.
What Can ECG Results Show?
A healthcare professional reviews the waves for several things, according to the Mayo Clinic: unusually fast (tachycardia) or slow (bradycardia) heart rates, rhythm changes such as atrial fibrillation, signs of a current or past heart attack and the area that may be damaged, whether the heart is getting enough blood during chest pain, and clues to heart size and shape. An abnormal result may lead to further tests, such as an echocardiogram test or coronary angiography. Learn more about related conditions in heart attack symptoms, silent heart attack, pacemaker surgery and heart failure.
When to See a Cardiologist
See a doctor if you have repeated chest discomfort, a racing or irregular heartbeat, dizziness, breathlessness or unusual tiredness. Also review your risk factors such as high blood pressure and the lipid profile test, and read the signs of an unhealthy heart. Severe chest pain with sweating or breathlessness is an emergency, so go to the nearest hospital. See the warning signs of a cardiac emergency.
Heart Care in Jaipur
Dr. Prashant Dwivedi is an interventional and structural heart cardiologist practising at the Eternal Heart Care Centre and Research, Jaipur. A cardiologist reviews your ECG together with your symptoms and other tests. You can book an appointment. For sudden chest pain, go to the nearest hospital emergency.
Frequently Asked Questions
What is an ECG test used for?
An ECG helps find irregular heartbeats, signs of a previous heart attack, the cause of chest pain and how well a pacemaker or treatment is working, according to the Mayo Clinic.
Do I need to prepare for an ECG?
No special preparation is needed. Tell your care team about all medicines and supplements you take, and do not stop any medicine unless your provider says so.
How long does an ECG take?
MedlinePlus says the test takes only a few minutes.
Is an ECG painful or risky?
No. It records signals and sends no electricity into the body. You may feel slight discomfort or a mild rash where the patches were removed.
ईसीजी टेस्ट क्या होता है?
ईसीजी (इलेक्ट्रोकार्डियोग्राम) एक आसान और दर्द रहित जाँच है जो दिल की विद्युत गतिविधि को रिकॉर्ड करती है। इससे धड़कन की गति और लय, पुराने या वर्तमान हार्ट अटैक के संकेत और सीने में दर्द के कारण का पता लगाने में मदद मिलती है। यह जाँच कुछ ही मिनट में हो जाती है।
This article is for general educational purposes only and does not replace personal medical advice, diagnosis or treatment. Please consult a qualified cardiologist about your own condition. In an emergency, go to the nearest hospital.