An electrocardiogram (ECG) is a medical test that detects cardiac (heart) abnormalities by measuring the electrical activity generated by the heart as it contracts. The machine that records the patient’s ECG is called an electrocardiograph. The electrocardiograph records the electrical activity of the heart muscle and displays this data as a trace on a screen or on paper. This data is then interpreted by a medical practitioner.
ECGs from normal, healthy hearts have a characteristic shape. Any irregularity in the heart rhythm or damage to the heart muscle can change the electrical activity of the heart so that the shape of the ECG is changed. A doctor may recommend an ECG for patients who may be at risk of heart disease because there is a family history of heart disease, or because they smoke, are overweight, or have diabetes, high cholesterol or high blood pressure.