Costochondritis does not directly cause heartburn in the way that acid reflux does, because it is an inflammation of the cartilage connecting your ribs to the breastbone, not a problem with your stomach or esophagus. But the two conditions share enough nerve pathways and symptom territory that they frequently mimic each other, coexist in the same person, and make each other feel worse. The confusion between them is so common that researchers have spent decades mapping the specific nerve crossover points that make chest wall pain and esophageal pain feel nearly identical.
Why Chest Wall Pain and Heartburn Feel the Same
Your esophagus and the front of your chest wall are wired into the same stretch of spinal cord. When irritation or inflammation flares up in either location, the pain signals travel along overlapping nerve routes before reaching your brain. Your brain then has to guess where the signal came from, and it often guesses wrong. Research on human subjects has confirmed that noxious stimuli in the esophagus cause pain referred to the anterior chest wall because visceral and somatic afferents converge within the spinal cord. That study provided the first direct neurophysiological evidence of this crossover in living people, not just animal models.1PubMed. Neurophysiological evaluation of convergent afferents innervating the human esophagus and area of referred pain on the anterior chest wall
This means that genuine heartburn from acid reflux can produce a burning or aching sensation that lands squarely over the sternum and ribs, right where costochondritis hurts. And it works in reverse: inflammation in the cartilage of your rib joints can send dull, pressure-like pain into the center of your chest that your brain interprets as something going on inside your chest rather than in the chest wall. Neither condition is “faking” the other. The nerve overlap is real anatomy, and it makes self-diagnosis unreliable.
How They Differ in Practice
Despite the overlap, the two conditions do have features that can help you (and your doctor) sort them out. Costochondritis pain tends to be reproducible with touch. If you press on the spots where your ribs meet your breastbone and the pressure recreates your pain, that points toward the chest wall as the source. The pain usually worsens with deep breathing, twisting your torso, or reaching overhead. It does not typically come on after meals, and antacids do nothing for it.
Heartburn from acid reflux, by contrast, tends to flare after eating, especially large or fatty meals, and often worsens when you lie down or bend forward. You may notice a sour taste in your mouth or a sensation of liquid rising in your throat. Over-the-counter antacids or proton pump inhibitors usually bring relief within days if reflux is the culprit. The pain is less likely to change when you press on your chest, though it can shift with body position.
The tricky part is that many people have both at the same time. Someone with inflamed rib cartilage may also have reflux they hadn’t noticed because the chest wall pain was dominating their attention, or someone being treated for reflux may not realize that part of their lingering discomfort is musculoskeletal. Clinicians treating non-cardiac chest pain note that gastroesophageal reflux disease is the most common cause of such pain, yet other sources including musculoskeletal problems, esophageal hypersensitivity, and neuromuscular conditions contribute as well.2PubMed Central. Management of noncardiac chest pain in women
Can Costochondritis Actually Make Reflux Symptoms Worse?
There is a plausible indirect route by which costochondritis can amplify heartburn-like sensations, even without changing anything in the esophagus or stomach. It involves how your nervous system handles ongoing pain.
When your chest wall is chronically inflamed, the constant barrage of pain signals can sensitize the spinal cord segments that process those signals. Once sensitized, those same spinal segments may start amplifying normal sensory input from the esophagus, turning mild acid exposure that you’d ordinarily never notice into something that registers as burning or discomfort. This process is sometimes called central sensitization, and it has been well documented in functional esophageal disorders and reflux-related conditions. Research has shown that increased sensitivity to visceral stimuli plays a major role in conditions like reflux hypersensitivity and functional heartburn, and that psychological comorbidities like anxiety and depression compound the effect.3PubMed. Increased visceral sensitivity, elevated anxiety, and depression levels in patients with functional esophageal disorders and non-erosive reflux disease
So while costochondritis does not send acid up your esophagus, chronic chest wall pain could lower the threshold at which you notice and feel bothered by normal levels of esophageal acid. If you have been dealing with costochondritis for weeks or months and start noticing heartburn-like symptoms that seem disproportionate to what you’re eating, sensitization is a reasonable explanation worth discussing with your doctor.
The Anxiety and Pain Feedback Loop
Costochondritis is famously anxiety-inducing because it mimics heart attack symptoms. Plenty of people with rib cartilage inflammation end up in emergency departments convinced something is wrong with their heart. Even after cardiac causes are ruled out, the worry can linger, and that worry matters physiologically.
Anxiety ramps up your body’s stress response, which has direct effects on your gut. Stress increases stomach acid secretion, slows gastric emptying, and heightens visceral sensitivity, all of which nudge you toward experiencing more heartburn. The same research that linked visceral hypersensitivity to functional heartburn found that anxiety and depression were elevated in those patients and appeared to play an important role in their symptom burden.3PubMed. Increased visceral sensitivity, elevated anxiety, and depression levels in patients with functional esophageal disorders and non-erosive reflux disease In other words, the fear generated by costochondritis pain can itself become a driver of real heartburn symptoms. It is not “all in your head” in the dismissive sense. The anxiety produces measurable changes in how your esophagus and stomach function.
If you find yourself in a cycle where chest pain triggers anxiety, which triggers heartburn, which triggers more worry about your chest, that pattern is common and treatable. Addressing the anxiety component directly, whether through cognitive behavioral techniques, stress management, or medication if needed, can break the loop and reduce both the musculoskeletal and the gastrointestinal symptoms.
When Non-Cardiac Chest Pain Turns Out to Be Reflux
One of the most consistent findings in gastroenterology research is that reflux is far more common among people with unexplained chest pain than most patients expect. In one study of patients with non-cardiac chest pain, about two-thirds had gastroesophageal reflux disease, and those with confirmed reflux responded dramatically better to acid-suppressing treatment. Among the reflux group, over 80% had complete or significant improvement in their chest pain, compared to roughly one in nine patients without reflux.4PubMed. Non-cardiac chest pain: prevalence of reflux disease and response to acid suppression in an Asian population
This has a practical implication if you’ve been told you have costochondritis. If your chest pain hasn’t responded well to the usual measures for chest wall inflammation, like rest, heat, gentle stretching, and anti-inflammatory medications, it is worth considering that reflux may be a contributor. A trial of a proton pump inhibitor is often one of the first diagnostic steps a clinician will recommend for persistent non-cardiac chest pain, because the response to the medication itself helps confirm or rule out reflux as a cause.2PubMed Central. Management of noncardiac chest pain in women If the medication helps, reflux was likely part of the picture. If it doesn’t, further investigation is warranted.
Tietze Syndrome and Referred Pain
Costochondritis has a close relative called Tietze syndrome that adds another layer to the heartburn confusion. While standard costochondritis involves tenderness at the rib-to-breastbone junctions without visible changes, Tietze syndrome adds noticeable swelling at one or more of those joints. It is a self-limited inflammatory condition, but the pain can be intense and the swelling alarming.
What makes Tietze syndrome particularly relevant to the heartburn question is where it can strike. When the inflammation involves the xiphisternal joint, the spot where the lower tip of the breastbone meets the cartilage, the pain pattern can closely mimic abdominal and intra-thoracic disease. Researchers have documented cases where xiphisternal Tietze syndrome was initially mistaken for cardiac, pulmonary, or abdominal disease. A proposed mechanism for this confusion is the relationship of the xiphisternal joint to autonomic nerves that accompany the internal mammary arteries, creating pathways for pain to be referred to areas that feel like they are deep inside the chest or upper abdomen.5PubMed. Perichondritis (Tietze’s syndrome) at the xiphisternal joint: a mimic of severe disease
This means that Tietze syndrome at the lower breastbone can produce sensations that genuinely feel like heartburn or upper abdominal pain, not just chest wall soreness. If you have swelling near the bottom of your sternum along with burning or pressure that you’ve been attributing to acid reflux, it may be worth having the area examined for local tenderness and swelling that would point to Tietze syndrome instead.
Xiphodynia and Slipping Rib Syndrome
Two other musculoskeletal conditions that live in the same neighborhood deserve mention because they frequently get mixed up with both costochondritis and heartburn.
Xiphodynia is pain originating from the xiphoid process, the small cartilaginous extension at the bottom of the breastbone. Because of where it sits, xiphoid pain can radiate into the upper abdomen and lower chest in ways that convincingly imitate peptic ulcer disease, gallbladder problems, and heart disease. The clinical presentation is variable because of the referred pain it produces, and differential diagnoses frequently include conditions like pulmonary embolism, peptic ulcer disease, gallstones, and coronary artery disease.6PubMed Central. Treatment and Management of Xiphoidalgia If you’re experiencing what seems like heartburn centered right below your breastbone, and pressing on that bony point at the very bottom of your sternum reproduces the pain, xiphodynia is a possibility your doctor can check for with a simple physical exam.
Slipping rib syndrome is a different mechanism altogether. It involves hypermobility of the lower ribs, typically ribs eight through twelve, which aren’t directly connected to the sternum but instead attach to each other with ligaments.7PubMed Central. Slipping Rib Syndrome in a Female Adult with Longstanding Intractable Upper Abdominal Pain When those ligaments become lax, the rib tips can slip and irritate nearby intercostal nerves, causing sharp pain in the upper abdomen or lower chest that can be confused with gastrointestinal disease. Some patients with slipping rib syndrome spend years being evaluated for reflux, ulcers, or gallbladder disease before the actual musculoskeletal cause is identified. A key clue is that the pain often worsens with specific movements like reaching, bending, or rolling over in bed, and a “hooking maneuver” where a clinician curls their fingers under the lower rib margin can reproduce the pain and sometimes produce a clicking sensation.
Sorting Out Overlapping Symptoms on Your Own
While only a clinician can give you a definitive diagnosis, there are some practical observations you can make at home to start separating musculoskeletal from gastrointestinal chest pain.
- Palpation test: Press firmly along the edges of your breastbone where your ribs attach. If you can reproduce your exact pain with finger pressure, the chest wall is involved. Heartburn from reflux doesn’t respond to touch.
- Meal timing: Track whether your symptoms flare within an hour of eating, especially after large, spicy, or fatty meals. A strong meal connection points toward reflux.
- Positional clues: Pain that worsens when you lie flat or bend at the waist suggests reflux. Pain that worsens when you twist, reach overhead, or take a deep breath suggests the chest wall.
- Antacid response: If over-the-counter antacids reliably take the edge off within 15 to 30 minutes, acid is likely contributing. Antacids won’t touch costochondritis.
- Duration pattern: Costochondritis pain often persists for weeks and varies with physical activity. Reflux episodes tend to come and go with meals and body position.
None of these tests is foolproof, especially when both conditions are present simultaneously. But keeping a simple log of when your symptoms occur, what makes them better or worse, and whether antacids help can give your doctor a much clearer starting point than a vague report of “chest pain and maybe heartburn.”
When You Need to Stop Guessing
The real danger in the costochondritis-heartburn overlap isn’t getting the two confused with each other. It’s that both conditions produce symptoms that can also indicate serious cardiac disease. Chest pain with shortness of breath, pain radiating to the arm or jaw, dizziness, or pain that comes on with exertion and goes away with rest warrants immediate evaluation to rule out a heart problem. This is true even if you already carry a diagnosis of costochondritis or reflux, because new symptoms can mean new problems.
If you’ve been managing what you thought was costochondritis and it starts feeling more like burning than aching, or if your heartburn develops a squeezing quality and stops responding to antacids, those shifts in symptom character are worth a conversation with your doctor. The nerve overlap that makes these conditions so confusable also makes vigilance worthwhile. Having one doesn’t protect you from developing the other, and neither one rules out something more serious developing alongside it.