Pain in the chest near your heart can come from your heart itself, but it can also come from your lungs, digestive system, chest wall muscles, or even anxiety. In a large study of over 8 million patients who visited emergency departments for chest pain, only about 38% were diagnosed with a serious heart condition. Another third had heart-related but less urgent causes, and the remaining third had nothing to do with the heart at all. That means the majority of people with chest pain are not having a heart attack, but the sensation still deserves attention because the serious causes can be life-threatening.
When It’s Actually Your Heart
Heart-related chest pain generally falls into two categories: angina (reduced blood flow to the heart muscle) and a heart attack (blocked blood flow that damages heart tissue). Angina feels like pressure, tightness, or squeezing in the center of your chest. Stable angina follows a predictable pattern, showing up during exercise or stress and fading within a few minutes once you rest. If you’ve had it for at least two months in the same pattern, you can usually anticipate when it will happen.
Unstable angina is different and more dangerous. It doesn’t follow a pattern, can strike without physical exertion, and rest or medication may not relieve it. The pain is often stronger or lasts longer than what you’re used to. Unstable angina is a medical emergency because it can signal that a heart attack is imminent.
A heart attack itself typically feels like intense pressure, squeezing, or aching in the chest. The pain often spreads to the shoulder, arm, back, neck, jaw, or teeth. You may also experience cold sweats, sudden dizziness, nausea, shortness of breath, or unusual fatigue. Many people have warning signs hours or even weeks before a heart attack, usually in the form of recurring chest pressure that doesn’t resolve with rest. Women are more likely to have atypical symptoms like brief, sharp pain in the neck, arm, or back rather than the classic heavy chest pressure.
Pericarditis: Sharp Pain That Changes With Position
The heart sits inside a thin, two-layered sac. When that sac becomes inflamed, the condition is called pericarditis, and it produces sharp, stabbing chest pain that can easily be confused with a heart attack. The key difference is how the pain responds to body position. Pericarditis pain typically worsens when you sit up straight, inhale deeply, or cough, and it eases when you lean forward. That positional quality is a strong clue that the pain is coming from the inflamed tissue surrounding the heart rather than from blocked arteries inside it.
Digestive Causes That Mimic Heart Pain
Your esophagus runs directly behind your heart, so problems there can produce sensations that feel identical to cardiac pain. Acid reflux is the most common culprit. The burning sensation rises from the stomach into the chest and can be intense enough that people genuinely believe they’re having a heart attack.
Esophageal spasms are another source of confusion. These are sudden, involuntary contractions of the muscles in your esophagus that cause squeezing chest pain lasting anywhere from a few minutes to several hours. The pain can feel exactly like angina. Certain triggers make spasms more likely, including very hot or cold drinks and red wine. If your chest pain tends to appear after eating or drinking specific things and comes with difficulty swallowing, the esophagus is a likely source. In studies of patients with chest pain, about two-thirds had some form of esophageal reflux or abnormal esophageal movement, showing just how common this overlap is.
Chest Wall and Muscle Pain
Costochondritis is inflammation of the cartilage connecting your ribs to your breastbone. It’s one of the most common non-cardiac causes of chest pain, and it can be surprisingly intense. The defining feature is that the pain is reproducible with touch. If pressing on your chest wall with your fingers makes the pain worse, or if you can pinpoint the exact spot that hurts, that strongly suggests a musculoskeletal cause rather than a heart problem. A healthcare provider diagnoses costochondritis largely by pressing along your ribs and chest to locate the tenderness. The conditions that cause heart attacks do not cause costochondritis, so while it can be alarming, it is not dangerous.
Lung Problems That Cause Chest Pain
Pleurisy occurs when the two thin layers of tissue separating your lungs from your chest wall become inflamed. Normally these layers glide smoothly past each other as you breathe, lubricated by a thin layer of fluid. When they’re inflamed, they rub together like sandpaper, causing sharp pain that intensifies every time you inhale or exhale. A useful test: if holding your breath makes the pain stop or significantly lessen, the source is likely the lining around your lungs rather than your heart. A pulmonary embolism, which is a blood clot in the lung, can also cause sudden chest pain that worsens with breathing and is a medical emergency.
Anxiety and Panic Attacks
Panic attacks produce chest tightness, a racing heart, and shortness of breath that can be genuinely indistinguishable from a cardiac event, even for doctors. Hyperventilation during a panic attack can actually cause changes on an electrocardiogram that look like reduced blood flow to the heart, leading to results that mimic a heart problem on testing. Research has found significant overlap between cardiac, digestive, and psychological causes of chest pain in the same patients. One study found that among people with chest pain, about half scored outside normal ranges on psychological testing, while two-thirds also had esophageal abnormalities. Multiple causes can coexist in one person, which makes sorting out the true source especially tricky.
If you’ve been told your heart is structurally healthy and you notice that chest tightness comes with a surge of fear, tingling in your hands, or a feeling of unreality, a panic attack is a strong possibility. That said, people with panic disorder can also have genuine coronary artery abnormalities, so a history of anxiety does not automatically rule out a cardiac cause.
Red Flags That Call for Immediate Help
Call 911 if your chest pain is severe, new, or unexplained and lasts more than a few moments. Other signs that warrant an emergency call include pain that spreads to your arm, jaw, neck, or back, chest pressure accompanied by cold sweats or nausea, sudden shortness of breath, and lightheadedness or dizziness alongside the pain. Don’t hesitate out of fear that it might turn out to be nothing. Even if the cause ends up being non-cardiac, chest pain that feels alarming needs evaluation right away because the serious possibilities are time-sensitive. Minutes matter during a heart attack, and early treatment dramatically improves outcomes.
How Doctors Figure Out the Cause
When you arrive at an emergency department or clinic with chest pain, the first priority is ruling out a heart attack. The primary tool for this is a blood test that measures a protein called troponin, which heart muscle cells release when they’re damaged. Modern high-sensitivity versions of this test can detect very small amounts of heart injury. The threshold for what counts as abnormal varies by the specific test used and by sex, with women having lower normal ranges than men. Results from this blood test, combined with an electrocardiogram and your description of the pain, usually give a clear picture within hours.
If heart damage is ruled out, providers work through the other possibilities based on your symptoms. Pain that’s reproducible with pressure on the chest wall points to costochondritis. Pain that worsens with breathing suggests a lung issue. Pain connected to meals or certain drinks raises suspicion for an esophageal cause. The pattern of when your pain appears, what makes it better or worse, and what other symptoms accompany it are often more revealing than any single test.

