Why Does the Middle of My Chest Hurt & When to Worry

Pain in the middle of your chest can come from your heart, your digestive system, your chest wall, your lungs, or even stress and anxiety. Up to 60% of people who go to the emergency room for chest pain turn out to have a non-cardiac cause, so while it’s natural to worry about your heart first, the odds favor something less dangerous. That said, chest pain is one symptom you should never try to diagnose on your own if it’s severe, lasts more than five minutes, or comes with other warning signs.

Heart-Related Chest Pain

The cause most people fear first is a heart attack, and for good reason. Heart attack pain typically feels like pressure, squeezing, or fullness in the center of the chest. It can spread to the back, jaw, left arm, or occasionally the right arm. What distinguishes it from other causes is that the pain is usually severe, lasts longer than a few minutes, and does not improve with rest.

Angina, which is chest pain from reduced blood flow to the heart without actual heart damage, produces a similar sensation but tends to be milder. People often describe it as heaviness or discomfort rather than outright pain. It typically comes on during physical exertion or emotional stress and eases when you rest. If angina starts occurring at rest, becomes more frequent, or feels worse than usual, it may have shifted into unstable angina, which is treated as a medical emergency.

Women, older adults, and people with diabetes sometimes experience heart problems without classic chest pain. Women are more likely to notice shortness of breath, unusual fatigue, nausea, or pain in the neck, jaw, shoulder, or upper back. These symptoms can be vague but more noticeable than any chest discomfort, which makes them easy to dismiss.

Acid Reflux and Esophageal Spasms

Gastroesophageal reflux disease (GERD) is one of the most common non-cardiac causes of mid-chest pain. When stomach acid backs up into the esophagus, it creates a burning sensation behind the breastbone that can feel remarkably similar to heart pain. It tends to be worse after eating, when lying down, or when bending over.

Esophageal spasms are a less common but more alarming digestive cause. These are involuntary contractions of the muscles in your esophagus that produce sudden, intense squeezing pain in the chest lasting anywhere from a few minutes to hours. The sensation is often mistaken for a heart attack. Certain triggers make spasms more likely, including very hot or cold liquids and red wine. You may also notice difficulty swallowing during an episode. Because esophageal spasms feel so much like cardiac pain, the safest approach is to treat any new squeezing chest pain as a potential heart problem until proven otherwise.

Costochondritis and Chest Wall Pain

Costochondritis is inflammation of the cartilage that connects your ribs to your breastbone, and it’s a surprisingly common reason for mid-chest pain. The hallmark is tenderness right along the breastbone itself. Pressing on the area reproduces or worsens the pain, which is something heart-related pain almost never does. Moving your arms, twisting your torso, or taking a deep breath can also aggravate it.

Doctors diagnose costochondritis primarily through a physical exam, pressing along the breastbone to check for tenderness and moving your rib cage and arms to see if it triggers your symptoms. It usually resolves on its own over weeks, though it can linger. Muscle strains in the chest wall from heavy lifting, intense exercise, or even prolonged coughing can produce a similar pattern of pain that worsens with movement or pressure.

Anxiety and Panic Attacks

Anxiety can cause very real, very physical chest pain. During a panic attack or period of intense stress, your body floods with adrenaline and cortisol. Your heart rate spikes, your breathing becomes rapid and shallow, and the muscles between your ribs (the intercostal muscles) tense up or spasm from the effort. The result is chest tightness or sharp pain that, combined with heart palpitations and shortness of breath, feels convincingly like a cardiac event.

Panic-related chest pain tends to peak within about 10 minutes and fades as the anxiety subsides. It often comes with a sense of dread, tingling in the hands, or feeling detached from your surroundings. If you’ve had similar episodes before and they follow a pattern tied to stress or specific triggers, anxiety is a likely explanation. But the first time it happens, or if the pain feels different from previous episodes, it still warrants medical evaluation.

Lung-Related Causes

A pulmonary embolism, which is a blood clot that travels to the lungs, can produce sharp chest pain that worsens when you breathe in deeply, cough, or bend over. This type of pain is called pleuritic pain, and the fact that it changes with breathing is a key distinguishing feature. It often comes on suddenly and may be accompanied by shortness of breath, a rapid heartbeat, or coughing up blood. Pulmonary embolism is a medical emergency.

Other lung conditions like pneumonia or pleurisy (inflammation of the lining around the lungs) can also cause chest pain that sharpens with breathing. If your chest pain gets noticeably worse every time you inhale, a lung-related problem is worth considering.

What the Duration of Pain Tells You

How long the pain lasts offers useful clues. A sharp twinge that comes and goes in a few seconds is rarely cardiac. It’s more often muscular or related to a nerve. Pain that builds over minutes during physical activity and fades with rest fits the pattern of angina. Pain lasting more than five minutes that doesn’t improve with rest or change of position is more concerning and warrants immediate medical attention.

Chest pain that persists for hours could point to a heart attack, but it could also be an esophageal spasm, costochondritis, or a pulled muscle. Chronic chest pain lasting weeks or months is almost always non-cardiac, typically musculoskeletal or related to ongoing reflux.

Warning Signs That Need Emergency Care

The American Heart Association identifies these as heart attack warning signs that warrant calling 911:

  • Chest discomfort that feels like pressure, squeezing, or fullness, lasts more than a few minutes, or goes away and returns
  • Pain spreading to one or both arms, the back, neck, jaw, or stomach
  • Shortness of breath, with or without chest discomfort
  • Cold sweat, nausea, or lightheadedness alongside chest symptoms
  • Rapid or irregular heartbeat paired with any of the above

What Happens if You Go to the ER

If you go to the emergency room for chest pain, the goal is to rule out life-threatening causes quickly. You’ll typically get an electrocardiogram (ECG) within minutes of arrival, which shows whether your heart’s electrical activity looks normal. A blood test for a protein called troponin checks for heart muscle damage. If both the ECG and an initial troponin test are normal, a second troponin test one to two hours later can reliably identify you as low risk for a heart attack.

If cardiac causes are ruled out, your doctor may investigate digestive, musculoskeletal, or anxiety-related explanations depending on your symptoms. About 2% to 5% of all emergency department visits are for non-cardiac chest pain, so the medical team will be familiar with the full range of possibilities. The key thing to know is that getting checked is never a waste of time. Chest pain is exactly the kind of symptom that deserves a professional evaluation, even if the answer turns out to be reassuring.