Written by: Tomasz Sadowski
This article is for educational purposes and reflects information from the 2021 AHA/ACC chest-pain evaluation guideline, clinician-reviewed patient-education resources, and national health-service guidance. It is not a substitute for individualised medical advice, diagnosis, or treatment. If you are experiencing chest pain right now — particularly with shortness of breath, sweating, nausea, or pain spreading to your arm, neck, or jaw — stop reading and call your local emergency number immediately.
tl:dr
A sudden electric-shock-like sensation in the chest can have many causes, from harmless muscle twitches to cardiac emergencies — here is how to tell the difference:
- If you have chest pain right now with shortness of breath, sweating, nausea, or pain spreading to your arm, neck, or jaw — call your local emergency number immediately. Do not wait to finish reading this article (S4).
- Brief, sharp, localised chest pain that lasts seconds, changes with posture or breathing, and occurs without other symptoms is often non-cardiac — commonly precordial catch syndrome, chest-wall muscle spasm, or nerve irritation (S1)(S2).
- Anxiety and panic attacks can produce sharp, jolt-like chest sensations alongside palpitations, breathlessness, and dizziness; most episodes are not life-threatening but should be evaluated if frequent or prolonged (S5).
- Heart attacks can present with sharp, stabbing, or electric-like pain — especially in women, older adults, and people with diabetes — so "sharp" does not automatically mean "not cardiac" (S1).
- Any new, changing, or persistent chest pain warrants medical evaluation, even if it feels brief or positional (S1)(S4).
Table of contents
- Is this an emergency? When to call for help immediately
- What causes an electric-shock-like feeling in the chest?
- How can you tell if chest pain is cardiac or not?
- How do doctors evaluate chest pain?
- What happens if the cause is non-cardiac?
- Frequently asked questions
- Sources
Electric Shock Feeling in Chest: Causes, Cardiac vs. Non-Cardiac, and When to Act
Is this an emergency? When to call for help immediately
The red-flag symptoms
This section comes first deliberately. If you are reading this because you are experiencing chest pain right now, check for the following features before reading further (S4):
Call your local emergency number (999 in the UK, 911 in the US, 112 in the EU) if your chest pain is accompanied by any of these: shortness of breath or difficulty breathing; sweating, clamminess, or feeling cold and clammy; nausea or vomiting; pain, pressure, or discomfort spreading to the left arm, both arms, neck, jaw, or back; lightheadedness, dizziness, or feeling like you might faint; a sense of crushing, squeezing, or heavy pressure rather than (or in addition to) the sharp or electric quality (S4).
Also call emergency services if the pain is severe and does not go away within a few minutes, or if it started during physical exertion and persists after stopping (S4).
These features can indicate a heart attack (acute coronary syndrome) or another life-threatening cardiac event. Heart attacks do not always present as the classic "crushing chest pressure" seen in films. They can present with sharp, stabbing, or electric-shock-like pain — particularly in women, older adults, and people with diabetes, who more often experience atypical symptoms (S1). The 2021 national chest-pain-evaluation guideline explicitly notes that atypical or changing chest pain still requires risk-stratified workup and should not be dismissed based on pain character alone (S1).
What to do while waiting for help
If you have called for emergency assistance: sit down in a comfortable position (often leaning slightly forward). If you have been prescribed nitroglycerin, use it as directed. If you are not allergic to aspirin and have access to it, chew one regular (300 mg) or four low-dose (75 mg) aspirin tablets, unless you have been told not to take aspirin (S4). Do not drive yourself to hospital. Stay as calm as possible and wait for the emergency team.
What causes an electric-shock-like feeling in the chest?
Most episodes of brief, sharp, electric-shock-like chest pain are not caused by the heart. The common non-cardiac causes involve the chest wall, the nerves, or the stress response. Understanding these can reduce unnecessary anxiety — but only after cardiac causes have been appropriately considered or excluded.
Precordial catch syndrome (Texidor's twinge)
Precordial catch syndrome is one of the most common causes of sudden, sharp, localised chest pain, particularly in teenagers and young adults — though it can occur at any age (S1)(S2). The pain is typically felt in a very small area (often near the left nipple or along the lower left chest wall), lasts seconds to a few minutes, is made worse by breathing in, and resolves spontaneously — often with a sudden "pop" or with a deep breath.
The cause is not fully understood but is thought to relate to a transient irritation or spasm involving the pleura (the membrane lining the chest cavity) or the intercostal muscles and nerves between the ribs (S2). It is not related to exertion, does not produce the systemic symptoms of a cardiac event (no sweating, no nausea, no radiation to the arm), and does not leave any lasting effects.
The 2021 chest-pain guideline notes that sharp, fleeting, positional chest pain lasting only seconds, limited to a small area, and unaffected by exertion is among the pain features less typical of myocardial ischaemia (S1). This does not mean it is impossible for such pain to be cardiac — only that the probability is lower when all of these features are present in an otherwise low-risk individual.
Precordial catch syndrome does not require treatment. It resolves on its own. But it should be diagnosed by a clinician rather than self-diagnosed, because the differential diagnosis of sharp chest pain includes conditions that do require treatment (S1)(S2).
Chest-wall muscle spasm
The chest wall contains layers of muscle — the intercostals (between the ribs), the pectorals (overlying the ribs), and deeper respiratory muscles. These muscles can spasm, strain, or become inflamed, producing sharp, sometimes electric-like pain that is localised, reproducible with pressure or movement, and not associated with exertion or systemic symptoms (S2).
Musculoskeletal chest pain is one of the most common causes of chest discomfort in outpatient and emergency settings (S2). It is characterised by pain that is reproducible — meaning the clinician can recreate it by pressing on the affected area of the chest wall — and that changes with body position, arm movement, or breathing depth. These features help distinguish it from cardiac pain, which is typically not reproducible with palpation (S1)(S2).
Common triggers include heavy lifting, sudden twisting, prolonged poor posture, coughing fits, and exercise involving the upper body. The pain can be acute (sudden onset) or chronic (ongoing for weeks), and it ranges from mild to quite severe. Despite being non-cardiac, it can be alarming — particularly when it occurs on the left side and mimics the location people associate with heart problems.
Nerve irritation and thoracic neuropathic pain
Nerves that run along and between the ribs (intercostal nerves) can become irritated, compressed, or inflamed, producing sharp, shooting, or electric-shock-like pain that follows the path of the affected nerve — often wrapping from the back around the side of the chest to the front (S2).
This type of pain — neuropathic in origin — has a distinctive quality: it is often described as burning, stabbing, or electric, and it may come in brief, intense jolts. It can be triggered by certain movements, deep breathing, or pressure on the affected area. Conditions that can cause it include shingles (herpes zoster), thoracic spine problems, costochondritis (inflammation of the cartilage connecting ribs to the breastbone), and post-surgical nerve irritation (S2).
Neuropathic chest pain is not cardiac, but it can closely mimic cardiac pain in terms of location and intensity. Distinguishing the two often requires clinical assessment — including checking for the characteristic dermatomal distribution (pain following a nerve path) and skin changes (in the case of shingles).
Anxiety and panic attacks
Anxiety and panic attacks are among the most common non-cardiac causes of chest pain seen in emergency departments (S5). During a panic attack, the body's sympathetic nervous system activates — producing a surge of adrenaline that increases heart rate, tightens chest muscles, and alters breathing patterns. The result can include sharp, jolt-like chest pain, palpitations (a pounding or fluttering sensation in the chest), chest tightness, shortness of breath, dizziness, tingling in the hands or face, and a sense of impending doom (S5).
These symptoms can be indistinguishable from a cardiac event based on sensation alone. A person having a panic attack may genuinely believe they are having a heart attack — and the fear itself worsens the symptoms, creating a feedback loop.
Most anxiety-related chest episodes are not life-threatening (S5). However, for YMYL purposes, the critical point is this: if chest pain accompanies anxiety, especially with red-flag features (radiation to the arm or jaw, sweating, nausea, or breathlessness that does not improve with breathing exercises), it should be treated as a possible cardiac event until proven otherwise (S1)(S4). "It's probably just anxiety" is not a safe assumption to make outside a clinical setting.
Frequent or prolonged palpitations — even when suspected to be anxiety-related — warrant evaluation, because some arrhythmias (abnormal heart rhythms) produce symptoms similar to panic and may need treatment (S5).
Cardiac causes — why "sharp" doesn't rule out the heart
This is the most important misconception to correct: the widespread belief that "sharp" or "stabbing" chest pain is always non-cardiac. It is not.
The 2021 chest-pain guideline recognises that acute coronary syndrome (heart attack) can present with a wide range of pain characters, including sharp, stabbing, and atypical patterns (S1). Women, older adults, and people with diabetes are particularly likely to present with atypical symptoms — pain that is sharp rather than pressure-like, pain in the jaw or back rather than the chest, or even chest discomfort with nausea and fatigue as the dominant symptoms rather than classic crushing pain (S1).
This means that the character of the pain alone — sharp versus dull, brief versus prolonged — is not sufficient to determine whether it is cardiac. The clinical assessment integrates pain character with risk factors (age, smoking status, diabetes, hypertension, cholesterol, family history), associated symptoms (breathlessness, sweating, nausea), and objective tests (ECG, troponin) to stratify risk (S1). Dismissing sharp chest pain as "definitely not cardiac" based on its quality is a dangerous oversimplification.
How can you tell if chest pain is cardiac or not?
Features that make cardiac cause less likely
Certain pain features are associated with a lower probability of ischaemic heart disease, though none of them rule it out entirely (S1)(S2):
The pain is very brief — lasting only seconds rather than minutes. It is highly localised — you can point to it with one finger. It changes with body position or breathing depth. It is reproducible — pressing on the chest wall reproduces the exact pain. It is unaffected by physical exertion. There are no associated symptoms — no breathlessness, sweating, nausea, or radiation to other areas. The person is young, has no cardiovascular risk factors, and has no family history of early heart disease.
When all of these features are present together in a low-risk individual, the probability of a cardiac cause is low — but not zero (S1). Clinical assessment is still the appropriate way to confirm this, rather than self-reassurance.
Features that increase concern
Conversely, certain features raise the probability that chest pain is cardiac or otherwise serious and needs urgent evaluation (S1)(S4):
The pain is new — you have never had this type of sensation before. It lasts more than a few minutes, or it comes and goes over hours. It is accompanied by shortness of breath, sweating, nausea, vomiting, or lightheadedness. It radiates — spreading to the left arm, both arms, the neck, jaw, or back. It occurs during or after physical exertion. The person has cardiovascular risk factors: age over 40, diabetes, hypertension, high cholesterol, smoking, or a family history of heart disease. There is a change in pattern — pain that used to occur only with exertion now occurs at rest, or mild pain that has become severe.
Any of these features warrants medical evaluation — urgently if multiple are present simultaneously (S1)(S4).
Why self-diagnosis is unreliable for chest pain
The reason this article cannot tell you whether your specific chest sensation is cardiac or not is that no written description can replace the clinical tools needed to answer that question. An ECG can detect electrical abnormalities in the heart. A troponin blood test can detect whether heart-muscle cells have been damaged. A physical examination can identify reproducible chest-wall tenderness. A history taken by a clinician can integrate dozens of data points — your age, sex, risk factors, medication use, symptom timeline, associated symptoms — into a risk assessment.
None of these can be done by reading an article. What an article can do — and what this one aims to do — is help you decide whether to seek evaluation and how urgently. The decision framework is simple: if in doubt, get checked. The cost of an unnecessary emergency-department visit is an inconvenient few hours. The cost of a missed heart attack is potentially fatal.
How do doctors evaluate chest pain?
The initial assessment
The clinical evaluation of chest pain begins with a focused history: when the pain started, how it feels, where it is, what makes it better or worse, whether it has happened before, and what other symptoms are present. A physical examination includes checking vital signs (blood pressure, heart rate, oxygen saturation), listening to the heart and lungs, and palpating the chest wall for tenderness (S1)(S2).
This initial assessment helps the clinician form a probability estimate — is this likely cardiac, possibly cardiac, or probably non-cardiac? — which guides the subsequent investigations.
ECG and troponin testing
For anyone presenting with acute chest pain where a cardiac cause has not been excluded, the standard initial tests are an electrocardiogram (ECG) and cardiac troponin blood tests (S1).
The ECG records the heart's electrical activity and can detect patterns consistent with a heart attack in progress (such as ST-segment elevation) or other abnormalities (arrhythmias, conduction problems, signs of prior heart damage). It is quick, non-invasive, and can be done within minutes of arrival.
Cardiac troponin is a protein released into the blood when heart-muscle cells are damaged. Elevated troponin levels — particularly when they rise over serial measurements taken hours apart — are the gold-standard biomarker for acute myocardial injury (S1). High-sensitivity troponin assays can detect very small amounts of heart-muscle damage and have significantly improved the speed and accuracy of heart-attack diagnosis.
If both the ECG and serial troponin measurements are normal, and the clinical picture is consistent with a non-cardiac cause, the probability of acute coronary syndrome drops substantially (S1). This does not mean the pain was "nothing" — but it means the most dangerous possibility has been effectively excluded.
Further investigations if needed
Depending on the initial results and the clinical picture, further investigations may include (S1):
A chest X-ray — to check for lung problems (pneumothorax, pneumonia, pleural effusion) that can cause chest pain. An echocardiogram — an ultrasound of the heart to assess its structure and function. Stress testing — either exercise-based or pharmacological — to check for ischaemia that may not be apparent at rest. Coronary CT angiography — a detailed scan of the coronary arteries to detect narrowing or blockages.
For patients assessed as low-risk after initial evaluation — meaning the ECG is normal, troponin is negative, and the clinical picture is consistent with a non-cardiac cause — further cardiac testing may not be needed (S1). The guideline explicitly notes that among clinically stable patients with low cardiovascular risk (30-day risk of death or major adverse cardiac events less than 1%), additional urgent cardiac testing may not be required (S1).
What happens if the cause is non-cardiac?
Reassurance and explanation
If the evaluation excludes a cardiac cause and identifies a musculoskeletal, neuropathic, or anxiety-related explanation, the most important intervention is a clear explanation (S2). Understanding that the pain is not coming from the heart — and knowing what it is coming from — often resolves the fear that drives repeated emergency visits and ongoing anxiety about the symptom.
For precordial catch syndrome, the explanation is simple: it is a benign condition that does not damage the heart and does not require treatment. For chest-wall muscle pain, simple analgesia (paracetamol or ibuprofen, if appropriate), posture correction, and gentle stretching may help. For nerve-related pain, the approach depends on the cause — shingles-related pain, for example, may benefit from antiviral and neuropathic-pain medications (S2).
For anxiety-related chest pain, addressing the underlying anxiety — through cognitive behavioural strategies, breathing techniques, physical activity, and, if needed, professional mental-health support — is the most effective long-term approach (S5).
When follow-up is still needed
Even when the initial evaluation is reassuring, follow-up is appropriate if (S1)(S2)(S5):
The pain recurs frequently or changes in character. New symptoms develop — particularly breathlessness, palpitations, or exertional limitation. Risk factors change — for example, a new diagnosis of hypertension or diabetes. The initial episode was evaluated in a rushed or incomplete setting and the patient or clinician feels the workup was insufficient.
The message is not "one normal ECG means you never need to worry again." It is: the acute event has been assessed, the dangerous possibility has been excluded for now, and ongoing monitoring or re-evaluation is appropriate if anything changes.
Frequently asked questions
Is an electric shock feeling in the chest a heart attack?
Usually not — but it can be. Most brief, sharp, localised chest pain that lasts seconds and changes with posture is non-cardiac (S1)(S2). However, heart attacks can present with sharp or electric-like pain, especially in women, older adults, and people with diabetes (S1). If accompanied by breathlessness, sweating, nausea, or arm/jaw pain, call emergency services (S4).
What is precordial catch syndrome?
A benign condition causing sudden, sharp, localised chest pain lasting seconds to minutes, often triggered by posture or breathing (S1)(S2). Most common in young people. Does not worsen with exertion and resolves on its own. Not dangerous but should be confirmed by excluding other causes (S1).
Can anxiety cause electric-shock feelings in the chest?
Yes. Panic attacks can produce sharp, jolt-like chest sensations, palpitations, tightness, and breathlessness (S5). Most episodes are not life-threatening. However, if chest pain accompanies anxiety with red-flag symptoms, treat as a possible cardiac event until evaluated (S1)(S5).
Should I go to the ER for a brief sharp chest pain?
If the pain is new, severe, or accompanied by breathlessness, sweating, nausea, lightheadedness, or radiation to arm/neck/jaw — yes, go or call emergency services (S4). If brief, isolated, and without other symptoms, schedule a doctor's appointment for evaluation (S1).
What tests are done for chest pain?
Initial evaluation includes history, ECG, and serial cardiac troponin blood tests to rule out heart-muscle damage (S1). Further tests may include chest X-ray, echocardiogram, stress testing, or coronary CT angiography depending on the clinical picture (S1).
Sources
- [S1] Gulati M, et al. "2021 AHA/ACC/ASE/CHEST/SAEM/SCCT/SCMR Guideline for the Evaluation and Diagnosis of Chest Pain." Circulation, 2021;144(22):e368–e454. DOI: 10.1161/CIR.0000000000001029.
- [S2] Cleveland Clinic. "Musculoskeletal Chest Pain." 2025-03-24. https://my.clevelandclinic.org/health/symptoms/musculoskeletal-chest-pain.
- [S4] Mayo Clinic / AHA. "Chest pain: First aid." 2024-05-07. https://www.mayoclinic.org/first-aid/first-aid-chest-pain/basics/art-20056705. Also: NHS. "Chest pain." https://www.nhs.uk/symptoms/chest-pain/.
- [S5] AHA. "How serious are heart palpitations? Causes, symptoms and when to worry." 2026-02-08. https://www.heart.org/en/news/2026/02/09/how-serious-are-heart-palpitations-causes-symptoms-and-when-to-worry.



