The Infection Most Doctors Would Name First
The example most clinicians would give is Pneumocystis jirovecii pneumonia, usually shortened to PCP. It's the infection that essentially defined AIDS in the early epidemic and remains the classic opportunistic pathogen tied to HIV. The key boundary: PCP is rare in people with healthy immune systems and becomes a serious threat when CD4 counts fall below roughly 200 cells per microliter. Historically, PCP was the AIDS-defining illness in about 42% of people newly diagnosed with AIDS in the United States before combination antiretroviral therapy became standard, according to the Centers for Disease Control and Prevention's surveillance reporting. That number matters because it explains why PCP, not tuberculosis or cryptococcosis, is the textbook first answer.
But PCP isn't the only answer, and it isn't the same everywhere. The opportunistic infections that dominate in a given region depend heavily on local pathogen exposure and access to prophylaxis and antiretroviral treatment. In parts of sub-Saharan Africa, tuberculosis is the most common HIV-associated opportunistic infection; in Southeast Asia, cryptococcal meningitis carries a heavier burden. Knowing which infections cluster around low CD4 counts matters for both diagnosis and prevention, and that's what this article works through.
Why PCP Is Considered the Benchmark Opportunistic Infection
PCP earns its first-place reputation because its timing is so predictable. Pneumocystis jirovecii is a ubiquitous fungus people encounter throughout life; most adults have antibodies to it by childhood. In a person with intact CD4 T-cell function, that exposure is harmless. When CD4 cells drop below 200 per microliter, the immune system can no longer keep the fungus contained, and the organism colonizes and inflames the lungs.
The clinical picture is what clinicians are taught to recognize: insidious onset of shortness of breath, a dry cough, and fever over days to weeks, often with oxygen saturation that drops sharply during exertion while looking normal at rest. That "normal at rest, abnormal on exertion" pattern is a concrete diagnostic clue that top-level symptom lists often gloss over. Chest imaging frequently shows bilateral ground-glass opacities, but early films can look normal, which is one reason sputum sampling and bronchoscopy still matter.
Prevention is well standardized. The CDC's 2002 guidelines, still the operative reference framework, recommend trimethoprim-sulfamethoxazole prophylaxis for adults and adolescents with CD4 counts under 200 cells per microliter, or a history of oropharyngeal candidiasis. Prophylaxis typically continues until CD4 counts recover and stay above 200 for at least three months on antiretroviral therapy. That three-month buffer is a detail many summaries omit, and skipping it can trigger a recurrence during early immune recovery.
A failure case worth knowing: a patient starts antiretroviral therapy with a CD4 count of 90, feels better within weeks, and stops prophylaxis early because "the viral load is undetectable." Undetectable viral load doesn't mean recovered immunity. CD4 reconstitution lags, and stopping prophylaxis before the buffer is met has been linked to rebound PCP in clinical case literature. The lesson is that viral suppression and immune recovery are separate milestones.
How CD4 Counts Map to Specific Infection Risk
The CD4 count is the organizing principle for HIV opportunistic infections, and the thresholds are worth memorizing because each one signals a different preventive action.
| CD4 count (cells/µL) | Infection most associated | Standard prevention trigger |
|---|---|---|
| Under 200 | Pneumocystis jirovecii pneumonia | Trimethoprim-sulfamethoxazole prophylaxis |
| Under 100 | Toxoplasma gondii encephalitis | TMP-SMX (same drug covers both) |
| Under 50 | Mycobacterium avium complex (MAC) | Azithromycin or clarithromycin prophylaxis |
| Under 50 | Cytomegalovirus retinitis | Screening exams; ganciclovir if indicated |
| Any count, but especially under 200 | Tuberculosis | Testing and latent TB treatment |
The table hides an elegant practical point: trimethoprim-sulfamethoxazole covers both PCP and toxoplasmosis, so a single prophylactic drug protects against the two most common CD4-under-200 infections. That overlap is a reason health systems do well with a single first-line agent.
Timing of prophylaxis initiation depends on the count trajectory, not just the current number. A patient whose CD4 count is at 190 but has been declining steadily is a different risk case than one whose count just dipped transiently to 190 while on successful treatment. Guidelines address the sustained threshold, and clinicians weigh trends. The number determines the trigger; the trend shapes urgency.
There's also a diagnostic trap. Some early PCP cases occur at CD4 counts above 200, particularly in people who are older or have other lung disease. The 200 cutoff is a public-health trigger for prophylaxis, not a strict biological wall. That's why PCP stays on the differential even when a count technically clears the threshold but the clinical picture fits.
The Infections Beyond PCP: TB, Cryptococcus, MAC, and CMV
Each of these infections fills a specific ecological and immunological niche, and knowing them together prevents the mistake of treating "HIV-related infection" as one undifferentiated category.
| Infection | Causative organism | Typical CD4 zone | Signature clinical clue |
|---|---|---|---|
| Tuberculosis | Mycobacterium tuberculosis | Any, highest overall burden | Prolonged cough, weight loss, night sweats |
| Cryptococcal meningitis | Cryptococcus neoformans | Under 100 | Headache, fever, neck stiffness |
| Disseminated MAC | Mycobacterium avium complex | Under 50 | Fever, night sweats, weight loss, anemia |
| CMV retinitis | Cytomegalovirus | Under 50 | Floaters, blurred vision, visual field loss |
Tuberculosis deserves separate attention because it sits at both ends of the CD4 spectrum: it's the most common HIV-associated infection globally and reacts differently depending on immune status. At high CD4 counts, TB looks like classic reactivation disease with upper-lobe cavities. At low counts, it can present atypically, with lower-lobe involvement, mediastinal lymphadenopathy, and negative sputum smears, which delays diagnosis and drives transmission before treatment.
Cryptococcal meningitis behaves differently again. It kills an estimated 15% of people living with advanced HIV who develop it, and the World Health Organization identifies it as a leading cause of adult meningitis in Africa. Screening for cryptococcal antigen in people with CD4 under 100 is now recommended in high-burden settings because the antigen shows up in blood weeks before meningitis develops. That screening gap is where many deaths occur.
MAC and CMV both cluster under CD4 50, but each demands specific monitoring. MAC prevention is drug prophylaxis; CMV demands regular dilated eye exams, because vision loss can progress silently until widespread retinal damage has occurred. Moving CD4 counts and prophylactic coverage decisions belong with an HIV specialist who knows local resistance patterns.
Prophylaxis Decisions That Change the Real-World Course
Prevention programs are where the greatest outcome gains sit, and the choices are concrete rather than abstract.
Trimethoprim-sulfamethoxazole is the workhorse, and its dosing is specific: one double-strength tablet daily is the standard adult dose for PCP prophylaxis, with adjustments for renal function. The most predictable problem is allergy or intolerance, seen in a meaningful minority of patients, especially those with low CD4 counts. For those patients, dapsone, atovaquone, or aerosolized pentamidine are the alternatives, and each has its own trade-offs. Dapsone requires checking glucose-6-phosphate dehydrogenase status first, because deficiency increases hemolytic risk.
Adherence, not drug choice, drives most prophylaxis failures. A daily single pill sounds simple, but it competes with a heavy pill burden for antiretroviral therapy and opportunistic infection treatment in advanced HIV. Taking it consistently enough to maintain immunity is the practical challenge, and missed doses are the common failure mode.
In resource-limited settings, a programmatic formula matters: mass distribution of co-trimoxazole prophylaxis to people with CD4 under 200 has been shown to reduce mortality independent of antiretroviral therapy, and the WHO recommends it as a package with TB screening and antigen testing. That package approach is why, in high-burden settings, the practical answer to "which opportunistic infection" depends on what you can screen and treat, not just what's most common statistically.
What the Numbers Say About Burden and Timing
Precise global split between HIV opportunistic infections is hard to pin down, but the dominant clinical figures are stable enough to work from. In untreated HIV, PCP carries a case fatality of roughly 10–20% with treatment and substantially higher without it; cryptococcal meningitis has been estimated at 15–30% in African cohorts even with treatment, which is why cryptococcal screening became a priority. Tuberculosis is the leading cause of death among people with HIV worldwide, according to WHO figures, accounting for about 1 in 3 HIV-related deaths in some regional estimates.
A worked calculation shows why prophylaxis guidelines are shaped as they are. Imagine 1,000 people with HIV and CD4 counts under 200. If PCP would develop in roughly 10–20 per 100 person-years without prophylaxis, and daily co-trimoxazole cuts that to near zero for those who stay adherent, the number needed to treat is small—usually under 20 in studies of populations with moderate CD4 suppression. That arithmetic, not clinical intuition, is why the guidelines adopt universal prophylaxis below 200 rather than waiting for symptoms.
The timing dimension is equally important. Prophylaxis is not forever. Once a patient is on antiretroviral therapy and CD4 counts recover above the relevant threshold for at least three months, prophylaxis can typically stop, and this is a deliberate de-escalation that prevents patients from taking unnecessary long-term medication. Stopping on the right schedule requires reliable CD4 monitoring, which remains a resource constraint in some regions.
How Diagnosis Catches These Infections in Time
Diagnosis of HIV-associated opportunistic infections is where the gap between guidelines and real practice shows most clearly. For PCP, the reference standard is direct microscopic visualization of the organism from induced sputum or bronchoalveolar lavage, combined with a polymerase chain reaction test that has become increasingly available. Because sputum induction requires trained staff and equipment, many centers rely on PCR alone, and the trade-off is that PCR can be positive in asymptomatic colonization, so clinical correlation is essential.
For TB, the game-changer has been rapid molecular testing such as Xpert MTB/RIF, which detects Mycobacterium tuberculosis and rifampicin resistance in under two hours from sputum. WHO recommends it as the initial diagnostic test in people with HIV, and for good reason: smear microscopy misses a substantial proportion of HIV-associated TB, and delayed diagnosis drives mortality. That's a diagnosed-versus-undiagnosed gap that drug regimens alone can't close.
Cryptococcal diagnosis relies on a simple blood antigen test that can be run at low cost and yields results in minutes. Deploying it as a screening tool in people with low CD4 counts, followed by lumbar puncture and treatment if positive, is estimated to reduce cryptococcal mortality meaningfully in settings where it's been deployed. The test is the bottleneck removal—screening asymptomatic people before they develop meningitis.
For MAC, blood culture and nucleic acid testing take days to weeks, so diagnosis is often presumptive in a patient with advanced HIV and compatible symptoms. CMV retinitis is diagnosed by dilated fundoscopy, which is fast but requires a trained ophthalmologist; in resource-limited settings, training gaps mean vision-threatening disease can go undetected. Each of these diagnostics carries a specific weak point that protocols compensate for.
Special Situations: Pregnancy, Drug Interactions, and IRIS
Standardized CD4 thresholds work well for typical adult cases, but three special situations change the answer to "how should this opportunistic infection be handled."
Pregnancy alters drug choices. Trimethoprim-sulfamethoxazole can generally be used for PCP prophylaxis during pregnancy, but the timing and dose should be reviewed with an obstetrician or HIV specialist because of theoretical concerns early in pregnancy. Cryptococcal disease in pregnancy requires balancing maternal and fetal risk, and treatment choices are individualized.
Drug interactions are another real-world trap. PCP prophylaxis with co-trimoxazole interacts with warfarin and other drugs, and some antiretroviral agents compete for the same liver enzymes as dapsone or atovaquone. That's why prophylaxis isn't purely a CD4-driven decision; it's a full medication review.
The third and most clinically important is immune reconstitution inflammatory syndrome, or IRIS. When antiretroviral therapy begins and the immune system starts recovering, patients with latent or partially treated opportunistic infections can develop paradoxical worsening: fever, enlarged lymph nodes, or worsening lung findings despite improving CD4 counts. IRIS is common with TB and cryptococcal disease, and treatment usually involves continuing antiretroviral therapy while managing inflammation, sometimes with corticosteroids. IRIS is the failure scenario many simplified guides omit; a patient who responds well to treatment can still worsen in the weeks after starting HIV therapy, and clinicians need to recognize it as immune recovery rather than treatment failure nor a reason to stop antiretroviral therapy.
What People Get Wrong About These Infections
Three misconceptions recur most often. The first is that PCP only happens with a CD4 count below 200—true enough that it's the guideline trigger but misleading as a biological rule, since PCP can occur at higher counts in people with other lung disease. The second is that all opportunistic infections are "AIDS-defining" in the same way; in fact, most are not, and the CDC's AIDS definition depends on specific list criteria combined with CD4 count and clinical criteria.
The third is that treating the opportunistic infection alone is sufficient. The definitive intervention for every one of these infections is antiretroviral therapy addressing the underlying HIV, and treating the infection without starting HIV treatment leaves the immune suppression in place. Current guidelines generally recommend starting antiretroviral therapy within weeks of treating an opportunistic infection, with timing depending on which infection is present—for cryptococcal meningitis, treatment is usually delayed a few weeks to reduce IRIS risk, whereas for TB, earlier initiation improves survival.
FAQ
Does PCP still occur in people taking HIV medication?
Yes—cases still occur, mainly in people with undiagnosed HIV or inconsistent adherence. Modern antiretroviral therapy reduces but doesn't eliminate the risk in those with severely depleted CD4 counts who haven't achieved immune recovery. That's why prophylaxis continues until CD4 counts recover and remain above 200 for at least three months.
Is tuberculosis or PCP the most common HIV-associated opportunistic infection?
Tuberculosis is the most common worldwide by total case count, while PCP is the classic AIDS-defining infection in high-income settings. The answer depends on where you look: TB prevalence and risk of exposure dominate in high-burden regions, while PCP dominates where TB is less common. Both remain independently prevention targets.
Can opportunistic infections be cured?
Many can be cured with appropriate treatment, but cure depends on the infection and the immune status. PCP is usually treatable with trimethoprim-sulfamethoxazole, and TB requires multi-drug regimens. The underlying immune suppression must also be addressed with antiretroviral therapy to prevent recurrence.
How low does CD4 need to fall before infections appear?
CD4 under 200 opens the door to PCP, under 100 to toxoplasmosis and cryptococcosis, and under 50 to MAC and CMV. These thresholds are guidance, not cliffs; some infections appear above the threshold, particularly in older adults or people with other disease.
Why is PCP prophylaxis often a single daily tablet?
Trimethoprim-sulfamethoxazole covers both PCP and toxoplasmosis, so one drug handles the two most common CD4-below-200 infections. The daily double-strength tablet is the standard adult dose, with adjustments for kidney function and allergies.
What is IRIS, and can it be mistaken for treatment failure?
IRIS is immune reconstitution inflammatory syndrome, a paradoxical worsening of symptoms after starting antiretroviral therapy as the immune system recovers. It can resemble treatment failure but usually reflects immune improvement and is managed by continuing HIV treatment while treating inflammation.
Does starting antiretroviral therapy prevent opportunistic infections completely?
It reduces risk substantially, but prevention depends on restoring CD4 counts. Until immune recovery is confirmed, prophylaxis continues. Timing of antiretroviral therapy initiation matters too—too early in cryptococcal disease increases IRIS risk, while early initiation in TB improves survival.
The information here is general educational content, not a diagnosis or treatment plan. HIV and opportunistic infection decisions depend on your CD4 count, viral load, other medications, pregnancy status, and local resistance patterns, so consult a qualified HIV clinician or infectious disease specialist. If you have severe symptoms such as worsening breathlessness, severe headache, or vision changes, seek urgent medical care or contact local emergency services right away.