Routine

Opportunistic-infection prophylaxis in HIV (CD4 thresholds & agents)

OI prophylaxis · Infectious Disease
Physician-written · Verified by three sets of doctors · Reviewed November 2026

Bedside summary

Quick reference: primary OI prophylaxis is guided by CD4 count. ED relevance - recognise who should be on prophylaxis, start/flag it, and continue it for inpatients. ART with immune reconstitution is the definitive prevention and allows prophylaxis to be stopped once CD4 recovers.

Red flags

  • Active OI (treat, do not just prophylax)
  • CD4 <50 (highest OI risk)
  • Pregnancy (avoid certain agents)
  • Sulfa allergy (use alternative agents)
  • Significant drug interactions

Assessment

Differential diagnosis

  • Active OI (needs treatment dosing, not prophylaxis)
  • Low CD4 without prophylaxis
  • Drug allergy limiting first-line agent

Investigations

  • CD4 count (sets the thresholds) + HIV viral load
  • Toxoplasma gondii IgG
  • Serum cryptococcal antigen if CD4 <=100
  • TB screen (symptom screen +/- CXR; IGRA for latent TB)
  • Region-specific fungal serology (coccidioides) where relevant

Management

  • All patients: screen for TB; treat latent TB
  • CD4 <=250 (endemic areas): coccidioidomycosis serology; pre-emptive fluconazole if positive
  • CD4 <=200: start PCP prophylaxis
  • CD4 <=150 (hyperendemic areas): histoplasmosis prophylaxis
  • CD4 <=100 + Toxoplasma IgG positive: toxoplasmosis prophylaxis
  • CD4 <=100: screen serum cryptococcal antigen + pre-emptive therapy if positive
  • Start ART (definitive prevention); stop prophylaxis after sustained CD4 recovery on ART

Drugs & doses

PCP (CD4 <=200, or oral thrush/AIDS illness): co-trimoxazole (TMP-SMX) first-line; alternatives dapsone, atovaquone, or aerosolised pentamidine - exact doses NOT in this source (standard is TMP-SMX 1 DS tablet daily; flag)
Toxoplasmosis (CD4 <=100 + T. gondii IgG positive): co-trimoxazole (TMP-SMX); alternatives dapsone + pyrimethamine + leucovorin, or atovaquone +/- pyrimethamine/leucovorin
Cryptococcus (CD4 <=100): screen serum CrAg -> pre-emptive antifungal if positive
Histoplasmosis (CD4 <=150, hyperendemic areas): itraconazole 200 mg PO once daily
Coccidioidomycosis (CD4 <=250, endemic areas, serology positive): pre-emptive fluconazole (dose not specified)
TB: treat latent TB per local protocol regardless of CD4
MAC: routine prophylaxis NO LONGER recommended if ART started promptly (azithromycin only if ART must be delayed)
ART is the definitive prophylaxis - start/continue

Disposition

Outpatient HIV/ID for prophylaxis initiation + CD4 monitoring; ensure inpatients continue their prophylaxis; start ART.

Complications & pitfalls

  • Breakthrough OI if prophylaxis missed/stopped early
  • Drug toxicity/allergy (sulfonamides)
  • IRIS on starting ART
  • MAC if ART is delayed

Exam pearls

  • Co-trimoxazole covers BOTH PCP (<=200) and toxoplasmosis (<=100) - one drug, two indications
  • Serum cryptococcal antigen screening at CD4 <=100 catches pre-symptomatic disease
  • Routine MAC prophylaxis is no longer advised if ART is started promptly
  • ART + immune recovery lets you discontinue prophylaxis

Disclaimer: Educational decision support for qualified clinicians and students — not a substitute for clinical judgement, local protocols or a full drug reference. Confirm every dose and contraindication against your formulary before prescribing.