Skip to textbook content
Doctor’s PassportTextbook
TopicsAll topics

Loading topic navigation…

Textbook navigation
TopicsAll topics

Loading topic navigation…

Educational draft · awaiting clinical reviewUse Rapid for revision, not patient-care decisions. Check current national and local guidance and the BNF or BNFC before acting.

Pneumocystis jirovecii pneumonia

Infectious diseases, microbiology and sexual health · UK scope · Sources checked 27 Aug 2026 · Clinical review pending

RapidFull
!
Hypoxaemic Pneumocystis pneumonia

Progressive breathlessness, tachypnoea, exertional desaturation or diffuse ground-glass change in an immunocompromised patient can deteriorate abruptly, particularly in non-HIV disease.

Action: Use ABCDE, obtain an arterial blood gas and respiratory samples without delaying therapy, start high-dose co-trimoxazole, give adjunctive corticosteroid within 72 hours when the supported oxygen threshold is met, and involve respiratory, infection and critical care early.

Synopsis

Recognise Pneumocystis pneumonia across HIV and non-HIV immunosuppression, combine oxygen assessment with organism detection, start weight-based co-trimoxazole promptly, add corticosteroids only for supported hypoxaemic indications, and prevent recurrence.

  • Pneumocystis jirovecii pneumonia is an opportunistic fungal pneumonia associated with advanced HIV, prolonged corticosteroids, haematological malignancy, transplantation and selected immune-modulating therapies.
  • HIV-associated disease often evolves over weeks with dry cough, fever and exertional breathlessness; non-HIV disease may progress rapidly with more severe hypoxaemia and fewer organisms.
  • First-line imaging is chest radiography followed by CT when suspicion persists; bilateral diffuse ground-glass opacity is typical but not specific.
  • Preferred microbiological confirmation is Pneumocystis PCR or microscopy from induced sputum or bronchoalveolar lavage; a highly sensitive PCR must be interpreted against fungal burden and clinical probability because colonisation occurs.
  • Serum 1,3-beta-D-glucan is a useful supportive test and a low result can reduce probability, but it is not species specific and cannot establish PJP alone.
  • First-line treatment is co-trimoxazole delivering trimethoprim 15 to 20 mg/kg/day plus sulfamethoxazole 75 to 100 mg/kg/day in three or four divided doses.
  • Treat HIV-associated PJP for 21 days; non-HIV duration is commonly 14 to 21 days and should be individualised with infection specialists.
  • Use adjunctive prednisolone for moderate-to-severe HIV-associated disease: 40 mg twice daily on days 1 to 5, 40 mg once daily on days 6 to 10, then 20 mg once daily on days 11 to 21.

Key red flags

Resting hypoxaemia, rapid oxygen escalation, marked exertional desaturation, severe tachypnoea or respiratory fatigue requires urgent critical-care assessment.

Room-air arterial oxygen below 9.3 kPa or an alveolar-arterial gradient above 4.7 kPa in HIV-associated PJP supports early adjunctive corticosteroid treatment.

A pneumothorax, pneumomediastinum or cystic lung lesions can cause sudden pleuritic pain and decompensation and require immediate imaging and respiratory care.

A normal early chest radiograph does not exclude PJP; persistent compatible symptoms in a high-risk host require CT and organism-directed sampling.

Failure to improve after four to eight days raises wrong diagnosis, co-infection, drug toxicity, poor absorption, immune reconstitution or a complication rather than automatic resistance.

New PJP should prompt urgent HIV testing with consent and review of corticosteroid, transplant, chemotherapy or immune-modulator exposure.

Subacute HIV presentation

Progressive exertional dyspnoea, dry cough, fever, fatigue and weight loss develop over days to weeks, with initially subtle examination findings.

Rapid non-HIV presentation

Fever, severe hypoxaemia and diffuse pneumonitis may evolve over only a few days during corticosteroid, transplant or haematology treatment.

Investigation priorities

01
Immediate oxygen assessmentFirst step

Grade severity and determine need for corticosteroid and critical-care escalation.

02
First-line chest imagingFirst line

Identify diffuse pneumonitis and complications while evaluating alternative diagnoses.

Management branches

STABILISEAssess suspected PJP immediately

An immunocompromised patient develops progressive dry cough, fever, dyspnoea or unexplained oxygen impairment.

  1. Use ABCDE, measure resting and exertional oxygen saturation, obtain a room-air arterial blood gas where safe, and involve critical care for escalating oxygen or fatigue.
  2. Obtain chest radiography and urgent thin-section CT when the film is normal or non-diagnostic but clinical suspicion remains high.
  3. Send induced sputum or BAL for Pneumocystis PCR and microscopy plus bacterial, mycobacterial, viral and fungal studies appropriate to the host.
  4. Start treatment after sampling when possible, but do not delay for bronchoscopy in a patient whose respiratory physiology is deteriorating.
FIRST-LINEGive weight-based co-trimoxazole

PJP is confirmed or strongly suspected and treatment cannot safely await final molecular results.

  1. Calculate dosing from the trimethoprim component: 15 to 20 mg/kg/day trimethoprim with 75 to 100 mg/kg/day sulfamethoxazole, divided every six to eight hours.
  2. Use intravenous treatment for severe hypoxaemia, vomiting or unreliable absorption; switch to oral treatment once stable and absorbing without reducing the total daily dose inadvertently.

Key medicines

Co-trimoxazole treatmentGive trimethoprim 15 to 20 mg/kg/day plus sulfamethoxazole 75 to 100 mg/kg/day orally or intravenously in three or four divided doses.Adjust for renal impairment and monitor potassium, sodium, creatinine, FBC, liver, rash and interactions with methotrexate, warfarin, ACE inhibitors or potassium-sparing drugs.
Prednisolone adjunctUse prednisolone 40 mg by mouth twice daily for days 1–5, followed by 40 mg once daily for days 6–10 and 20 mg once daily for days 11–21.Use only with the supported oxygen threshold; monitor glucose, mental state, gastrointestinal and co-infection risk, and seek specialist advice in non-HIV disease.
Open full textbook →Answer 2 questions
Sources and review status3 sources · checked 27 Aug 2026 · clinical review pending+
Sources

Sources and review status

National guidance is shown before implementation-dependent detail. Typical adult dose examples remain subject to patient factors, contraindications and the live BNF or specialist protocol. Source check completed 27 Aug 2026; clinical approval remains outstanding.

  • BHIVA guidelines on the management of opportunistic infection in people living with HIV: The clinical management of pulmonary opportunistic infections 2024
  • British Society for Medical Mycology best practice recommendations for the diagnosis of serious fungal diseases: 2025 update - ScienceDirect
  • Clinical Guidelines – BHIVA

Editorial contact: Doctor’s Passport editorial team. Source-check date is separate from clinical approval. Report a content problem · Content changes

Authoring stateRapid draftClinical stateAwaiting reviewJurisdictionUnited Kingdom
Exertional desaturation

Oxygen saturation can be near normal at rest but fall markedly with minimal exertion because impaired diffusion precedes resting respiratory failure.

Treat HIV-associated disease for 21 days; agree a 14- to 21-day course for non-HIV disease from severity, response and immune context.
  • Monitor FBC, creatinine, potassium, sodium, liver tests, rash and interactions closely and distinguish trimethoprim-related creatinine rise from true renal injury.