Esophagitis: Causes, Symptoms, and Treatment

Written by Sumiran Racherla, MD. Medically reviewed by Harsha Moole, MD, Internal Medicine. Last reviewed: October 23, 2026.

What kind of doctor treats Esophagitis?

A gastroenterologist, a doctor who treats problems of the digestive system, usually treats esophagitis. Esophagitis means the lining of the esophagus is swollen, inflamed, or irritated. Your primary care doctor can start the work-up. A direct primary care or concierge doctor can be a first stop for an evaluation and can refer you to a specialist when needed.

What is esophagitis?

Esophagitis is a condition in which the lining of the esophagus becomes swollen, inflamed, or irritated. The esophagus is the tube that leads from your mouth to the stomach, and it is also called the food pipe. Esophagitis may cause ulcers, which are sores, and bleeding in the lining of the esophagus.

Symptoms

Symptoms of esophagitis may include:

  • Cough.
  • Trouble swallowing.
  • Painful swallowing.
  • Heartburn, which is also called acid reflux.
  • Hoarseness.
  • A sore throat.

Eosinophilic esophagitis can cause trouble swallowing in adults. It can also cause food to get stuck in the esophagus. Adults may also have chest pain. Babies and toddlers may have feeding problems. They may also have poor weight gain and growth.

Causes and who gets it

Esophagitis is often caused by stomach fluid that flows back into the food pipe. The fluid contains acid, which irritates the lining. This problem is called gastroesophageal reflux (GERD).

An autoimmune and allergic disorder called eosinophilic esophagitis also causes this condition. Researchers are not sure of its exact cause. They think it is an immune or allergic reaction to foods or to things around you, such as dust mites or pollen.

These raise your risk of esophagitis:

  • Alcohol use.
  • Cigarette smoking.
  • Surgery or radiation to the chest.
  • Obesity.
  • Vomiting.
  • Lying down after eating a large meal.
  • Taking certain pills without drinking plenty of water.

These pills include alendronate, doxycycline, ibandronate, risedronate, tetracycline, potassium tablets, and vitamin C.

People with a weak immune system may get infections that swell the food pipe. Fungi or yeast, most often Candida, can cause these infections. So can viruses such as herpes or cytomegalovirus.

Eosinophilic esophagitis is more common in males. It is also more common in people with allergic diseases such as hay fever, eczema, asthma, and food allergies. It is also more common in people with family members who have it.

How doctors diagnose it

Your doctor may suggest these tests:

  • An esophagogastroduodenoscopy (EGD), which uses a thin tube with a light and camera to look inside the esophagus. A biopsy, which is a small tissue sample, may be taken during this test.
  • An upper GI series, which is a barium swallow x-ray.
  • pH testing, which checks for stomach acid coming up into the esophagus. It can show if acid reflux is the cause.

Treatment

Treatment depends on the cause. Common options are:

  • Medicines that reduce stomach acid when reflux is the cause.
  • Antibiotics, antifungals, and antivirals for different infections.
  • Medicines and diet changes for eosinophilic esophagitis. These medicines can include steroids, which help control inflammation.
  • Medicines that coat the lining of the food pipe when pills have caused damage.

You should stop taking medicines that damage the lining of the esophagus. Ask your doctor before you stop any medicine, and follow your doctor's instructions. Take your pills with plenty of water and avoid lying down right after taking a pill.

If the esophagus has become narrow in eosinophilic esophagitis, you may need dilation, a procedure to stretch it.

Most of the time, the disorders that cause swelling and inflammation of the food pipe respond to treatment.

Without treatment, esophagitis may cause severe discomfort. Scarring of the food pipe, called a stricture, may develop and cause swallowing problems. Barrett esophagus can develop after years of GERD, and rarely it may lead to cancer of the food pipe.

When to see a doctor

Contact your provider if you have:

  • Frequent symptoms of esophagitis.
  • Trouble swallowing.
  • Frequent vomiting.
  • Acid reflux that medicines do not control.
  • Weight loss you cannot explain.

Call 911 or go to the emergency room if you have chest pain or discomfort lasting two minutes or more, breathing problems, fainting, or vomiting blood.

How a direct primary care or concierge doctor fits in

A direct primary care doctor charges a flat monthly fee instead of billing insurance, while a concierge doctor usually charges more and often works alongside insurance. Such a doctor can review your symptoms and medicines, arrange first tests, and refer you to a gastroenterologist when needed.

Common questions

Is esophagitis serious?

It can be if it is not treated, because it may cause severe discomfort and scarring that makes swallowing hard. Most of the time, the disorders that cause it respond to treatment.

What is the most common cause of esophagitis?

Stomach fluid that flows back into the food pipe is the most common cause. The acid in that fluid irritates the lining of the esophagus.

Can pills cause esophagitis?

Yes, some medicines can raise your risk if you take them without drinking plenty of water. Take your pills with plenty of water and avoid lying down right after taking a pill.

Is eosinophilic esophagitis a type of esophagitis?

Yes, eosinophilic esophagitis is one cause of esophagitis. It is a long-lasting disease in which white blood cells called eosinophils build up in the esophagus and cause damage and inflammation.

Sources

  1. MedlinePlus - Esophagitis
  2. NIDDK - Definition & Facts for GER & GERD
  3. MedlinePlus - Eosinophilic Esophagitis

Medical Disclaimer

This content is for general educational and informational purposes only and is not medical advice. It is not a substitute for professional medical advice, diagnosis, or treatment, and reading it does not create a doctor-patient relationship. Always seek the advice of your physician or another qualified health provider with any questions about a medical condition, and never disregard or delay seeking professional advice because of something you read here. If you think you may have a medical emergency, call 911 (or your local emergency number) immediately.