An esophageal ulcer typically feels like a burning or pressure behind your breastbone that gets worse when you swallow. Many people describe painful swallowing as the defining sensation, sometimes accompanied by a feeling that food is getting stuck on the way down. The pain can be intense enough to mimic a heart attack, which is one reason this condition sends people searching for answers.
Where the Pain Shows Up
The primary sensation is a deep, burning chest pain located behind the breastbone. Your esophagus runs right alongside your heart inside the chest cavity, and the same sensory nerves serve both organs. That’s why esophageal ulcer pain can feel like pressure, tightness, or squeezing in the chest, closely resembling cardiac pain. It may also radiate to your neck, back, or arms.
What makes the pain happen is straightforward: when the protective lining of the esophagus breaks down and forms an open sore, stomach acid contacts the exposed tissue underneath. Pain receptors in that raw tissue fire signals to the brain every time acid washes over the ulcer, which is why the burning tends to flare after meals or when you lie down.
Painful Swallowing vs. Difficulty Swallowing
Esophageal ulcers produce two distinct swallowing problems that often get confused. The first is pain during swallowing. You feel a sharp or burning sting as food or liquid passes over the ulcer site, usually in a specific spot you can almost point to in your chest or throat. The second is difficulty swallowing, where food feels like it slows down or stalls on the way to your stomach. This happens when inflammation or swelling narrows the passage around the ulcer.
Some people also report a “globus sensation,” which is the persistent feeling of a lump in the throat even when nothing is there. It can make you want to swallow repeatedly to clear something that doesn’t actually exist.
Other Symptoms That Come With It
Beyond chest pain and swallowing problems, esophageal ulcers commonly cause heartburn, acid regurgitation (where stomach contents rise into your throat), nausea, vomiting, and loss of appetite. The heartburn can feel identical to ordinary acid reflux, which is why some people dismiss it for weeks before recognizing something more serious is going on.
If the ulcer is caused by an infection, which is more common in people with weakened immune systems, the symptoms can come on suddenly. Viral infections like herpes simplex tend to cause acute, sharp pain with swallowing, sometimes with fever. Fungal infections like candida are more likely to cause a gradual onset of difficulty swallowing with a duller, more diffuse discomfort.
What Makes It Worse
Certain foods reliably intensify the pain. Spicy foods, fried foods, and high-carbohydrate items like bread and noodles are among the most common triggers. Coffee, carbonated drinks, alcohol, citrus fruits like oranges and mandarins, and pizza also tend to provoke symptoms. These foods either increase acid production, relax the valve between the stomach and esophagus, or both.
Eating habits matter too. Large meals, eating quickly, snacking between meals, and eating right before bed all make symptoms worse. Lying down within a few hours of eating lets gravity work against you, allowing acid to pool around the ulcer. Many people notice their worst pain at night for exactly this reason.
How It Differs From a Heart Attack
Because the esophagus and heart share nerve pathways, the overlap in symptoms is genuinely confusing. Both can produce pressure, tightness, and pain that spreads to the neck and arms. The key differences: esophageal pain is unlikely to cause sweating or shortness of breath, and it won’t improve with nitroglycerin (a medication used for cardiac chest pain). Esophageal pain often responds to antacids and tends to have a clear connection to eating or swallowing. If you press on the painful area and the pain increases, that points toward a musculoskeletal cause rather than either cardiac or esophageal problems. When in doubt about chest pain, treat it as a cardiac emergency until proven otherwise.
What Causes Esophageal Ulcers
Chronic acid reflux is the most common cause, where repeated exposure to stomach acid gradually erodes the esophageal lining. But medications are a surprisingly frequent culprit. Certain pills can get stuck in the esophagus and burn through the tissue directly. The worst offenders are the antibiotic doxycycline, iron supplements, certain osteoporosis medications like alendronate, potassium supplements, and common pain relievers like aspirin and other NSAIDs.
The mechanism behind pill-induced ulcers explains a lot about the sensation. Medications with low pH essentially cause a chemical burn against the esophageal wall. Gelatin capsules are particularly problematic because they become sticky and cling to the lining, releasing their contents in a concentrated spot. Sustained-release formulations carry higher risk for the same reason: they’re designed to dissolve slowly, which means prolonged contact with delicate tissue. This is why you’re told to take pills with a full glass of water and stay upright for at least 30 minutes afterward.
Warning Signs of a Serious Problem
Most esophageal ulcers cause discomfort that’s manageable, if unpleasant. But some symptoms signal that the ulcer is bleeding or has perforated, both of which require immediate medical attention. Vomiting blood or material that looks like coffee grounds means the ulcer is actively bleeding. Black, tarry stools (called melena) indicate blood that has traveled through the digestive tract. Either of these is an emergency.
How the Ulcer Is Found
An upper endoscopy is the standard way to diagnose an esophageal ulcer. During the procedure, you receive sedation through a vein and a numbing spray in your throat. A thin, flexible tube with a camera is guided down your esophagus while you lie on your side. You may feel pressure in your throat and a sense of fullness as gentle air inflates the digestive tract for a better view, but it shouldn’t be painful. The whole process typically takes 15 to 30 minutes. Afterward, you can expect a sore throat, some bloating, and mild cramping that resolves on its own.
How Long Recovery Takes
With treatment, esophageal ulcers heal relatively quickly. Acid-suppressing medications reduce the acid bathing the ulcer, giving the tissue a chance to repair itself. Research shows that ulcers can achieve over 90% healing within four weeks on standard acid-suppressing therapy, and many respond well within just two weeks. Most people notice their pain improving within the first few days of treatment as acid levels drop, though complete healing of the tissue takes longer than symptom relief. If a medication caused the ulcer, stopping or switching that drug is usually the most important step, alongside acid suppression to let the damage heal.

