[Durgical](https://durgical.com/en/) › [DurgiPedia](https://durgical.com/en/durgipedia/) › [Conditions](https://durgical.com/en/conditions/) › Infectious and pill-induced oesophagitis (Candida, HSV, CMV)

[Conditions](https://durgical.com/en/conditions/) · [Gastroenterology and hepatology](https://durgical.com/en/conditions/)

# Infectious and pill-induced oesophagitis (Candida, HSV, CMV)

Inflammation of the food pipe from infection, mostly in people with weak immunity, or from a tablet stuck in it. It makes swallowing painful.

Updated 2026-11-01

## Structures involved

Tap one to see what it is and open it in 3D.

- [Esophagus](https://durgical.com/en/anatomy/esophagus-abdominal-part/)
- [Trachea](https://durgical.com/en/anatomy/trachea/)
- [Aortic arch](https://durgical.com/en/anatomy/aortic-arch/)
- [Diaphragm](https://durgical.com/en/anatomy/diaphragm/)
- [Left atrium](https://durgical.com/en/anatomy/left-atrium/)

## Why it happens

- [Patterns of acute inflammation: serous, fibrinous, purulent, abscess, ulcer](https://durgical.com/en/general-pathology/patterns-of-acute-inflammation-serous-fibrinous-purulent-abscess-ulcer/)
- [Innate and adaptive immunity: overview](https://durgical.com/en/physiology/innate-and-adaptive-immunity-overview/)
- [Esophagus and the Barrett change](https://durgical.com/en/histology/esophagus-and-the-barrett-change/)

## What it is

Inflammation and ulceration of the oesophageal lining caused by an infection, mainly Candida, herpes simplex virus or cytomegalovirus, usually in immunocompromised people, or by direct injury from a tablet that lodges in the oesophagus (pill oesophagitis).

## Who gets it

Candida oesophagitis is the most common infectious form and is an AIDS-defining illness; it remains frequent in Colombia and Latin America among people with advanced HIV who are diagnosed late or not on treatment. CMV and HSV oesophagitis occur mainly in HIV, transplant and chemotherapy patients. Pill oesophagitis is underrecognised and is common in older adults.

## Causes

- Candida albicans (fungal), the most common cause
- Herpes simplex virus type 1
- Cytomegalovirus
- Rarely HIV itself (idiopathic aphthous ulcers), tuberculosis or other organisms
- Pills: doxycycline and tetracyclines, NSAIDs, bisphosphonates, potassium chloride, iron, quinidine and some antiretrovirals

## Risk factors

- HIV infection with a low CD4 count
- Solid organ or bone marrow transplantation, chemotherapy and neutropenia
- Corticosteroids, including inhaled corticosteroids, and other immunosuppressants
- Diabetes, broad-spectrum antibiotics, proton pump inhibitors and old age (Candida)
- For pill injury: taking tablets with little water, lying down right after, large tablets, oesophageal narrowing or reduced motility

## Pathophysiology

When local or systemic immunity is weak, Candida adheres to and invades the squamous epithelium, forming white plaques. HSV infects squamous cells and causes small vesicles that break into shallow, punched-out ulcers, while CMV infects endothelial and stromal cells in the ulcer base and causes large, deep, linear ulcers. In pill oesophagitis, a tablet sticks at a natural narrowing, often near the [aortic arch](https://durgical.com/en/anatomy/aortic-arch/) or the [left atrium](https://durgical.com/en/anatomy/left-atrium/), and releases acidic or caustic material directly onto the mucosa, producing a local ulcer.

## Classification

- Fungal: Candida
- Viral: herpes simplex virus, cytomegalovirus
- Pill-induced (drug-induced) oesophagitis
- Other: idiopathic HIV ulcers, mycobacterial and bacterial infections

## Symptoms and signs

- Painful swallowing (odynophagia), the hallmark symptom
- Difficulty swallowing (dysphagia)
- Retrosternal [chest](https://durgical.com/en/anatomy/region/chest/) pain or burning
- Oral thrush in many people with Candida oesophagitis
- Oral or lip ulcers with HSV; fever and other organ involvement with CMV
- Sudden pain on swallowing after taking a tablet (pill oesophagitis)

## Red flags

- Inability to swallow saliva or fluids, with dehydration
- Vomiting blood or black stools
- Fever, severe chest pain or subcutaneous emphysema (possible perforation)
- New odynophagia in a person with HIV, transplant or neutropenia
- Weight loss and malnutrition

## Diagnosis

**Clinical**
Suspected from odynophagia in an immunocompromised person or after taking a tablet. In a person with HIV and oral thrush, typical symptoms are often treated empirically for Candida first, with endoscopy if there is no response.

**Tests**
Upper endoscopy with biopsy and brushings is the key test. Candida: white plaques that do not wipe off easily, with yeast and pseudohyphae on biopsy. HSV: small, shallow, well-defined ulcers with multinucleated giant cells and intranuclear inclusions at the ulcer edge. CMV: large, deep, linear ulcers with enlarged cells and inclusions in the ulcer base. CD4 count and HIV testing when the status is unknown.

**Imaging**
Barium swallow may show plaques or ulcers but is rarely needed; CT is used if perforation or another complication is suspected.

## Differential diagnosis

- Reflux oesophagitis (GERD)
- Eosinophilic oesophagitis
- Caustic injury
- Oesophageal cancer or lymphoma
- Radiation oesophagitis
- Cardiac chest pain

## Goal of treatment

Treat the specific cause, relieve pain so the person can eat and drink, and correct the underlying immune problem when possible.

## Treatment

**Medical**
Candida: systemic azole antifungals (fluconazole first line), with echinocandins or amphotericin B for refractory cases. HSV: acyclovir or related antivirals. CMV: ganciclovir or foscarnet. Antiretroviral therapy for HIV and reduction of immunosuppression when possible.

**Conservative**
Pill oesophagitis: stopping or changing the culprit drug or its formulation; acid suppression and topical protective agents may ease healing.

**Lifestyle**
To prevent pill injury: taking tablets with a full glass of water and staying upright for at least 30 minutes afterwards.

**Follow-up**
Nursing focus: pain control before meals, soft or liquid diet, hydration and weight, oral care for thrush, monitoring for bleeding, and adherence to antimicrobial and antiretroviral treatment.

## Drugs for this condition

- [Fluconazole](https://durgical.com/en/pharmacology/fluconazole/)
- [Voriconazole](https://durgical.com/en/pharmacology/voriconazole/)
- [Caspofungin](https://durgical.com/en/pharmacology/caspofungin/)
- [Micafungin](https://durgical.com/en/pharmacology/micafungin/)

## Complications

- Bleeding from ulcers
- Strictures and narrowing
- Perforation and mediastinitis (rare)
- Dehydration and malnutrition
- Spread of infection (disseminated candidiasis or CMV disease)

## Prognosis

Usually heals completely with the right antimicrobial treatment and removal of the cause; pill oesophagitis typically heals within days to weeks. Recurrence is common while immunosuppression persists.

## Prevention

- Early HIV diagnosis and antiretroviral therapy
- Antimicrobial prophylaxis in selected transplant and chemotherapy patients
- Correct technique for taking tablets, especially in older or bedridden people
- Rinsing the mouth after inhaled corticosteroids

## Test yourself

Think of the answer, then tap the question to see it.

## What is the most common cause of infectious oesophagitis?

Candida albicans, typically with white plaques on endoscopy.

## How do the endoscopic ulcers of HSV and CMV oesophagitis differ?

HSV gives small, shallow, punched-out ulcers; CMV gives large, deep, linear ulcers.

## What is the hallmark symptom of infectious oesophagitis?

Odynophagia (painful swallowing).

## Which drugs classically cause pill oesophagitis?

Doxycycline and tetracyclines, NSAIDs, bisphosphonates, potassium chloride and iron.

## What is the usual first step for a person with HIV, oral thrush and odynophagia?

Empirical systemic azole antifungal treatment, with endoscopy if symptoms do not improve.

[Add to my cards (5)](https://durgical.app/estudiar/?add=/en/conditions/infectious-and-pill-induced-oesophagitis/)

## Related conditions

- [HIV infection and AIDS](https://durgical.com/en/conditions/hiv-infection-and-aids/)
- [Genital herpes (herpes simplex infection)](https://durgical.com/en/conditions/genital-herpes/)
- [Cytomegalovirus infection](https://durgical.com/en/conditions/cytomegalovirus-infection/)
- [Candidiasis: oral, oesophageal and invasive](https://durgical.com/en/conditions/candidiasis-oral-oesophageal-and-invasive/)
- [Gastro-oesophageal reflux disease (GERD)](https://durgical.com/en/conditions/gastro-oesophageal-reflux-disease/)
- [Eosinophilic oesophagitis](https://durgical.com/en/conditions/eosinophilic-oesophagitis/)
- [Oesophageal perforation (Boerhaave syndrome)](https://durgical.com/en/conditions/oesophageal-perforation/)
- [Febrile neutropenia](https://durgical.com/en/conditions/febrile-neutropenia/)
- [Upper gastrointestinal bleeding](https://durgical.com/en/conditions/upper-gastrointestinal-bleeding/)

Educational information, not medical advice. For any symptom, see a health professional.

Sources: [Infectious Esophageal Disorders - Gastroenterology - MSD Manual Professional Edition](https://www.msdmanuals.com/professional/gastrointestinal-disorders/esophageal-and-swallowing-disorders/infectious-esophageal-disorders) (MSD Manual Professional Edition, 2025); [Esophagitis: MedlinePlus Medical Encyclopedia](https://medlineplus.gov/ency/article/001153.htm) (MedlinePlus (U.S. National Library of Medicine), 2025).

[← All conditions](https://durgical.com/en/conditions/)

## **Spotted a mistake?** We are always improving for the community. Tell us what is wrong and our team will review it. Report a mistake

Representative model, for educational purposes only.

---
Source: https://durgical.com/en/conditions/infectious-and-pill-induced-oesophagitis/
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cite as: DurgiPedia (durgical.com), https://durgical.com/en/conditions/infectious-and-pill-induced-oesophagitis/
