HIV & Opportunistic Infections
The CD4 staircase of opportunistic infections and when to start ART
Diagnosis and acute HIV
Screen with a 4th-generation test. USPSTF recommends screening everyone aged 15–65, plus every pregnancy and anyone at ongoing risk. The screen is a 4th-generation HIV-1/2 antigen/antibody combination immunoassay, which detects p24 antigen plus antibody and so turns positive earlier than antibody-only tests. Confirm a reactive result with an HIV-1/HIV-2 antibody differentiation assay, and use HIV RNA (viral load) when results are discordant or acute infection is suspected.
- 4th-gen Ag/Ab immunoassayp24 + antibody screen
- HIV-1/2 antibody differentiationConfirms and types
- HIV-1 RNA if discordantCatches acute infection
- CD4 + viral load baselineStage and monitor
Acute retroviral syndrome mimics mono. Two to four weeks after exposure, patients develop fever, lymphadenopathy, pharyngitis, a maculopapular rash, myalgias, and mucocutaneous ulcers. Viral load is very high but antibody tests may still be negative, so order HIV RNA.
A mono-like illness with a rash and a negative Monospot should trigger HIV RNA testing.
Antiretroviral therapy and monitoring
Start ART immediately, in everyone. Begin antiretroviral therapy in ALL patients regardless of CD4 count, ideally at diagnosis. Standard initial regimens pair two NRTIs (tenofovir + emtricitabine) with an integrase strand-transfer inhibitor (dolutegravir or bictegravir). Baseline studies include resistance genotyping and hepatitis B serology, because tenofovir and emtricitabine also suppress HBV and stopping them can trigger a flare.
Viral load tracks response, CD4 tracks risk. Viral load measures treatment response; the goal is undetectable, expected within months of effective ART, and undetectable equals untransmittable (U=U). CD4 count gauges immune status and opportunistic-infection risk and sets the prophylaxis plan.
The main exception to "start now" is cryptococcal meningitis, where ART is deferred several weeks after antifungal therapy begins because early ART raises the risk of fatal IRIS.
Opportunistic infections by CD4 count
- CD4 <500Thrush, zoster, Kaposi sarcoma
- CD4 <200PCP: start TMP-SMX
- CD4 <100Toxoplasma, Cryptococcus
- CD4 <50MAC, CMV retinitis
| Infection | CD4 | Clues | Treatment |
|---|---|---|---|
| Pneumocystis jirovecii (PCP) | <200 | Dry cough, dyspnea, hypoxia, high LDH, bilateral interstitial infiltrates | TMP-SMX; steroids if PaO2 <70 mmHg or A-a gradient ≥35 |
| Toxoplasma gondii | <100 | Multiple ring-enhancing brain lesions | Sulfadiazine + pyrimethamine |
| Cryptococcus neoformans | <100 | Meningitis with high opening pressure; cryptococcal antigen or India ink | Amphotericin B + flucytosine, then fluconazole |
| Mycobacterium avium complex | <50 | Disseminated: fever, weight loss, night sweats | Clarithromycin + ethambutol |
| CMV retinitis | <50 | Floaters, painless visual loss | Ganciclovir or valganciclovir |
Pneumocystis is the classic AIDS-defining pneumonia: subacute, with exertional hypoxia out of proportion to the exam. Corticosteroids reduce mortality in moderate to severe disease, defined by the PaO2 or A-a gradient cutoffs above.
Cryptococcal meningitis presents subacutely with headache and fever; the high opening pressure is relieved with serial lumbar punctures.
CNS lesions and GI infections
| Feature | Toxoplasmosis | Primary CNS lymphoma | PML |
|---|---|---|---|
| Cause | Toxoplasma gondii | EBV | JC virus |
| Imaging | Multiple ring-enhancing lesions | Single ring-enhancing periventricular lesion | Non-enhancing white-matter lesions |
| Approach | Empiric anti-Toxoplasma therapy | Biopsy if lesions fail to respond to Toxoplasma treatment | ART; no specific antiviral |
Odynophagia: Candida, CMV, HSV. Candida esophagitis (white plaques) is the most common cause and is AIDS-defining; empiric fluconazole is both diagnostic and therapeutic. Persistent symptoms despite fluconazole prompt endoscopy with biopsy: CMV causes large linear ulcers (ganciclovir) and HSV small punched-out ulcers (acyclovir).
Diarrhea. Cryptosporidium causes chronic watery diarrhea in advanced disease; restoring immunity with ART is the key treatment.
Prophylaxis, IRIS, and prevention
The prophylaxis thresholds to memorize. TMP-SMX for PCP at CD4 <200 (or oropharyngeal candidiasis, or CD4 below 14%); TMP-SMX for Toxoplasma at CD4 <100 if seropositive; azithromycin for MAC at CD4 <50, now only when fully suppressive ART is not started promptly. Discontinue prophylaxis once ART restores CD4 above the thresholds. For sulfa allergy, dapsone (after checking G6PD) or atovaquone can cover PCP.
IRIS: getting worse after starting ART. As immunity recovers, it can paradoxically worsen a known infection or unmask a hidden one, classically TB, MAC, or Cryptococcus, surfacing weeks into ART as CD4 rises. Continue ART and treat the underlying infection, adding steroids in severe cases.
PrEP and PEP. Pre-exposure prophylaxis is daily oral tenofovir disoproxil/emtricitabine or tenofovir alafenamide/emtricitabine (the latter not for receptive vaginal sex), or injectable cabotegravir every 2 months or lenacapavir twice yearly, for high-risk HIV-negative people, with baseline and periodic HIV testing; confirm the person is HIV-negative before starting, because two drugs would undertreat an undiagnosed infection and breed resistance. Post-exposure prophylaxis after occupational or sexual exposure is a three-drug regimen (preferred: tenofovir/emtricitabine + dolutegravir, or bictegravir/emtricitabine/tenofovir alafenamide) started within 72 hours and continued for 28 days. Sooner is better, because efficacy falls as time passes.