Lung infections
Pneumocystis pneumonia (PCP/PJP): symptoms, who is at risk and treatment
Pneumocystis pneumonia (PCP, also called PJP) is a fungal lung infection that mainly affects people with weakened immune systems, including some people with advanced HIV, transplant recipients and people taking immune-suppressing medicines. Symptoms include a dry cough, breathlessness and fever. It is treated with high-dose co-trimoxazole and can be prevented with preventive medicine in people at risk.
Last checked: 2026-10-18
Key facts
At a glance.
-
What it is
Patient.info's professional article describes Pneumocystis jirovecii as a ubiquitous fungus that causes pneumonia in humans. PCP is a major cause of illness and death among immunocompromised people.
-
Not only HIV
About half of patients with PCP do not have HIV infection. Cases without HIV are increasing, mainly in transplant recipients and people with blood cancers.
-
Symptoms
A cough that is usually dry, breathlessness on exertion, fever, rapid breathing and chest pain.
-
Is it contagious?
The sources read do not describe how it spreads between people. They say the organism is frequently found in healthy adults in the community, and that it mainly causes serious illness when immunity is weakened.
-
Treatment
High-dose co-trimoxazole is the drug of choice. Mild cases may be treated as outpatients; moderate-to-severe cases usually need hospital treatment with intravenous therapy.
-
Prevention
Drug prophylaxis, with co-trimoxazole by mouth as the drug of choice, reduces the incidence of PCP in people at risk.
What is pneumocystis pneumonia?
Pneumocystis jirovecii is an organism that shares characteristics with both fungi and protozoa. Patient.info's professional article, written by UK doctors, says DNA studies suggest it is frequently found in healthy adults in the community and that it can cause a transient infection in people with a normal immune system. Great Ormond Street Hospital describes it as an organism probably present in most people.
Problems arise when the immune system cannot keep the organism in check. It then causes pneumonia, called pneumocystis pneumonia and abbreviated PCP, or PJP using the newer species name. It was formerly called Pneumocystis carinii pneumonia, which is why you may still see PCP. It is an opportunistic infection: one that takes advantage of weakened immunity.
What are the symptoms of pneumocystis pneumonia?
Patient.info lists these typical features in adults. It also says examination of the chest is often normal or only mildly abnormal, and that pulse oximetry may show low oxygen levels at rest. Great Ormond Street Hospital lists a raised temperature, rapid breathing and a dry cough in children.
-
A cough, which is usually non-productive (dry), although a productive cough can occur in up to a third of people.
-
Breathlessness on exertion.
-
Fever.
-
Rapid breathing.
-
Chest pain.
-
Signs of an underlying immune problem, for example oral thrush in a person with HIV.
Who is at risk?
Patient.info lists the risk groups below. It notes that antiretroviral therapy dramatically reduced PCP in people with HIV, while rates have been increasing in the HIV-negative susceptible population, which includes transplant recipients. A UK study of reported cases in England between 2000 and 2010 showed laboratory-confirmed cases increasing by 7% per year, principally in people without HIV, mainly immunocompromised transplant recipients and people with blood cancers. Great Ormond Street Hospital adds that children receiving long-term medicines that interfere with the body's ability to cope with infection may be more at risk.
-
HIV-positive people with a CD4 count below 200 cells/mm3, or with oral thrush, fever or an AIDS-defining diagnosis.
-
People taking steroids or other immunosuppressants.
-
People with blood cancers (haematological malignancy).
-
Organ transplant recipients.
-
People with connective tissue diseases such as rheumatoid arthritis.
-
People with congenital immune deficiency.
-
Severe malnutrition and pre-existing lung disease.
Is pneumocystis pneumonia contagious?
The sources used for this page do not say how pneumocystis spreads between people, so this page does not make a claim either way. What they do say is that the organism is frequently found in healthy adults in the community and that it mainly causes pneumonia in people with weakened immunity. If you or someone you care for has a weakened immune system, ask the specialist team who looks after you whether any precautions are advised.
How is it diagnosed?
Patient.info describes a combination of tests. A chest X-ray can be normal or show perihilar fluffy shadows or a collapsed lung (pneumothorax). High-resolution CT is more sensitive than standard CT. Blood tests may show an elevated lactate dehydrogenase, which is indicative but not specific, and blood gases may show low oxygen.
The organism cannot be routinely cultured. It is detected by staining sputum samples, and PCR-based methods have been developed. If sputum is negative but PCP is still suspected, a bronchoscopy with washing of the airways (bronchoalveolar lavage) or a lung biopsy may detect it. Doctors also consider other causes, including bacterial or viral pneumonia and tuberculosis.
How is pneumocystis pneumonia treated?
Patient.info says early diagnosis greatly aids successful therapy. Mild cases may be treated with oral medication as an outpatient, while moderate-to-severe cases usually need hospital admission and intravenous therapy. It adds that patients often deteriorate 3 to 5 days after starting treatment, thought to be due to inflammation caused by dead organisms, and that a favourable response may take seven days or more.
| Situation | Main option | Alternatives and notes |
|---|---|---|
| Mild-to-moderate disease | High-dose co-trimoxazole | Atovaquone suspension, dapsone with trimethoprim, or clindamycin with primaquine (unlicensed use in the UK) if co-trimoxazole is not tolerated |
| Severe disease | Intravenous or oral high-dose co-trimoxazole | Intravenous pentamidine if co-trimoxazole is not tolerated or has not worked |
| Moderate-to-severe disease with HIV | Steroids as an added treatment | Started at the same time as the antimicrobial and given in high dose for 5 to 7 days, then reduced |
Co-trimoxazole: what patients should know
Patient.info says co-trimoxazole side effects are numerous and include nausea, vomiting, skin reactions and changes in blood counts, and that adverse effects are more common in people with HIV. Great Ormond Street Hospital's medicine leaflet lists nausea and vomiting and bone marrow suppression (which can cause anaemia, easy bruising or bleeding and a higher risk of infection). It advises reporting signs of a mild allergic reaction such as rash, itching or high temperature, and calling an ambulance for signs of a severe reaction such as difficulty breathing or chest pain.
How serious is it?
Patient.info describes PCP as a major cause of illness and death in immunocompromised people. It says in-hospital mortality rates are very high: 15% for HIV-infected patients and 50% in some HIV-uninfected patients. These figures describe patients admitted to hospital with the infection and cannot predict an individual's outcome, which depends on the severity of the pneumonia and the underlying condition. Early diagnosis improves the chance of successful treatment.
Can it be prevented?
In people at risk, yes. Patient.info says drug prophylaxis reduces the incidence of PCP and lengthens disease-free intervals between episodes. It should be considered for all people with a history of the infection, severely immunocompromised patients, and HIV-positive people once the CD4 count falls below 200 cells/mm3. Co-trimoxazole by mouth is the drug of choice, given daily or on alternate days, and prophylaxis continues until immunity recovers sufficiently. Great Ormond Street Hospital notes that co-trimoxazole by mouth is usually given to prevent PCP in children, at lower doses than for treatment.
When to get urgent help
Anyone known to have a weakened immune system who develops a new cough, fever or breathlessness should speak to their specialist team, GP or NHS 111 promptly, because early diagnosis greatly aids successful treatment. If someone is very short of breath or has chest pain, call 999 or go to A&E.
NHS and private pathways
On the NHS, moderate-to-severe PCP is treated in hospital. Preventive medicine is usually arranged by the team already looking after the underlying condition, such as HIV, transplant or haematology services. Because it affects people with complex conditions, any additional private opinion should be shared with the NHS team responsible for immunosuppression or HIV care, so that medicines and prophylaxis stay coordinated.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
What is the difference between PCP and PJP?
They are the same infection. Patient.info says the organism that causes human PCP, formerly called Pneumocystis carinii, is now named Pneumocystis jirovecii, so PJP is the newer abbreviation.
-
What are the symptoms of pneumocystis pneumonia?
A usually dry cough, breathlessness on exertion, fever, rapid breathing and chest pain in adults, according to Patient.info. In children, Great Ormond Street Hospital lists a raised temperature, rapid breathing and a dry cough.
-
Does PCP only happen in people with HIV?
No. Patient.info says about half of patients with PCP do not have HIV, and cases without HIV are increasing, mainly in transplant recipients and people with blood cancers.
-
Who is most at risk?
People with weakened immunity: HIV with a low CD4 count, steroid or immunosuppressant use, blood cancers, organ transplants, connective tissue diseases, congenital immune deficiency, and severe malnutrition, among others.
-
Is pneumocystis pneumonia contagious?
The sources read do not describe how it spreads between people. They say the organism is frequently found in healthy adults and mainly causes pneumonia when immunity is weak. Ask your specialist team about precautions.
-
How is PCP diagnosed?
Using chest imaging, blood tests and detection of the organism in sputum or in washings from the airways (bronchoscopy), according to Patient.info.
-
What is the usual treatment?
High-dose co-trimoxazole, by mouth for mild-to-moderate disease or into a vein for severe disease, according to Patient.info and Great Ormond Street Hospital. Steroids are added for moderate-to-severe cases linked to HIV.
-
Do I need to be in hospital?
Patient.info says mild cases may be treated as outpatients, while moderate-to-severe cases usually need hospital admission and intravenous therapy.
-
Can PCP be prevented?
In people at risk, yes. Patient.info says prophylaxis, with co-trimoxazole by mouth as the drug of choice, reduces the incidence of PCP.
-
What are the main side effects of co-trimoxazole?
Nausea, vomiting, skin reactions and effects on the bone marrow, according to Patient.info and Great Ormond Street Hospital. Report a rash, unusual bruising or bleeding promptly.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-18, next review 2027-10-18.
-
Patient.info: Pneumocystis jirovecii pneumonia (professional reference article by UK doctors), https://patient.info/doctor/pneumocystis-jirovecii-pneumonia , retrieved October 2026
-
Great Ormond Street Hospital: Co-trimoxazole (Septrin), https://www.gosh.nhs.uk/conditions-and-treatments/medicines-information/co-trimoxazole-septrin-0/ , retrieved October 2026
Related guides
Keep reading.
-
HIV and AIDS
The condition most associated with PCP.
Read guide -
Pneumonia
Overview of pneumonia.
Read guide -
Atypical pneumonia
Pneumonia caused by less common organisms.
Read guide -
Primary immunodeficiency
Inherited weakness of the immune system.
Read guide -
Tuberculosis
Another infection considered with PCP.
Read guide -
Rheumatoid arthritis
A condition treated with immune-suppressing medicines.
Read guide -
Aspiration pneumonia
Another cause of pneumonia in vulnerable people.
Read guide -
Mucormycosis (black fungus): symptoms, causes, diagnosis and treatment
Mucormycosis explained for UK readers: a rare, serious fungal infection, who is at risk, sinus, lung and skin symptoms, diagnosis by biopsy,
Read guide