What is the appropriate pertussis treatment for a patient with an allergy to azithromycin (Z‑Pak)?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: November 1, 2026 • View editorial policy

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.

Pertussis Treatment with Azithromycin Allergy

For patients with azithromycin (Z-Pak) allergy, use trimethoprim-sulfamethoxazole (TMP-SMZ) for 14 days as the alternative treatment for pertussis, provided the patient is older than 2 months of age.

Primary Alternative: TMP-SMZ

According to CDC guidelines, TMP-SMZ is the recommended alternative antibiotic for patients who cannot tolerate macrolides or have contraindications to them 1. The evidence demonstrates that TMP-SMZ is effective in eradicating Bordetella pertussis from the nasopharynx 2, 3.

Dosing Regimen:

  • Infants >2 months and children: TMP 8 mg/kg per day, SMZ 40 mg/kg per day in 2 divided doses for 14 days
  • Adults: TMP 320 mg, SMZ 1600 mg per day in 2 divided doses for 14 days

Critical Age Restriction:

TMP-SMZ is contraindicated in infants <2 months due to kernicterus risk 1. This is a non-negotiable safety concern.

If Patient is <2 Months Old with Macrolide Allergy

This presents a challenging clinical scenario. The CDC guidelines indicate that:

  1. First, clarify the type of "allergy": If the reaction to azithromycin was gastrointestinal intolerance (nausea, vomiting, diarrhea) rather than true IgE-mediated hypersensitivity, consider:

    • Erythromycin (different macrolide, may be tolerated): 40-50 mg/kg per day in 4 divided doses for 14 days 1
    • Clarithromycin (if >1 month old): 15 mg/kg per day in 2 divided doses for 7 days 1
  2. If true IgE-mediated allergy to all macrolides: Recent case reports demonstrate that azithromycin desensitization is feasible in carefully selected infants when alternative agents are unsuitable 4. This requires:

    • Multidisciplinary consultation (allergy/immunology, infectious disease)
    • Inpatient monitoring with resuscitation equipment available
    • Modified protocols with extended infusion/observation intervals if initial attempts fail

Important Clinical Caveats

Cross-Reactivity Among Macrolides

Erythromycin is contraindicated if there is history of hypersensitivity to ANY macrolide agent 1. However, the guidelines note this applies to true hypersensitivity reactions. If the azithromycin "allergy" was:

  • GI intolerance: Try erythromycin or clarithromycin
  • True allergic reaction (rash, angioedema, anaphylaxis): Avoid all macrolides

Erythromycin-Specific Risks in Neonates

If considering erythromycin in infants <1 month, counsel parents about infantile hypertrophic pyloric stenosis (IHPS) risk 1. In one cohort study, 7 out of 157 erythromycin-exposed infants developed IHPS versus 0 out of 125 unexposed infants 1. Monitor for feeding intolerance, projectile vomiting, and visible peristaltic waves.

Emerging Macrolide Resistance

Recent evidence shows macrolide resistance in certain regions 5, 6. If a patient fails to improve on macrolide therapy despite documented compliance, consider TMP-SMZ as second-line even if macrolide allergy is not present 5, 6.

Treatment Algorithm

  1. Age >2 months with azithromycin allergy → TMP-SMZ for 14 days
  2. Age <2 months with GI intolerance to azithromycin → Erythromycin for 14 days (monitor for IHPS)
  3. Age <2 months with true IgE-mediated macrolide allergy → Consider azithromycin desensitization in consultation with allergy/immunology
  4. Age 1-2 months with macrolide allergy → Clarithromycin for 7 days (if >1 month) OR TMP-SMZ for 14 days (if >2 months)

Key Points on Antibiotic Efficacy

Antibiotics eradicate B. pertussis and prevent transmission but do not alter the clinical course once symptoms begin 2, 3. The primary goals are:

  • Rendering the patient non-infectious
  • Preventing spread to vulnerable contacts (especially infants)
  • Reducing duration of bacterial shedding

Treatment should be initiated as early as possible, ideally within the first 3 weeks of illness when bacterial loads are highest.

References

Research

Antibiotics for whooping cough (pertussis).

The Cochrane database of systematic reviews, 2005

Research

Antibiotics for whooping cough (pertussis).

The Cochrane database of systematic reviews, 2007

Research

Clinical Characteristics and Real-World Drug Treatment of Severe Pertussis in Children: A Retrospective Study.

The Canadian journal of infectious diseases & medical microbiology = Journal canadien des maladies infectieuses et de la microbiologie medicale, 2025

Related Questions

Is repeating a course of azithromycin (macrolide antibiotic) necessary for pertussis (whooping cough) treatment after initial treatment to prevent reinfection in family members?
Can a woman in Malaysia who received the routine pertussis vaccine still develop pertussis despite a three‑week dry cough, lymphocytosis, and having completed a 3‑day azithromycin course three days ago?
Do we treat family members prophylactically after a confirmed pertussis (whooping cough) diagnosis via nasal swab?
What is the appropriate management of cough in pertussis (whooping cough)?
Should I refer this stable adult Malaysian woman with a three‑week dry cough, lymphocytosis, and recent azithromycin therapy for pertussis to the emergency department?
What are the differential diagnoses and recommended work‑up for a 16‑year‑old male with a two‑week history of intermittent fever, an initial four‑day episode of vomiting, chills, intermittent dry headache, cough, three‑day edema and erythema of the hands and feet, and a forearm rash, now febrile?
When can a patient with chronic obstructive pulmonary disease exacerbation and viral pneumonia safely receive the pneumococcal vaccine?
What are the emerging topics and recent data on cochlear implantation and the genetics of hearing loss in a university setting?
When should premedication be administered to pediatric patients receiving intravenous immunoglobulin (IVIG)?
Is doxycycline safe for a healthy 9-year-old child, and what is the appropriate dosing regimen?
What is the appropriate dose of oseltamivir (Tamiflu) oral suspension for a patient weighing 49 lb (≈22 kg)?

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.