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

Respiratory · UK scope · Sources checked 27 Aug 2026 · Clinical review pending

RapidFull
!
Escalate

Worsening hypoxaemia, marked work of breathing, haemodynamic instability or suspected pneumothorax in possible Pneumocystis pneumonia requires immediate oxygen and critical-care assessment while diagnostic sampling and specialist antimicrobial treatment proceed in parallel.

Synopsis

Identify Pneumocystis jirovecii pneumonia in HIV and non-HIV immune suppression, grade gas-exchange impairment, secure respiratory evidence without destabilising the patient, and deliver co-trimoxazole, selected corticosteroids and prevention safely. Confirm treatment against current BHIVA, BNF, eMC and local HIV, haematology or transplant protocols.

  • Think of PJP with subacute dry cough, fever, exertional breathlessness, disproportionate hypoxaemia and bilateral ground-glass change in a person with impaired T-cell immunity.
  • Risk includes untreated or advanced HIV, prolonged corticosteroids, haematological malignancy, transplantation and selected biologic or cytotoxic therapies; a normal total white count does not reassure.
  • Chest radiography can be normal early. Thin-section CT usually shows diffuse or patchy bilateral ground glass but is not pathogen-specific.
  • Measure arterial blood gases on room air when safe, or document inspired oxygen carefully, because PaO2 and the alveolar-arterial gradient determine severity and the HIV corticosteroid decision.
  • Induced sputum or BAL PCR and microscopy provide microbiological support; PCR is very sensitive and may detect colonisation, so interpret organism burden with the syndrome.
  • High-dose co-trimoxazole, calculated by the trimethoprim component, is first-line treatment; monitor potassium, renal function, blood count and rash closely.
  • In HIV-associated moderate-to-severe PJP, start adjunctive corticosteroid early when PaO2 is below 9.3 kPa or the alveolar-arterial gradient is at least 4.7 kPa; non-HIV evidence is less certain.
  • Evaluate the cause of immune suppression, offer HIV testing with consent when status is unknown, and plan ART or secondary prophylaxis with the appropriate specialist team.

Key red flags

Non-HIV fulminant presentation

A patient receiving corticosteroids, chemotherapy, transplant immunosuppression or a T-cell-active biologic develops rapidly increasing oxygen needs and bilateral ground glass over days.

Severe gas-exchange impairment

Cyanosis, respiratory fatigue, PaO2 below 9.3 kPa or a markedly widened alveolar-arterial gradient indicates significant disease. Early critical-care involvement is appropriate if oxygen needs rise.

Cysts and air leak

Pneumatoceles can complicate PJP and predispose to spontaneous pneumothorax. Sudden pleuritic pain, unilateral loss of breath sounds or acute desaturation requires immediate assessment.

Investigation priorities

01
Arterial blood gas and alveolar-arterial gradientFirst step

Grade hypoxaemia and establish whether HIV-associated disease meets the corticosteroid threshold; record FiO2 and, where safe, obtain the reference sample breathing room air.

Management branches

TreatSuspected PJP with respiratory compromise

Compatible immune risk, CT pattern and hypoxaemia, with results pending.

  1. Stabilise using controlled oxygen to an individual target, obtain ABG and early critical-care review if oxygen needs or work of breathing rise; assess immediately for pneumothorax.
  2. Send induced sputum or BAL only when safe and collect tests for competing infections, but start co-trimoxazole promptly when clinical probability is high.
  3. Calculate the regimen by trimethoprim weight, adjust for renal function and obesity according to the local protocol, and divide the daily dose as specified.
  4. Review physiology, microbiology and toxicity daily; failure to improve should trigger an alternative-diagnosis and treatment-exposure review, not automatic dose escalation.

Key medicines

Co-trimoxazoleTreatment uses 15 to 20 mg/kg/day of the trimethoprim component with 75 to 100 mg/kg/day sulfamethoxazole, divided into 3 or 4 doses intravenously or orally; adjust for renal function and follow the host-specific local duration, commonly 21 days in HIV.Rash including severe cutaneous reactions, marrow suppression, hyperkalaemia, renal dysfunction, hepatitis and interactions such as methotrexate or warfarin. Monitor closely; do not underdose by confusing combined-tablet mass with trimethoprim mass.
Prednisolone or intravenous methylprednisoloneUse the current BHIVA or local staged regimen for moderate-to-severe HIV-associated PJP, started within 72 hours; intravenous methylprednisolone is often given at 75% of the prednisolone dose when oral therapy is unsuitable.Evidence is not equivalent in non-HIV disease. Hyperglycaemia, delirium, fluid effects and additional infection risk require surveillance; exclude or treat important co-infections.
Open full textbook →Answer 2 questions
Sources and review status5 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 pulmonary opportunistic infection guidelinesUK HIV PJP diagnosis, treatment, corticosteroid, ART and prevention guidance.
  • Co-trimoxazole infusion Summary of Product CharacteristicsAuthoritative UK PJP treatment-dose and medicine-safety information.
  • RCPath UK SMI B57: BAL and lower respiratory specimensRespiratory sampling and PJP testing context.
  • RCPath UK SMI TP39: Staining proceduresMicroscopy methods for P. jirovecii in BAL.
  • BNF: Co-trimoxazoleCurrent UK prescribing, contraindication and monitoring context.

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