General information only. It does not replace advice from a health professional. Do not self-medicate with antibiotics. For fever with a rash, a stiff neck, confusion or difficulty breathing, call emergency services.

What it is
Pneumocystis is a very peculiar fungus of the ascomycete phylum with a confused history: for decades it was classified as a protozoan, until in 1988 analysis of its ribosomal RNA showed it to be a fungus. Key features:
- Shape: two forms live in the alveoli: small trophic forms (1-4 µm) that attach to alveolar cells, and asci or "cysts" (5-8 µm) containing eight spores. Silver stains (Grocott) and toluidine blue stain the cysts; Giemsa stains the trophic forms.
- Cannot be cultured: no laboratory medium supports its growth, so susceptibility testing is impossible.
- Cholesterol instead of ergosterol in the membrane: hence it does not respond to azoles or amphotericin B, which target ergosterol. It is susceptible to drugs that block folate synthesis (such as co-trimoxazole).
- Host specificity: each mammal species has its own Pneumocystis. P. jirovecii is the human one; P. carinii is the rat species, a name used for the human organism until 2002.
- Reservoir: humans only. Antibody studies show that most children are infected by the age of 2-4.
More on fungal biology in fungi and parasites.
Facts and figures
- Denning's global estimate (Lancet Infect Dis, 2024) suggests about 505,000 cases of Pneumocystis pneumonia a year and 214,000 deaths (around 42%).
- In people with HIV, in-hospital mortality is 10-20%; in people without HIV it is 30-60%, depending on the series, because the disease progresses faster and is diagnosed later.
- In Spain, Pneumocystis pneumonia remains, together with tuberculosis, one of the most frequent AIDS-defining illnesses, often the first sign in people who did not know they had HIV (late diagnosis). See AIDS and advanced HIV disease.
- In high-income countries, cases in people without HIV (transplants, blood cancers, biologic drugs, steroids) now outnumber cases in people with HIV in many hospitals.
How it spreads
Through the air, from person to person. Many healthy people carry it transiently in the lungs (colonisation) without becoming ill and act as a reservoir. Hospital outbreaks have been described in kidney transplant and haematology units, so it is advised that a person with Pneumocystis pneumonia should not share a room with someone immunosuppressed. Disease may result from new infection or reactivation of prior colonisation. See how infections spread.
How it causes disease
Control of the fungus depends on CD4 T lymphocytes, alveolar macrophages and antibodies (see the immune system against infection). When these fail, the fungus multiplies and fills the alveoli with foamy material; the inflammation it triggers, more than the fungus itself, damages the lung and impairs gas exchange. That is why steroids help in moderate or severe HIV-associated disease, and why the illness sometimes worsens when treatment begins.
Risk factors:
| Group | Risk situations |
|---|---|
| HIV | CD4 < 200/µL (or < 14%), oral thrush, previous Pneumocystis pneumonia, high untreated viral load; see CD4 values |
| Steroids | Equivalent to ≥ 20 mg/day prednisolone for ≥ 4 weeks, especially combined with other immunosuppressants |
| Blood cancers | Acute lymphoblastic leukaemia, lymphomas, treatment with fludarabine, alemtuzumab, idelalisib or rituximab |
| Transplants | Haematopoietic stem cell and solid organ, particularly in the first 6-12 months and with intensive anti-rejection treatment |
| Others | Autoimmune diseases (vasculitis such as granulomatosis with polyangiitis), temozolomide with radiotherapy, congenital immunodeficiencies, severe malnutrition in infants |
Diseases it causes
| Disease | Who | Key features | More information |
|---|---|---|---|
| Pneumocystis pneumonia in HIV | CD4 < 200/µL | Subacute onset (2-4 weeks): dry cough, breathlessness on exertion, fever; oxygen saturation drops on walking | Opportunistic infections in HIV |
| Pneumocystis pneumonia without HIV | Blood cancers, transplants, steroids, biologics | Acute onset (days), rapid respiratory failure; often as steroids are tapered | Immunosuppression and transplantation |
| Pneumothorax | Mainly HIV | Cysts and pneumatoceles that rupture | — |
| Extrapulmonary disease | Very rare (HIV on inhaled pentamidine) | Lymph nodes, spleen, liver, eye | — |
It often coexists with other opportunistic infections such as cytomegalovirus, tuberculosis or oral candidiasis. The chest X-ray may be normal early on; a chest CT typically shows bilateral, mainly central ground-glass change, sometimes with cysts. Unlike bacterial community-acquired pneumonia, pleural effusion is rare.
Colonisation versus infection
PCR methods are so sensitive that they detect the fungus in colonised people without pneumonia (up to 20-40% in some groups, such as people with COPD or on immunosuppressants). A positive result must therefore be interpreted with the clinical picture, the CT and, where available, the fungal load (quantitative PCR). A negative PCR on bronchoalveolar lavage reasonably rules out disease.
Microbiological diagnosis
| Test | Specimen | Interpretation | Performance and limits |
|---|---|---|---|
| Direct immunofluorescence | Induced sputum, bronchoalveolar lavage | Fluorescent cysts and trophic forms | Very specific; high sensitivity in HIV (heavy burden), lower without HIV |
| Stains (Grocott silver, toluidine blue, Giemsa) | Lavage, induced sputum, biopsy | Direct visualisation | Specific; less sensitive than PCR; see microscopy |
| Real-time PCR | Lavage (best), induced sputum, nasopharyngeal swab | Positive/negative; quantitative PCR helps separate infection from colonisation | Sensitivity > 95% in lavage; see PCR |
| Beta-D-glucan (1,3-β-D-glucan) | Serum | Positive if ≥ 80 pg/mL (assay-dependent) | Sensitivity around 90-95% in HIV; a negative result makes pneumonia unlikely; non-specific (other fungi too) |
| LDH | Blood | Raised | Very non-specific; useful for monitoring |
| Blood gases or pulse oximetry | Arterial blood | PaO₂ < 70 mmHg (9.3 kPa) or alveolar-arterial gradient ≥ 35 mmHg = moderate-severe disease | Determines whether to add steroids in HIV |
| CD4 count and HIV test | Blood | CD4 < 200/µL in most HIV-associated cases | Everyone with this pneumonia should have an HIV test; see HIV tests, viral load and CD4 |
How specimens are obtained is explained in collecting and transporting specimens. When suspicion is reasonable and the patient is unwell, treatment should not be delayed for testing: the fungus remains detectable for days after starting.
Resistance
Because it cannot be cultured, there is no susceptibility testing. Mutations in the dihydropteroate synthase (DHPS) gene, the sulphonamide target, have been described, more often in people who had taken co-trimoxazole or dapsone prophylaxis, but their effect on treatment failure is uncertain: co-trimoxazole remains the drug of choice. Azoles, amphotericin B and flucytosine are inactive; echinocandins act only on cysts and are not standard treatment.
Treatment
Treatment follows the HIV opportunistic infection guidelines (NIH/CDC/IDSA, current version), the EACS Guidelines, BHIVA and GeSIDA for HIV, and the ECIL-5 (2016) guidelines for haematology patients without HIV. The drug of choice is described in tetracyclines, co-trimoxazole and clindamycin. Decisions are made by the medical team.
| Situation | First choice | Alternatives | Duration and notes |
|---|---|---|---|
| Any severity | Co-trimoxazole (trimethoprim 15-20 mg/kg/day + sulfamethoxazole 75-100 mg/kg/day), oral or intravenous | Severe: intravenous pentamidine or primaquine + clindamycin. Mild-moderate: atovaquone, trimethoprim + dapsone | 21 days in HIV; 14-21 days in other patients |
| Moderate-severe hypoxaemia in HIV (PaO₂ < 70 mmHg or gradient ≥ 35 mmHg) | Add prednisolone within 72 hours, in a 21-day tapering course | Intravenous methylprednisolone | Reduces mortality and the need for ventilation |
| Without HIV | As above | — | Benefit of steroids is uncertain and decided case by case |
Key points:
- Side effects of high-dose co-trimoxazole: rash (sometimes severe, such as Stevens-Johnson syndrome), fever, low white cell and platelet counts, high potassium, worsening kidney function and hepatitis. Before using primaquine or dapsone, glucose-6-phosphate dehydrogenase deficiency must be excluded. Several observational studies and meta-analyses from 2024-2025 suggest that lower doses of co-trimoxazole (under 15 mg/kg/day trimethoprim) may be equally effective and better tolerated, especially in people without HIV, but conclusive randomised trials are still lacking.
- Starting antiretroviral therapy: in people with HIV it is recommended within the first two weeks of pneumonia treatment (ACTG A5164 trial, 2009), watching for immune reconstitution syndrome. See antiretroviral therapy and the HIV treatment guide.
- There may be worsening in the first 3-5 days due to inflammation as the fungus dies; this does not necessarily mean failure.
- After treatment, secondary prophylaxis must continue.
Prevention
Co-trimoxazole prophylaxis is one of the most effective measures in HIV and transplant medicine: it also prevents toxoplasmosis and some bacterial infections.
| Who | Preferred prophylaxis | Alternatives | When to stop |
|---|---|---|---|
| HIV with CD4 < 200/µL (or < 14%), or oral thrush | Co-trimoxazole (1 tablet daily or three times a week) | Dapsone, atovaquone, monthly nebulised pentamidine | CD4 > 200/µL for ≥ 3 months on antiretroviral therapy (some guidelines: CD4 100-200/µL with sustained undetectable viral load) |
| Stem cell and solid organ transplant | Co-trimoxazole | As above | Per protocol (usually 6-12 months or while intensive immunosuppression lasts) |
| Acute lymphoblastic leukaemia, alemtuzumab, fludarabine, idelalisib | Co-trimoxazole | As above | Per treatment |
| Steroids ≥ 20 mg/day for ≥ 4 weeks with another risk factor | Co-trimoxazole | As above | When steroids are tapered |
A 2025 meta-analysis in people without HIV suggests that low-dose prophylactic co-trimoxazole is effective and better tolerated. Diagnosing HIV early prevents many cases: see HIV infection.
Warning signs: if you live with HIV and have a low CD4 count, have a transplant or a blood cancer, or take steroids, see a doctor promptly for a dry cough and breathlessness that keep getting worse over days or weeks, and seek emergency care (call 112 in Europe, or your local emergency number) for difficulty breathing at rest, bluish lips, sudden chest pain (it may be a pneumothorax) or confusion.
Curiosities and brief history
- Carlos Chagas saw the organism in 1909 in guinea-pig lungs and took it for a stage of the trypanosome he was studying; Antonio Carini observed it in rats in 1910, and in 1912 the Delanoës in Paris showed it was a distinct organism and named it Pneumocystis carinii.
- After the Second World War it caused epidemics of "interstitial plasma cell pneumonia" in premature and malnourished infants in central European orphanages. The Czech Otto Jírovec studied it, and his name lives on in the human species.
- On 5 June 1981, the CDC's MMWR described five cases of Pneumocystis pneumonia in young gay men in Los Angeles: the first official report of what would later be called AIDS.
Myths and facts
- "It's a parasite." That was believed for decades, but it is a fungus, albeit a very atypical one.
- "If it's a fungus, it's treated with antifungals." No: standard antifungals do not work; it is treated with co-trimoxazole.
- "It only affects people with HIV." False: many cases now occur in people without HIV on immunosuppressive treatment.
- "Co-trimoxazole prophylaxis is for life." No: in HIV it is stopped once CD4 counts recover on antiretroviral therapy.
Sources
- Denning DW. Global incidence and mortality of severe fungal disease. Lancet Infect Dis. 2024;24:e428-38.
- NIH ClinicalInfo. Guidelines for the prevention and treatment of opportunistic infections in adults and adolescents with HIV: Pneumocystis pneumonia. Current version.
- European AIDS Clinical Society. EACS Guidelines. Current version.
- Maertens J, et al. ECIL guidelines for preventing Pneumocystis jirovecii pneumonia in patients with haematological malignancies and stem cell transplant recipients. J Antimicrob Chemother. 2016;71:2397-404. doi:10.1093/jac/dkw157
- Maschmeyer G, et al. ECIL guidelines for treatment of Pneumocystis jirovecii pneumonia in non-HIV-infected haematology patients. J Antimicrob Chemother. 2016;71:2405-13. doi:10.1093/jac/dkw158
- Low-dose trimethoprim-sulfamethoxazole treatment for Pneumocystis pneumonia: a systematic review and meta-analysis. 2024.
- Low-dose trimethoprim-sulfamethoxazole for prophylaxis of Pneumocystis jirovecii pneumonia in HIV-uninfected patients: a systematic review and meta-analysis. 2025.
- Zolopa A, et al. Early antiretroviral therapy reduces AIDS progression/death in individuals with acute opportunistic infections (ACTG A5164). PLoS One. 2009;4:e5575.
- Centers for Disease Control. Pneumocystis pneumonia — Los Angeles. MMWR. 1981;30:250-2.
Sources reviewed and updated in November 2026.
History · Medicapedia
The history of this condition
How it was described, who studied it and how its treatment has changed over the centuries, on Medicapedia, our sister encyclopedia of the history of medicine.