Your health care provider or specialist will likely make a diagnosis based on your answers to questions, a physical exam, and one or more tests. These tests may include:


During this procedure, a long, thin tube equipped with a tiny camera is guided down your throat and into the esophagus. This instrument is called an endoscope. Using the endoscope, your provider can look for any unusual appearance of the esophagus. Small tissue samples may be taken for testing. This is called a biopsy. The esophagus may look different depending on the cause of the inflammation, such as drug-induced or reflux esophagitis. You'll be lightly sedated during this test.

Esophageal sponge

This test can be performed in the health care provider's office. It involves swallowing a capsule attached to a string. The capsule will dissolve in your stomach and release a sponge that the provider will pull out of your mouth with the string. As the sponge is pulled out, it will sample the esophageal tissues. This may allow your provider to determine the degree of inflammation in your esophagus without an endoscopy.

Barium X-ray

For this test, you drink a solution or take a pill containing a compound called barium. Barium coats the lining of the esophagus and stomach and makes the organs visible. These images can help identify narrowing of the esophagus, other structural changes, a hiatal hernia, tumors or other irregularities that could be causing symptoms.

Laboratory tests

Small tissue samples removed during an endoscopic exam are sent to the lab for testing. Depending on the suspected cause of the disorder, tests may be used to:

  • Diagnose a bacterial, viral or fungal infection.
  • Determine the concentration of allergy-related white blood cells, called eosinophils.
  • Identify irregular cells that would indicate esophageal cancer or precancerous changes.


Treatments for esophagitis are intended to lessen symptoms, manage complications and treat underlying causes of the disorder. Treatment strategies vary based on the cause of the disorder.

Reflux esophagitis

Treatment for reflux esophagitis may include:

  • Nonprescription treatments. These include antacids (Maalox, Mylanta, others); medicines that reduce acid production, called H-2-receptor blockers, such as cimetidine (Tagamet HB); and medicines that block acid production and heal the esophagus, called proton pump inhibitors. These include lansoprazole (Prevacid) and omeprazole (Prilosec), among others.
  • Prescription medicines. These include prescription-strength H-2-receptor blockers and proton pump inhibitors.
  • Surgery. A type of surgery called fundoplication may be used to improve the condition of the esophagus if other interventions don't work. In this procedure, a portion of the stomach is wrapped around the valve separating the esophagus and stomach, called the lower esophageal sphincter. This strengthens the sphincter and prevents acid from backing up into the esophagus.

    A newer treatment involves placing a ring of tiny magnetic titanium beads around the lower esophageal sphincter, known as the LINX procedure. In that position, the ring of beads strengthens the sphincter, preventing acid reflux.

Eosinophilic esophagitis

Treatment for eosinophilic esophagitis involves avoiding the allergen and reducing the allergic reaction with medicines. Recommended medicines may include:

  • Proton pump inhibitors. Your health care provider will likely first prescribe a proton pump inhibitor, such as esomeprazole (Nexium), lansoprazole (Prevacid), omeprazole (Prilosec) or pantoprazole (Protonix).
  • Steroids. Some studies have shown that swallowed steroids such as fluticasone (Flovent) and budesonide (Pulmicort) may act on the surface tissue of the esophagus to treat eosinophilic esophagitis. The same steroid medications that are inhaled to manage asthma are swallowed in a liquid form to treat eosinophilic esophagitis.

    Your health care provider will instruct you on how to swallow the steroid preparation so that it coats your esophagus. This delivery system of steroids is much less likely to cause serious side effects than taking oral steroid pills.

  • Elimination and elemental diets. A response to a food allergen is likely the cause of eosinophilic esophagitis. Therefore, elimination of the culprit food may be an effective treatment strategy.

    Because no reliable tests are currently available to identify the culprit food, your provider may recommend that you remove common food allergens from your diet. Under your provider's direction, you'll gradually add foods back into your diet and note when symptoms return.

    Another, more restrictive, approach is to remove all food from your diet and replace it with an amino acid-based formula.

  • Monoclonal antibodies. The Food and Drug Administration (FDA) recently approved dupilumab (Dupixent) for treatment of adults and children 12 years and older with eosinophilic esophagitis. Dupilumab is a type of medicine known as a monoclonal antibody. It works to block the action of certain proteins in the body that cause inflammation. Dupilumab is given weekly via injection.

Drug-induced esophagitis

Treatment for drug-induced esophagitis involves not using the problem drug when possible and reducing the risk with better pill-taking habits. Your provider may recommend:

  • Taking an alternative medicine that is less likely to cause drug-induced esophagitis.
  • Taking a liquid version of a medicine if possible.
  • Drinking an entire glass of water with a pill, unless you've been told by your provider to restrict your fluid intake because of another condition, such as kidney disease.
  • Sitting or standing for at least 30 minutes after taking a pill.

Infectious esophagitis

Your provider may prescribe a medicine to treat a bacterial, viral, fungal or parasitic infection causing infectious esophagitis.

Treating common complications

A gastroenterologist may perform a procedure to expand, or dilate, the esophagus. This treatment is generally used only when the narrowing is very severe or food has become stuck in the esophagus.

In esophageal dilation, your provider uses one or more endoscopic devices. These are small narrow tubes inserted through the esophagus. Versions of these devices may be equipped with:

  • A tapered tip that starts with a rounded point that gradually widens.
  • A balloon that can be expanded after it's inserted in the esophagus.

Get the latest health information from Mayo Clinic delivered to your inbox.

Subscribe for free and receive your in-depth guide to digestive health, plus the latest on health innovations and news. You can unsubscribe at any time. Click here for an email preview.

To provide you with the most relevant and helpful information, and understand which information is beneficial, we may combine your email and website usage information with other information we have about you. If you are a Mayo Clinic patient, this could include protected health information. If we combine this information with your protected health information, we will treat all of that information as protected health information and will only use or disclose that information as set forth in our notice of privacy practices. You may opt-out of email communications at any time by clicking on the unsubscribe link in the e-mail.

Clinical trials

Explore Mayo Clinic studies testing new treatments, interventions and tests as a means to prevent, detect, treat or manage this condition.

Lifestyle and home remedies

Depending on the type of esophagitis you have, you may lessen symptoms or stop recurring problems by following these steps:

  • Do not eat foods that may increase reflux. Eating or drinking large amounts of certain foods may worsen your symptoms of gastroesophageal reflux. These may include alcohol, caffeine, chocolate and mint-flavored foods.
  • Use good pill-taking habits. Always take a pill with plenty of water. Don't lie down for at least 30 minutes after taking a pill.
  • Lose weight. Talk to your health care provider about an appropriate diet and exercise routine to help you lose weight and maintain a healthy weight.
  • If you smoke, quit. Talk to your provider if you need help ending a smoking habit.
  • Try not to stoop or bend, especially soon after eating.
  • Do not lie down after eating. Wait at least three hours after eating to lie down or go to bed.
  • Raise the head of your bed. Place wooden blocks under your bed to elevate your head. Aim for an elevation of 6 to 8 inches (15 to 20 centimeters). If it's not possible to elevate your bed, insert a wedge between your mattress and box spring to elevate your body from the waist up. Raising your head by using only pillows isn't effective.

Alternative medicine

No alternative medicine therapies have been proved to treat esophagitis. Still, some complementary and alternative therapies may provide some relief from heartburn or reflux symptoms when combined with your health care provider's care. Options may include ginger, chamomile and slippery elm. Talk to your health care provider if you're considering taking alternative therapies to treat GERD.

Preparing for your appointment

If you're experiencing severe chest pain that lasts more than a few minutes or if you suspect you have food lodged in your esophagus or are not able to swallow, get emergency medical care.

If you have other symptoms of esophagitis, you'll likely start by seeing your primary health care provider. For some diagnostic tests, your provider may refer you to a specialist in digestive system disorders (gastroenterologist) or an allergy specialist (allergist). Preparing for your appointment with your provider or a specialist will help you make the best use of your time.

What you can do

Make a list ahead of time, including:

  • Symptoms you're experiencing, including any that may seem unrelated to pain, difficulty swallowing or reflux.
  • Key personal information, including any major stresses or recent life changes.
  • Medications that you're taking, including vitamins and other supplements.
  • Family history of allergies and disorders of the esophagus or stomach.
  • Questions to ask your health care provider.

List questions from most important to least important in case time runs out. If you think you have symptoms of esophagitis, you may ask some of the following:

  • What tests will I need to diagnose the condition?
  • Do these tests require any special preparation?
  • How long will it take to find out the results of tests?
  • What treatments are available, and which do you recommend?
  • How will we know if the treatment is working?
  • Will I need follow-up tests?
  • What steps can I take on my own to prevent symptoms from happening again?
  • I have other medical conditions. How can I best manage these conditions together?

What to expect from your doctor

Your provider is likely to ask you a number of questions. Being ready to answer them may reserve time to go over points you want to spend more time on. Your provider may ask:

  • How severe is your pain or discomfort?
  • Do you have difficulty swallowing?
  • How often do you experience symptoms?
  • Does anything seem to prompt or worsen symptoms, such as certain foods?
  • Does anything lessen symptoms, such as taking nonprescription antacids or not eating certain foods?
  • Are symptoms worse at certain times of the day?
  • Do your symptoms begin shortly after taking any medications? If so, which medications?
  • Do you have any allergies, and do you take any allergy medicine?
  • Have you ever had food get stuck in your throat after swallowing?
  • Do you ever have food come back up after swallowing?
  • Do you have a family history of gastrointestinal problems?

What you can do in the meantime

If you know that certain foods trigger or worsen symptoms, stay away from them. Common culprits include caffeine-containing drinks, alcohol or spicy foods. Taking nonprescription antacids may provide short-term relief of symptoms.

If you suspect that your symptoms are related to a prescription medicine, don't stop taking the medicine without first talking to your health care provider. If possible, limit the use of nonprescription medications that could be causing problems. When you take pills, drink a glass of water and don't lie down immediately afterward.

Nov. 29, 2022
  1. Bennett JE, et al. Esophagitis. In: Mandell, Douglas, and Bennett's Principles and Practice of Infectious Diseases. 9th ed. Elsevier; 2020. https://www.clinicalkey.com. Accessed Sept. 10, 2022.
  2. Andreas A, et al., eds. The oesophagus. In: Grainger & Allison's Diagnostic Radiology: A Textbook of Medical Imaging. 7th ed. Elsevier; 2021. https://www.clinicalkey.com. Accessed Sept. 8, 2022.
  3. Kliegman RM. Gastroesophageal reflux disease. In: Nelson Textbook of Pediatrics. 21st ed. Elsevier; 2020. https://www.clinicalkey.com. Accessed Sept. 8, 2022.
  4. Muir A, et al. Eosinophilic esophagitis: A review. JAMA. 2021; doi:10.1001/jama.2021.14920.
  5. Acid reflux (GER & GERD) in adults. National Institute of Diabetes and Digestive and Kidney Diseases. https://www.niddk.nih.gov/health-information/digestive-diseases/acid-reflux-ger-gerd-adults. Accessed Sept. 16, 2022.
  6. Eosinophilic esophagitis. American Partnership for Eosinophilic Disorders. https://apfed.org/about-ead/egids/eoe/#:~:text=Eosinophilic%20esophagitis%20(EoE)%20is%20a,and%20inflammation%20to%20the%20esophagus. Accessed Aug. 26, 2022.
  7. Pittman ME. Lymphocytic esophagitis: Current understanding and controversy. The American Journal of Surgical Pathology. 2022; doi:10.1097/PAS.0000000000001667.
  8. Aceves SS, et al. Endoscopic approach to eosinophilic esophagitis: American Society for Gastrointestinal Endoscopy Consensus Conference. Gastrointestinal Endoscopy. 2022; doi:10.1016/j.gie.2022.05.013.
  9. DeMarchi J, et al. Evolution of a novel technology for gastroesophageal reflux disease: A safety perspective of magnetic sphincter augmentation. Diseases of the Esophagus. 2021; doi:10.1093/dote/doab036.
  10. Kahrilas PJ. Pill esophagitis. https://www.uptodate.com/contents/search. Accessed Sept. 15, 2022.
  11. Nguyen HT. Allscripts EPSi. Mayo Clinic. March 30, 2022.
  12. Winter HS. Management of gastroesophageal reflux disease in children and adolescents. https://www.uptodate.com/contents/search. Accessed Sept. 13, 2022.
  13. Khanna S (expert opinion). Mayo Clinic. Nov. 1, 2022.


Associated Procedures