Sharp chest pains are surprisingly common, and more than 60% of people who go to the emergency room for chest pain turn out to have a non-cardiac cause. That doesn’t mean chest pain should be ignored, but it does mean the sharp, stabbing sensation you’re feeling is more likely coming from your chest wall, lungs, digestive tract, or stress response than from your heart. Understanding what different types of chest pain feel like, and what makes them better or worse, can help you figure out what’s going on.
Heart Problems Usually Don’t Feel Sharp
This is one of the most useful things to know: heart attacks and other serious cardiac events typically produce pressure, tightness, squeezing, or a crushing sensation, not a sharp stab. People having a heart attack often describe it as an unrelenting heaviness or fullness in the chest. The pain may radiate into the jaw, arm, or back, and it doesn’t change when you shift position or take a breath.
Sharp, stabbing pain that lasts a few seconds, gets worse when you breathe in, or changes when you move is far more likely to come from structures around the heart rather than the heart itself. That said, one cardiac condition does cause sharp pain: pericarditis, which is inflammation of the thin sac surrounding the heart. Pericarditis pain is felt behind the breastbone or on the left side of the chest, gets worse when you cough, lie down, or take a deep breath, and gets better when you sit up or lean forward. If leaning forward reliably eases your pain, that positional clue is worth mentioning to your doctor.
Costochondritis: The Most Overlooked Cause
Costochondritis is inflammation of the cartilage connecting your ribs to your breastbone. It’s one of the most common reasons for sharp chest pain, and many people have never heard of it. The pain is typically sharp or aching, affects the left side of the breastbone, and can radiate into your arms and shoulders. It gets worse when you take a deep breath, cough, sneeze, or twist your upper body. Pressing on the sore spot near your breastbone usually reproduces the pain, which is a strong sign that the problem is musculoskeletal rather than cardiac.
Costochondritis can develop after a respiratory illness with heavy coughing, a chest injury, heavy lifting, or sometimes for no clear reason at all. It tends to resolve on its own over several weeks, though it can linger. Anti-inflammatory pain relievers and gentle stretching are the usual approach.
Precordial Catch Syndrome
If you’re under 30 and get sudden, needle-like stabs in your chest that vanish within seconds to three minutes, you may be experiencing precordial catch syndrome (sometimes called Texidor’s twinge). It most commonly affects children as young as six and young adults into their early twenties. The pain typically hits at rest, often while slouching, and feels worse with breathing in. It’s completely harmless and has no association with heart or lung disease. Many people outgrow it entirely. No treatment is needed, and the episodes tend to stop on their own.
Lung-Related Causes
Pleurisy is inflammation of the thin double-layered membrane surrounding your lungs. When those two layers swell and rub against each other, the friction produces a sharp, localized pain every time you inhale or exhale. The sensation often worsens with coughing, sneezing, or moving your upper body, and it can spread to your shoulders or back. A telling feature: the pain lessens or stops entirely when you hold your breath. Pleurisy can follow a respiratory infection, pneumonia, or other lung conditions, and it requires medical evaluation to identify and treat the underlying cause.
A collapsed lung (pneumothorax) is less common but also produces sudden, sharp chest pain alongside shortness of breath. This is more urgent and warrants immediate medical attention.
Digestive Causes That Mimic Heart Pain
Your esophagus runs right behind your heart, so problems there can feel alarmingly cardiac. Esophageal spasms are painful, uncoordinated contractions of the muscular tube connecting your mouth to your stomach. They produce sudden, intense chest pain that can last minutes to hours. Many people mistake them for heart pain or severe heartburn. The spasms are related to abnormal nerve signaling in the muscles that coordinate swallowing, and they’re sometimes triggered by very hot or cold liquids, red wine, or specific foods.
Acid reflux can also cause sharp or burning pain behind the breastbone, especially after meals or when lying down. If your chest pain tends to follow eating, comes with a sour taste, or improves with antacids, your digestive tract is a likely culprit.
Anxiety and Panic Attacks
Anxiety is a genuine, physiological cause of chest pain. When your body enters a stress response, it floods your bloodstream with adrenaline and cortisol. Your heart rate spikes, your breathing quickens, and the muscles between your ribs (the intercostal muscles) can tense and spasm. That combination produces real, physical chest pain that can feel sharp, tight, or stabbing. Hyperventilation during a panic attack also changes the carbon dioxide levels in your blood, which can intensify the sensation.
Anxiety-related chest pain often comes with other symptoms like tingling in the hands, dizziness, a racing heart, or a sense of dread. It typically peaks within 10 to 20 minutes and fades as the stress response calms. If you notice your chest pain coincides with periods of high stress or anxiety, that pattern itself is diagnostic information worth sharing with a healthcare provider.
What Doctors Check For
When you see a doctor for chest pain, the first priority is ruling out life-threatening causes. An electrocardiogram (ECG) checks your heart’s electrical activity and can reveal if you’re having or have had a heart attack. Blood tests look for specific proteins that leak into the bloodstream when heart muscle is damaged. A chest X-ray shows the condition of your lungs and the size and shape of your heart, helping to diagnose pneumonia or a collapsed lung.
If those initial tests come back normal but concerns remain, further testing might include a CT scan to look for blood clots in the lungs, an echocardiogram (an ultrasound of the heart) to watch how blood moves through your heart and valves, or a stress test to see how your heart responds to exercise. The specific tests depend on your symptoms, age, and risk factors.
When Sharp Chest Pain Is an Emergency
Call emergency services if your chest pain comes with any of the following: pressure or squeezing that doesn’t let up, pain radiating to your arm, jaw, or back, shortness of breath, lightheadedness or fainting, nausea or cold sweats, or a sudden feeling that something is seriously wrong. Women are more likely than men to experience non-chest symptoms during a heart attack, including nausea, back pain, and unusual fatigue, which can delay recognition.
The 2025 guidelines from the American Heart Association and American College of Cardiology recommend calling 911 rather than driving yourself, because paramedics can perform an ECG on the way to the hospital and alert the cardiac team before you arrive. For certain types of heart attacks, every minute of delay matters. If there’s any doubt, err on the side of getting checked. The majority of people evaluated for chest pain are sent home with a non-cardiac diagnosis, and that’s a perfectly fine outcome.

