An ECG (electrocardiogram) is a test that records the electrical activity of your heart, including the rate and rhythm. It's usually quick and painless.
You'll usually have an ECG (electrocardiogram) if a doctor or healthcare professional thinks you're having symptoms of:
You also may have an ECG: