Introduction
Esophagitis is inflammation of the esophagus—the muscular tube that carries food and liquid from the mouth to the stomach. When the lining is irritated or injured, swallowing can hurt and heartburn or chest discomfort may appear.
Causes include acid reflux (GERD), infections in people with weak immunity, eosinophilic (allergic/immune) inflammation, medicines that stick in the esophagus, and less often autoimmune disease or chemical injury.
The problem may be short-lived (acute) or long-lasting (chronic). Untreated chronic inflammation can scar and narrow the esophagus or, with long-standing acid damage, raise longer-term cancer-related risks such as Barrett’s esophagus.
This page covers symptoms, causes, tests, treatment, prevention, and when to seek help. It is general education—not a diagnosis or a reason to ignore chest pain that could be cardiac.
Overview
Reflux-related esophagitis is common: stomach acid repeatedly bathes the lower esophagus and inflames the mucosa. Infectious esophagitis (Candida, herpes simplex, cytomegalovirus) is more typical when immunity is impaired.
Eosinophilic esophagitis (EoE) is a chronic immune-mediated form often linked to allergies and can run in families. Treatment pathways differ from simple acid injury, so identifying the subtype matters.
Most people improve when the cause is treated—acid suppression for reflux injury, antimicrobials for infection, steroids or diet strategies for EoE, and pill-taking habit changes for pill esophagitis. Persistent dysphagia needs prompt evaluation to exclude stricture or cancer.
- Inflammation of the esophageal lining from many possible causes
- Common symptoms: painful or difficult swallowing and heartburn
- GERD, infection, eosinophilic disease, and irritants are major drivers
- Endoscopy with biopsy often confirms cause and severity
- Treatment targets the specific cause—not one medicine for all
- Chronic untreated inflammation can narrow the esophagus
What happens in the body
Whatever the trigger, mucosal injury produces swelling, erosions, or ulceration. Pain fibers fire with swallowing (odynophagia), and edema or scarring can impede the food bolus (dysphagia).
In reflux disease, acid and pepsin damage squamous epithelium. In EoE, eosinophils infiltrate the wall and remodel tissue. Infections invade mucosa when host defenses fail. Repeated injury heals with fibrosis, forming strictures.
- Lining injury causes pain and impaired swallowing
- Acid, allergens/eosinophils, microbes, or pills can be the trigger
- Chronic injury leads to scarring and narrowing
- Long-term acid exposure can change lining type (Barrett’s)
- Chest pain may mimic heart disease—urgent exclusion may be needed
Signs and symptoms
Symptoms vary with cause and severity. Common features include:
- Difficulty swallowing (dysphagia), as if food sticks in the throat or chest
- Painful swallowing (odynophagia)
- Heartburn or burning behind the breastbone
- Chest pain that can resemble cardiac pain
- Nausea or vomiting when intake is limited by pain
- Regurgitation of food or sour fluid
- Reduced appetite or avoiding solid foods
- In children with EoE: feeding difficulty, poor growth, or food impaction
- White plaques or severe odynophagia in infectious Candida esophagitis
- Cough or throat clearing when reflux is prominent
- Unexplained weight loss in advanced or complicated disease
- Black stools or vomiting blood if bleeding erosions develop
Causes and risk factors
More than one factor may combine. Clinicians commonly consider:
- Gastroesophageal reflux disease (GERD) with acid injury
- Fungal infection (Candida), especially with diabetes, HIV, or steroids/antibiotics
- Viral infection (HSV, CMV) in immunocompromised patients
- Bacterial infection (less common)
- Eosinophilic esophagitis linked to allergies and genetic predisposition
- Autoimmune conditions such as lupus or scleroderma affecting the esophagus
- Alcohol, tobacco, and highly acidic or spicy foods irritating the lining
- Obesity increasing reflux pressure
- Older age and male sex as statistical risk associations
- Pill esophagitis from medicines taken with too little water
Diagnosis and evaluation
Evaluation starts with history and exam, then tests chosen for the likely cause:
- Symptom history, medicine review, and risk factors for infection or allergy
- Upper endoscopy to view the lining and obtain biopsies
- Barium swallow X-ray when structural narrowing is suspected
- Esophageal pH monitoring to document acid reflux burden
- Biopsy to identify eosinophils, infection, or other pathology
- Differential consideration of GERD without erosive disease, stricture, and esophageal cancer
- Cardiac evaluation when chest pain could be heart-related
Treatment and management
Therapy follows the cause. Do not start long-term steroids, antifungals, or strong acid suppressants without clinical guidance:
- Proton pump inhibitors (PPIs) for reflux-related inflammation
- Antacids for short-term symptom relief when appropriate
- Topical or systemic corticosteroids for eosinophilic esophagitis as prescribed
- Antifungal or antiviral medicines when infection is confirmed
- Dietary elimination or feeding plans for EoE under specialist advice
- Dilation of strictures when scarring blocks swallowing
- Surgery in selected severe complications (for example perforation or refractory strictures)
- Stop smoking; limit alcohol; elevate the head of the bed for nocturnal reflux
- Weight management and trigger-food avoidance
Prevention, self-care, and lifestyle
Not every condition is fully preventable, but the steps below may lower risk or recurrence:
- Avoid personal trigger foods (often spicy, acidic, or very hard textures)
- Maintain a healthy weight to reduce reflux
- Do not lie flat soon after large meals
- Take pills with a full glass of water and remain upright afterward
- Practice hand hygiene and food safety to lower some infection risks
- Keep recommended vaccines up to date when immunity is a concern
- Manage GERD, diabetes, and immune-suppressing treatments with your clinicians
Possible complications
Delay, missed care, or unsafe self-medication can raise the chance of complications in some cases:
- Esophageal stricture with progressive dysphagia
- Bleeding from erosions or ulcers
- Food impaction, especially in eosinophilic esophagitis
- Barrett’s esophagus after chronic acid injury
- Increased long-term risk of esophageal adenocarcinoma in Barrett’s pathways
- Malnutrition or dehydration from painful swallowing
- Rare perforation in severe injury
When to see a doctor or seek emergency care
Seek prompt medical advice or emergency care if any of the following apply—it is safer not to wait and see:
- Severe chest pain with sweating, breathlessness, or pain into the arm or jaw
- Vomiting blood or material like coffee grounds
- Black stools or signs of shock
- Inability to swallow saliva or breathe comfortably
- Unexplained weight loss or progressive food sticking
- Symptoms lasting more than a short while despite simple antacids
Living with the condition
Chronic esophagitis often needs a steady routine: medicine timing, meal patterns, and follow-up endoscopy when advised. Keep a short list of foods and situations that flare symptoms.
Children with EoE may need dietitian support and school plans for safe eating. Older adults should review all medicines for pill-esophagitis risk and drug interactions.
Return promptly if dysphagia worsens, weight falls, or bleeding appears—even if you have had “heartburn for years.”
Frequently asked questions
What are the main symptoms of esophagitis?
Difficulty swallowing, painful swallowing, heartburn, chest discomfort, and sometimes nausea. Severe chest pain or bloody vomit needs urgent care.
How is esophagitis diagnosed?
After history and examination, clinicians often use endoscopy with biopsy, and sometimes barium swallow or pH testing, to confirm inflammation and cause.
What treatments are used?
Options depend on cause: acid suppression for reflux injury, antimicrobials for infection, steroids or diet therapy for EoE, and procedures for strictures when needed.
Can esophagitis be prevented?
Risk can often be lowered by avoiding triggers, managing weight and GERD, careful pill-taking, and addressing immune or infection risks—though not every case is preventable.
Is esophagitis serious?
Mild cases heal with treatment, but untreated chronic disease can scar the esophagus and, in acid-related pathways, contribute to Barrett’s changes. Early care improves outlook.
Can children get esophagitis?
Yes. Eosinophilic esophagitis is an important pediatric form and may need dietary therapy and specialist follow-up.
Important caution
This article is general health education in English. It is not personal medical advice, a medication plan, or a cardiac clearance.
Esophagitis has many causes; matching treatment to the right cause matters. A clinician should guide testing and therapy.
Seek urgent care for severe chest pain, breathing trouble, bloody vomit, or inability to swallow.