Pain when swallowing, known medically as odynophagia, is most often caused by an infection or inflammation in the throat or esophagus. The sensation can range from a mild sting to a sharp, burning pain that makes eating or drinking difficult. While a common sore throat is the most frequent culprit, the list of possible causes is long, and knowing the differences matters.
Infections: The Most Common Cause
The majority of painful swallowing episodes trace back to an infection somewhere along the path food travels, from the back of your throat to your esophagus. These infections fall into three broad categories.
Bacterial infections like strep throat cause intense inflammation in the tissues lining your throat. Strep tends to come on fast, with a raw, burning pain that spikes every time you swallow. It typically brings a fever and swollen lymph nodes in the neck but no cough or runny nose, which helps distinguish it from viral causes.
Viral infections are even more common. A standard cold or flu can irritate the throat enough to make swallowing uncomfortable. Mononucleosis (often called mono) is notorious for causing severe throat pain that can last weeks. Herpes simplex virus (HSV-1) can also produce painful ulcers in the mouth and throat, particularly in people with weakened immune systems.
Fungal infections, particularly oral thrush, cause a different kind of pain. Thrush produces white, cottage cheese-like patches on the tongue, inner cheeks, and sometimes the back of the throat. It is most common in people taking antibiotics, using inhaled corticosteroids for asthma, or living with conditions that suppress the immune system. Swallowing feels like pushing food past raw, irritated tissue.
Acid Reflux and Esophagitis
When stomach acid repeatedly washes back into the esophagus, it damages the delicate lining over time. A muscular valve at the bottom of the esophagus normally keeps acid contained in the stomach, but in people with gastroesophageal reflux disease (GERD), that valve either doesn’t close properly or opens when it shouldn’t. A hiatal hernia, where part of the upper stomach pushes through the diaphragm, can make this worse.
Chronic acid exposure leads to ongoing swelling and tissue damage in the esophagus, a condition called esophagitis. The pain often feels like burning behind the breastbone and gets worse when you swallow, especially with acidic, spicy, or very hot foods. Some people notice the pain is worst at night or after large meals when they lie down.
Pill-Induced Esophagitis
Certain medications can directly injure the esophagus if they dissolve against the lining instead of reaching the stomach. This happens more often than people realize, usually because a pill was swallowed with too little water or right before lying down. Osteoporosis medications (bisphosphonates like alendronate) are among the most common offenders. Heart medications like quinidine can also cause it.
The result is a localized chemical burn that makes swallowing painful for days or even weeks. The fix is usually straightforward: take the medication with a full glass of water and stay upright for at least 30 minutes afterward. If you’ve been experiencing new swallowing pain that started around the same time as a new medication, that connection is worth investigating.
Thermal and Chemical Burns
Swallowing very hot food or liquid can burn the esophageal lining in the same way hot coffee burns the roof of your mouth. The severity depends on temperature, how long the food stayed in contact with the tissue, and how much was swallowed. Hot tea, coffee, and soup are the most common causes.
A mild burn produces redness and superficial irritation that heals on its own within a few days. More severe thermal injuries can create blisters on the esophageal lining that rupture and leave behind a whitish membrane as the tissue heals. Unlike burns from corrosive chemicals (like household cleaners), heat-related esophageal injuries are generally reversible and resolve without lasting damage.
Epiglottitis: A Rare but Serious Cause
The epiglottis is a small cartilage flap that covers your windpipe when you swallow, preventing food from entering your lungs. When it becomes infected and swollen, the condition is called epiglottitis, and it can become life-threatening because the swelling can block your airway.
In children, symptoms develop within hours: a high fever, severe sore throat, and a distinctive high-pitched breathing sound called stridor. Children often instinctively lean forward to open their airway. In adults, symptoms tend to build over days rather than hours and include a sore throat, fever, a muffled or hoarse voice, and the same high-pitched breathing sound. If you or your child has painful swallowing along with difficulty breathing or stridor, that combination warrants emergency care.
When Swallowing Pain Signals Something More Serious
Esophageal cancer is a less common but important cause to be aware of. It rarely produces symptoms in its early stages. By the time pain or difficulty swallowing appears, the disease is usually advanced. Other warning signs include unexplained weight loss, chest pain or pressure, worsening heartburn, and persistent hoarseness or coughing. Painful swallowing that gradually gets worse over weeks or months, particularly in someone over 50 with a history of heavy alcohol use or smoking, deserves prompt evaluation.
It’s worth noting that persistent or worsening difficulty swallowing is the hallmark symptom, sometimes occurring before actual pain. The two can overlap. If solid foods start getting stuck or you find yourself unconsciously switching to softer foods, that progression matters even without sharp pain.
Less Common Causes
Eagle syndrome is a rare condition where a small, pointed bone behind the jaw (the styloid process) grows longer than normal. A typical styloid process measures about 2.5 centimeters. In Eagle syndrome, it exceeds 3 centimeters and can press against surrounding tissues, causing throat pain, pain when swallowing, and sometimes a sensation of something stuck in the throat. Diagnosis usually involves imaging and sometimes a physical exam where a provider presses on the neck or the area near the tonsils to see if it reproduces the pain.
Other uncommon causes include autoimmune conditions that attack the esophageal lining, radiation therapy to the head and neck area, and abscesses (pockets of infection) that form near the tonsils or in the tissues behind the throat.
How the Pain Signal Works
Swallowing involves over 30 muscles and multiple nerves working in a coordinated sequence. Three major nerve pathways carry sensation from the throat and esophagus to the brain. The trigeminal nerve covers the front two-thirds of the tongue, the cheeks, and the palate. The glossopharyngeal nerve handles the back third of the tongue, the tonsil area, and the upper throat. The vagus nerve picks up sensation from the epiglottis, the lower throat, and the entire esophagus.
These nerves respond to touch, pressure, and flow. When any tissue along this path is inflamed, ulcerated, or compressed, these same nerves that normally coordinate a painless swallow instead fire pain signals. That’s why swallowing pain can feel so different depending on the cause: a strep infection lights up the glossopharyngeal nerve in the upper throat, while acid reflux irritates vagus nerve endings lower in the esophagus.
How Doctors Find the Cause
For most people, a physical exam and medical history are enough to identify the problem, especially when the cause is a visible throat infection. When the source isn’t obvious, or when pain persists beyond a couple of weeks, doctors turn to more specialized tools.
An endoscopic exam involves passing a thin, flexible camera through the nose or mouth to directly visualize the throat, voice box, and esophagus. This is particularly useful for spotting structural problems, ulcers, or suspicious tissue that might need a biopsy. A videofluoroscopy, sometimes called a modified barium swallow, uses real-time X-ray imaging while you swallow prepared food and liquid. It’s considered the standard for identifying aspiration (food or liquid entering the airway) and for mapping exactly where the swallowing process breaks down.
CT scans and MRI provide detailed images of soft tissue and are helpful when doctors suspect a structural abnormality, a mass, or a neurological cause. Esophageal manometry, which measures pressure patterns during swallowing using a thin catheter, can assess how well the esophageal muscles are functioning, though it identifies clear abnormalities in only about 25% of patients with non-obstructive causes.
What Treatment Looks Like
Treatment depends entirely on the underlying cause. Bacterial infections like strep throat clear with antibiotics, typically bringing noticeable relief within a day or two of starting treatment. Viral infections run their course on their own, though pain management with over-the-counter options can make the wait more tolerable. Fungal infections like thrush require antifungal treatment.
For acid-related esophagitis, reducing acid production with medication is the first step, combined with lifestyle changes like eating smaller meals, avoiding late-night eating, and sleeping with your head elevated. Pill esophagitis usually resolves once the offending medication is identified and you adjust how you take it, or your provider switches you to an alternative.
Thermal burns to the esophagus typically heal on their own. During recovery, sticking to lukewarm, soft foods reduces irritation. For structural or rare causes like Eagle syndrome, treatment ranges from physical therapy to surgical intervention depending on severity.

