What Happens During an ECG and How to Prepare for the Test

An electrocardiogram (ECG or EKG) is a quick, painless test that records the electrical activity of your heart. During a standard resting ECG, you lie on an examination table while a healthcare professional attaches small sticky sensors called electrodes to your chest, arms, and legs. These sensors connect to a machine that records your heartbeat, usually within a few minutes. You generally do not need special preparation, although wearing comfortable clothing, avoiding skin lotions, and following any medication instructions can help the appointment go smoothly. The NHS and MedlinePlus describe the procedure as a straightforward test that does not send electricity into your body.

What Happens During an ECG Appointment?

A standard resting ECG is usually performed in a hospital, outpatient clinic, or doctor's office by a trained healthcare professional. The procedure does not involve needles, injections, or surgery. Its purpose is to record the electrical signals produced when your heart beats.

The process generally follows several steps.

1. Getting Ready for the Recording

When you arrive, the healthcare professional will explain the procedure and help you prepare. You will usually be asked to remove clothing from your upper body so the electrodes can be placed correctly. A private area may be provided for changing, and you may receive a hospital gown or covering.

You can tell the healthcare professional if you feel uncomfortable or would prefer another person to remain in the room. The NHS notes that you can request a chaperone, including someone you know or a trained member of staff.

2. Placing the Electrodes on Your Skin

The healthcare professional will attach several small, sticky patches called electrodes to specific areas of your body. For a standard 12-lead ECG, these are generally positioned across your chest and on your arms and legs.

The skin may be cleaned first to help the electrodes stick properly. If chest hair prevents good contact, a small area may need to be shaved or trimmed. Correct placement matters because the electrodes collect electrical signals from different directions, allowing the machine to produce a more useful recording.

According to MedlinePlus, the electrodes connect through wires to a recording machine that converts the heart's electrical signals into a series of wavy lines.

3. Recording Your Heart's Electrical Activity

Once the electrodes are attached, the healthcare professional connects them to the ECG machine. You will be asked to lie comfortably and remain as still as possible while the recording takes place.

The machine detects the electrical signals generated by each heartbeat and displays them as lines on a screen or printed paper. The recording may take only a few minutes.

Movement, muscle tension, and shivering can interfere with the quality of the recording. Remaining relaxed and still helps the healthcare professional obtain a clearer tracing. You may occasionally be asked to hold your breath briefly while the machine records.

The American Heart Association explains that an ECG measures the rate and rhythm of the heartbeat and the strength and timing of electrical signals passing through the heart.

4. Removing the Electrodes

After the recording is complete, the healthcare professional disconnects the wires and gently removes the sticky electrodes. You can then get dressed.

You might notice a slight pulling sensation as the patches come off, similar to removing an adhesive bandage. Some people experience temporary skin redness, irritation, or a small rash where the electrodes were attached.

According to the British Heart Foundation, a standard ECG is painless and normally takes only a few minutes. Most people can return to their usual activities immediately after the procedure.

What Does an ECG Machine Record?

An ECG records electrical activity rather than taking a picture of the heart. The electrical signals help the healthcare professional examine how the heartbeat is coordinated and how quickly the heart is beating.

The recording can provide information about:

  • Heart rate: How quickly the heart is beating.
  • Heart rhythm: Whether the heartbeat follows a regular pattern or appears irregular.
  • Electrical signal timing: How electrical impulses travel through different parts of the heart.
  • Electrical patterns: Changes that may be associated with certain heart conditions or previous heart damage.

The broader explanation of what an ECG can show and how to read it includes the different patterns that appear on the recording and how healthcare professionals evaluate them.

An ECG may help identify or monitor conditions such as irregular heart rhythms, coronary artery disease, and heart attacks. However, the tracing is only one part of a medical assessment. Healthcare professionals may consider symptoms, medical history, physical examination findings, and other investigations before reaching a conclusion.

How to Prepare for an ECG Before Your Appointment

Preparing for a standard resting ECG is usually simple. Most people do not need to fast or make major changes to their daily routine. A few practical steps can make the procedure more comfortable and help the electrodes remain securely attached.

Choose Comfortable Clothing

Wear clothing that is easy to remove from your upper body. A loose-fitting shirt or top can make it easier for the healthcare professional to access the areas where the electrodes need to be placed.

You may be asked to remove upper-body clothing temporarily during the recording. A gown or covering can help maintain your privacy.

Avoid Applying Lotions or Oils

Do not apply body lotion, moisturiser, oil, or talcum powder to the areas where electrodes will be attached before the test. These products may interfere with how well the sticky patches make contact with your skin.

Clean, dry skin generally makes electrode placement easier. The healthcare professional can also clean the necessary areas before starting the recording.

Tell the Healthcare Professional About Your Medicines

Some medicines and supplements may affect ECG findings. Inform the healthcare professional about everything you currently take, including prescription medicines, non-prescription products, and supplements.

Do not stop, skip, or change a prescribed medicine simply because you are having an ECG. Follow specific instructions from your healthcare professional if any medication adjustment is needed.

MedlinePlus guidance on ECG preparation specifically advises patients to tell their healthcare provider about their medicines and not discontinue them without instructions.

Ask Whether You Need to Follow Any Special Instructions

A routine resting ECG generally does not require fasting, although preparation can differ depending on the type of test. An exercise ECG, for example, may involve additional instructions because your heart activity is recorded while you exercise.

The NHS recommends avoiding a heavy meal and caffeine before an exercise ECG. Your healthcare professional can explain whether any particular food, drink, or activity restrictions apply to your appointment.

Tell the Staff About Any Concerns

Let the healthcare professional know if you feel anxious, have difficulty lying comfortably, or have concerns about removing clothing. You can also ask questions about electrode placement and request a chaperone if that would make you more comfortable.

Taking a moment to discuss these concerns before the recording begins can make the experience easier.

Does the Procedure Change for Different Types of ECG?

Not every ECG involves the same recording process. The standard resting ECG is the most familiar type, but healthcare professionals may recommend a longer recording or an exercise-based test depending on the information they need.

Resting ECG

A resting ECG records electrical activity while you lie down or remain comfortably still. Electrodes are attached to your chest, arms, and legs, and the machine records your heartbeat for a short period.

This is the type of procedure most people mean when they refer to having an ECG at a clinic or hospital.

Portable or Ambulatory ECG

A portable ECG records your heart's electrical activity over a longer period while you continue with your usual daily activities. Small electrodes are attached to your chest and connected to a portable recording device.

Some devices are worn for approximately 24 to 48 hours, while other monitoring arrangements may continue for longer. You may be asked to record when symptoms occur so the healthcare professional can compare them with the recorded heartbeat.

This type of recording may be useful when symptoms, such as palpitations or an irregular heartbeat, occur occasionally and are not present during a short resting ECG.

Exercise ECG

An exercise ECG, sometimes called a stress ECG, records your heart's electrical activity while you walk on a treadmill or pedal an exercise bike. The recording allows healthcare professionals to observe how your heart responds to increasing physical activity.

Electrodes remain attached during the exercise period, and the healthcare professional monitors your heart activity as the test progresses. The procedure may require additional preparation, including instructions about clothing, food, caffeine, and medicines.

The NHS description of ECG procedures explains how resting, portable, and exercise recordings differ.

What Happens After an ECG?

After a standard resting ECG, the electrodes are removed and you can usually leave the examination area. Because the test is non-invasive and does not involve giving electricity to the body, a recovery period is generally unnecessary.

The recorded tracing is reviewed by a healthcare professional. Depending on the healthcare setting and the type of ECG, the result may be available on the same day or may require additional time for review.

An ECG that looks different from the expected pattern does not automatically establish a particular heart condition. The healthcare professional considers the recording alongside your symptoms, medical history, examination findings, and other relevant information.

Sometimes, additional investigations are needed to understand a finding. These may include other heart tests or a longer period of heart rhythm monitoring.

A standard resting ECG also captures only a brief period of heart activity. If symptoms happen occasionally, the recording may not capture the electrical change occurring at that particular time. A healthcare professional may therefore consider a portable ECG monitor to collect information over a longer period.

You can learn how healthcare professionals interpret the reasons an ECG is ordered when deciding which findings and symptoms need further assessment.

When Should You Seek Medical Attention Instead of Waiting for an ECG?

A scheduled ECG appointment should not delay emergency medical care when potentially serious symptoms occur.

Seek emergency medical help if you experience chest discomfort or pressure, sudden shortness of breath, discomfort spreading to your arm, jaw, back, or neck, or sudden lightheadedness or fainting associated with possible heart attack symptoms.

The American Heart Association's information on heart attack warning signs advises seeking emergency assistance rather than waiting for symptoms to resolve.

If symptoms are persistent, recurring, or becoming more disruptive, contact a healthcare professional for appropriate assessment, even when they do not appear to require emergency care.