Pneumocystis jirovecii pneumonia
Peer reviewed by Dr Doug McKechnie, MRCGPLast updated by Dr Colin Tidy, MRCGPLast updated 19 Aug 2024
Meets Patientās editorial guidelines
- DownloadDownload
- Share
Medical Professionals
Professional Reference articles are designed for health professionals to use. They are written by UK doctors and based on research evidence, UK and European Guidelines. You may find one of ourĀ health articlesĀ more useful.
In this article:
Synonym: pneumocystosis
Continue reading below
What is pneumocystis jirovecii pneumonia?
Pneumocystis jirovecii is a ubiquitous fungus, which causes pneumonia in humans.1 Extrapulmonary disease occurs occasionally.
Pneumocystis pneumonia (PCP) is a major cause of morbidity and mortality among immunocompromised people. It remains a leading AIDS-defining opportunistic infection in HIV-infected individuals.2 However, about half of patients with PCP do not have HIV infection.3
Pneumocystis organisms from different host species have very different DNA sequences, indicating multiple species. Because of the genetic and functional distinctness, the organism that causes human PCP (formerly known as Pneumocystis carinii) is now named Pneumocystis jirovecii.4 P. jirovecii is a unicellular eukaryote which shares characteristics with both protozoa and fungi.
How common is pneumocystis jirovecii pneumonia? (Epidemiology)
DNA studies suggest that P. jirovecii is frequently found in healthy adults in the normal community. It can cause a transient infection in an immunocompetent host.
A UK study of reported cases in England between 2000-2010 showed an increase of laboratory-confirmed cases of 7% per year. These were principally non-HIV infected cases, mainly in immunocompromised transplant recipients or patients with haematological malignancy.5
The rates of PCP are increasing in the HIV-negative susceptible population, which includes transplant recipients.6
The introduction of antiretroviral therapy (ART) dramatically reduced the incidence of PCP in HIV-positive individuals.7
In the developing world, rates of PCP are lower, possibly due to poor survival with HIV, underdiagnosis and prior pulmonary infection with tuberculosis and other organisms.8
Risk factors
PCP tends to affect HIV-positive patients who have a CD4 count below 200 cells/mm3.
HIV patients with oral thrush or fever, or AIDS-defining diagnosis.
Patients taking steroids or other immunosuppressants.
Patients with haematological malignancy.
Organ transplant recipients.
Connective tissue diseases such as rheumatoid arthritis.
Congenital immune deficiency - eg, thymic aplasia, severe combined immune deficiency (SCID), hypogammaglobulinaemia.
Severe malnutrition (poor nutrition in HIV-positive individuals increases risk).
Pre-existing lung disease.
Continue reading below
Symptoms of pneumocystis jirovecii pneumonia (presentation)39
Cough is usually non-productive but productive cough may occur in up to a third of patients.
Exertional dyspnoea.
Fever.
Tachypnoea.
Chest pain.
There may be signs of AIDS such as thrush, oral hairy leukoplakia or Kaposi's sarcoma.
Respiratory examination is highly variable and often normal. Scattered crackles and wheeze may be present, or (rarely) signs of focal consolidation.
Pulse oximetry may show low SaO2 at rest.
Extrapulmonary disease may manifest as hepatosplenomegaly, lymphadenopathy or ocular disease.
Differential diagnosis
Bacterial or viral pneumonia.
Mycobacterium avium-intracellulare complex infection.
Atypical pneumonia.
Pulmonary Kaposi's sarcoma.
Cytomegalovirus infection.
Varicella (chickenpox) pneumonitis.
Coxiella burnetii (Q fever).
Thoracic actinomycosis.
Pulmonary nocardiosis.
Lymphocytic interstitial pneumonia (associated with autoimmune disease).
Continue reading below
Diagnosing pneumocystis jirovecii pneumonia (investigations)39
Blood tests
Elevated lactate dehydrogenase is indicative of the diagnosis but not highly specific or sensitive. Multivariable regression identifies lactate dehydrogenase (LDH) as predictor of in-hospital mortality (adjusted OR 1.17 (95% CI 1.09-1.27), pā<ā0.0001). Mortality in LDH quartiles increases from 8% to 49%, and a cutoff value of 495 U/L predicts mortality with sensitivity and specificity of 70%.3
Arterial blood gases may show hypoxia and hypocarbia due to hyperventilation.
The alveolar-arterial oxygen tension gradient may be increased.
The use of serum (1ā3) beta-D-glucan levels (high in PCP) is being investigated as a diagnostic test.10
Molecular methods of detection such as polymerase chain reaction (PCR), loop-mediated isothermal amplification (LAMP), and antibody-antigen assays have been developed.1112
Radiology
CXR can be normal or show perihilar fluffy shadows or pneumothorax.
Standard CT imaging shows ground glass infiltrates but has low sensitivity and specificity.
High-resolution CT, however, has a sensitivity of 100% and a specificity of 89%.13
Gallium scanning is highly sensitive but with low and variable specificity.
Microbiology
The organism cannot be routinely cultured and is detected by staining of the cyst wall or trophozoite in sputum samples, usually with silver-based stains. Repeated samples may need to be taken to confirm the diagnosis.
Sputum may be collected following inhalation of nebulised saline and/or chest physiotherapy and should also be sent for routine and mycobacterial culture.
If sputum is negative but PCP is still suspected, then bronchoscopy with bronchoalveolar lavage or transbronchial biopsy may detect the organism.
Open lung biopsy may occasionally be employed.
Pulmonary function tests
May show a modest reduction in the vital capacity (VC) and the total lung capacity (TLC).
The most consistent abnormality is a decrease in the single-breath diffusing capacity for carbon monoxide (DLCO), which has a sensitivity of 89%.
Grading of severity6
Mild
Breathlessness on mild exercise, which may be associated with cough and sweats.
Arterial blood gases and oxygen saturation at rest, on air: PaO2 >11 kPa; SaO2 >96%.
CXR: normal or minor perihilar infiltrates.
Moderate
Breathlessness on minimal exercise, fever (with or without sweats).
Arterial blood gases and oxygen saturation at rest, on air: PaO2 8-11 kPa; SaO2 91-96%.
CXR: diffuse interstitial shadowing.
Severe
Breathlessness at rest, persistent fever and cough.
Arterial blood gases and oxygen saturation at rest, on air: PaO2 <8 kPa; SaO2 <91%.
CXR: extensive interstitial shadowing, with or without alveolar shadowing.
Management of pneumocystis jirovecii pneumonia1415
Early diagnosis greatly aids successful therapy.
It is important to consider the diagnosis in patients who are HIV-negative but have other risk factors.16
Mild cases may be treated with oral medication, as outpatients. Moderate-to-severe cases usually require hospitalisation and intravenous therapy.
Treating empirically without confirmation of the diagnosis may be necessary but is best avoided if possible, due to the danger of missing other causes for the symptoms.
Patients often deteriorate 3-5 days after starting treatment. This is thought to be due to inflammation caused by dead pneumocystis organisms.
A favourable response to treatment may take seven days or more.
Mild-to-moderate disease
High-dose co-trimoxazole (trimethoprim-sulfamethoxazole) is the drug of choice. Concomitant host disease influences susceptibility to adverse drug reactions. HIV increases the risk of toxicity with many drugs including co-trimoxazole. Adverse effects and hypersensitivity reactions are common in such patients and include fever and maculopapular rash. Co-trimoxazole is usually well tolerated in immunocompetent patients but should be avoided in those with severe hepatic or renal dysfunction and porphyria. It is also best avoided during pregnancy and breastfeeding. Side-effects are numerous and include nausea, vomiting, skin reactions, neutropenia, thrombocytopenia, hepatitis and cholestatic jaundice.
Alternatives if the patient is unable to tolerate co-trimoxazole are:
Atovaquone suspension - this has similar efficacy as pentamidine and is better tolerated than parenteral pentamidine, co-trimoxazole or dapsone. However, oral atovaquone has limited and unpredictable bioavailability.
Dapsone with trimethoprim - dapsone is given intravenously or occasionally in nebulised form in the treatment of PCP.
Clindamycin with primaquine (unlicensed use in the UK) - clindamycin is associated with the development of antibiotic-associated colitis and treatment must be immediately discontinued if diarrhoea develops.
Aerosolised pentamidine isetionate is no longer recommended because it is associated with increased frequency of relapse.17
Severe disease
Intravenous or oral high-dose co-trimoxazole is first-line treatment but toxic effects mean it may not be tolerated.
Pentamidine isetionate:
Given by intravenous infusion, is used for patients who either cannot tolerate co-trimoxazole or who have not responded to it.
Can cause severe hypotension during or immediately after infusion; blood pressure and glucose should be carefully monitored.
Oral prednisolone or parenteral hydrocortisone:
Steroids are an important adjunctive therapy for patients with moderate-to-severe infections associated with HIV infection.
Steroids are usually given in high dosage for 5-7 days and then the dose is reduced and continued for a further two weeks.
Steroid treatment should be started at the same time as the antimicrobial therapy and withdrawn before antimicrobial treatment is complete.
Drug resistance
Prior to the HIV epidemic, co-trimoxazole was rarely used in high-income countries, due to concerns regarding toxicity. Resistance to co-trimoxazole in such countries was therefore very low. However, since the use of co-trimoxazole and dapsone for the treatment and long-term prophylaxis of PCP and toxoplasmosis, increased levels of resistance have been detected.18
A number of single base polymorphisms have been demonstrated in the P. jirovecii nucleotide sequence that codes for dihydropteroate synthetase. These mutations may affect substrate binding and be associated with the emergence of resistance to sulfonamides and dapsone.19
The impact of highly active antiretroviral therapy
Before the introduction of ART, the two-year probability of developing PCP in HIV-positive patients was 40%. ART has reduced the rate of opportunistic infections and so the absolute benefit of prophylactic treatment in those taking ART is less significant.
Recent studies have suggested that in HIV patients taking ART with CD4 T-cell counts above 200 cells/mm3, discontinuation of prophylaxis does not increase the incidence of PCP. Current guidelines recommend that persons who meet these criteria can discontinue PCP prophylaxis and remain off prophylaxis as long as the CD4 T-cell count remains above 200 cells/mm3.17 For more information see the separate Antiretroviral agents article.
Prophylaxis1517
Drug prophylaxis reduces the incidence of PCP and lengthens the disease-free intervals between episodes.
It should be considered for:
All patients with a history of the pneumocystis infection.
Severely immunocompromised patients.
All HIV-positive individuals once their CD4 T-cell count falls below 200 cells/mm3.
Prophylaxis should continue until immunity recovers sufficiently.
Co-trimoxazole by mouth is the drug of choice for prophylaxis against pneumocystis pneumonia. It is given daily or on alternate days (3 times a week). The dose may be reduced to improve tolerance.
Inhaled pentamidine isetionate is better tolerated than parenteral pentamidine isetionate. Intermittent inhalation of pentamidine isetionate is used for prophylaxis against pneumocystis pneumonia in patients unable to tolerate co-trimoxazole. It is effective but patients may be prone to extrapulmonary infection.
Dapsone and atovaquone have also been used for prophylaxis.
Patients (particularly children) who start ART and attain low HIV viral load and improved CD4 counts may have prophylactic therapy safely discontinued.
Complications of pneumocystis jirovecii pneumonia
Respiratory failure.
Worsening of condition after starting therapy.
Pulmonary cyst formation.
Haematogenous spread.
Extrapulmonary infection (typically affecting the bone marrow, liver, spleen, lymph nodes, gut and eyes).
Prognosis
The use of ART has made significant changes to the prognosis of HIV-related pulmonary infections. Currently, the most common HIV-related pulmonary infection diagnosed in high-income countries is bacterial pneumonia, and in developing countries, tuberculosis.13
In-hospital mortality rates are very high: 15% for HIV-infected patients and 50% in some HIV-uninfected patients.20 In a 2018 17-year retrospective study overall in-hospital mortality was 25.4%, increasing to 58% if ICU admission was required.3
Further reading and references
- Truong J, Ashurst JV; Pneumocystis (Carinii) Jiroveci Pneumonia. StatPearls, Jan 2023.
- Salzer HJF, Schafer G, Hoenigl M, et al; Clinical, Diagnostic, and Treatment Disparities between HIV-Infected and Non-HIV-Infected Immunocompromised Patients with Pneumocystis jirovecii Pneumonia. Respiration. 2018;96(1):52-65. doi: 10.1159/000487713. Epub 2018 Apr 10.
- Kato H, Samukawa S, Takahashi H, et al; Diagnosis and treatment of Pneumocystis jirovecii pneumonia in HIV-infected or non-HIV-infected patients-difficulties in diagnosis and adverse effects of trimethoprim-sulfamethoxazole. J Infect Chemother. 2019 Nov;25(11):920-924. doi: 10.1016/j.jiac.2019.06.007. Epub 2019 Jul 9.
- White PL, Backx M, Barnes RA; Diagnosis and management of Pneumocystis jirovecii infection. Expert Rev Anti Infect Ther. 2017 May;15(5):435-447. doi: 10.1080/14787210.2017.1305887. Epub 2017 Mar 20.
- Miller RF, Huang L, Walzer PD; Pneumocystis pneumonia associated with human immunodeficiency virus. Clin Chest Med. 2013 Jun;34(2):229-41. doi: 10.1016/j.ccm.2013.02.001. Epub 2013 Apr 8.
- Schmidt JJ, Lueck C, Ziesing S, et al; Clinical course, treatment and outcome of Pneumocystis pneumonia in immunocompromised adults: a retrospective analysis over 17 years. Crit Care. 2018 Nov 19;22(1):307. doi: 10.1186/s13054-018-2221-8.
- Calderon EJ; Pneumocystis infection: seeing beyond the tip of the iceberg. Clin Infect Dis. 2010 Feb 1;50(3):354-6. doi: 10.1086/649870.
- Maini R, Henderson KL, Sheridan EA, et al; Increasing Pneumocystis pneumonia, England, UK, 2000-2010. Emerg Infect Dis. 2013 Mar;19(3):386-92. doi: 10.3201/eid1903.121151.
- White PL, Price JS, Backx M; Therapy and Management of Pneumocystis jirovecii Infection. J Fungi (Basel). 2018 Nov 22;4(4). pii: jof4040127. doi: 10.3390/jof4040127.
- Llibre JM, Revollo B, Vanegas S, et al; Pneumocystis jirovecii pneumonia in HIV-1-infected patients in the late-HAART era in developed countries. Scand J Infect Dis. 2013 Aug;45(8):635-44. doi: 10.3109/00365548.2013.777778. Epub 2013 Apr 3.
- Lowe DM, Rangaka MX, Gordon F, et al; Pneumocystis jirovecii pneumonia in tropical and low and middle income countries: a systematic review and meta-regression. PLoS One. 2013 Aug 2;8(8):e69969. doi: 10.1371/journal.pone.0069969. Print 2013.
- Cisse OH, Pagni M, Hauser PM; De novo assembly of the Pneumocystis jirovecii genome from a single bronchoalveolar lavage fluid specimen from a patient. MBio. 2012 Dec 26;4(1):e00428-12. doi: 10.1128/mBio.00428-12.
- Onishi A, Sugiyama D, Kogata Y, et al; Diagnostic accuracy of serum 1,3-beta-D-glucan for pneumocystis jiroveci pneumonia, invasive candidiasis, and invasive aspergillosis: systematic review and meta-analysis. J Clin Microbiol. 2012 Jan;50(1):7-15. doi: 10.1128/JCM.05267-11. Epub 2011 Nov 9.
- Bateman M, Oladele R, Kolls JK; Diagnosing Pneumocystis jirovecii pneumonia: A review of current methods and novel approaches. Med Mycol. 2020 Nov 10;58(8):1015-1028. doi: 10.1093/mmy/myaa024.
- Senecal J, Smyth E, Del Corpo O, et al; Non-invasive diagnosis of Pneumocystis jirovecii pneumonia: a systematic review and meta-analysis. Clin Microbiol Infect. 2022 Jan;28(1):23-30. doi: 10.1016/j.cmi.2021.08.017. Epub 2021 Aug 28.
- Benito N, Moreno A, Miro JM, et al; Pulmonary infections in HIV-infected patients: an update in the 21st century. Eur Respir J. 2012 Mar;39(3):730-45. doi: 10.1183/09031936.00200210. Epub 2011 Sep 1.
- Treatment of opportunistic infection in HIV-seropositive individuals; British HIV Association (2011)
- British National Formulary (BNF); NICE Evidence Services (UK access only)
- McKinnell JA, Cannella AP, Kunz DF, et al; Pneumocystis pneumonia in hospitalized patients: a detailed examination of symptoms, management, and outcomes in human immunodeficiency virus (HIV)-infected and HIV-uninfected persons. Transpl Infect Dis. 2012 Oct;14(5):510-8. doi: 10.1111/j.1399-3062.2012.00739.x. Epub 2012 May 1.
- Guidelines for Prevention and Treatment of Opportunistic Infections in HIV-Infected Adults and Adolescents; AIDSinfo, 2019
- Harris JR, Marston BJ, Sangrujee N, et al; Cost-effectiveness analysis of diagnostic options for pneumocystis pneumonia (PCP). PLoS One. 2011;6(8):e23158. doi: 10.1371/journal.pone.0023158. Epub 2011 Aug 15.
- Friaza V, Morilla R, Respaldiza N, et al; Pneumocystis jiroveci dihydropteroate synthase gene mutations among colonized individuals and Pneumocystis pneumonia patients from Spain. Postgrad Med. 2010 Nov;122(6):24-8. doi: 10.3810/pgm.2010.11.2219.
- Cilloniz C, Dominedo C, Alvarez-Martinez MJ, et al; Pneumocystis pneumonia in the twenty-first century: HIV-infected versus HIV-uninfected patients. Expert Rev Anti Infect Ther. 2019 Oct;17(10):787-801. doi: 10.1080/14787210.2019.1671823. Epub 2019 Oct 4.
- Morrow BM, Samuel CM, Zampoli M, et al; Pneumocystis pneumonia in South African children diagnosed by molecular methods. BMC Res Notes. 2014 Jan 10;7(1):26. doi: 10.1186/1756-0500-7-26.
Article history
The information on this page is written and peer reviewed by qualified clinicians.
Next review due: 19 Aug 2027
19 Aug 2024 | Latest version
Are you protected against flu?
See if you are eligible for a free NHS flu jab today.
Feeling unwell?
Assess your symptoms online for free