Pneumocystis pneumonia (PCP)
A fungal lung infection that mainly affects people with weakened immune systems, such as those with HIV or on strong immunosuppressive medicines.
Pneumocystis pneumonia, often called PCP, is a lung infection caused by a fungus. It mainly affects people whose immune system is weak, such as people with HIV or people taking strong immunosuppressant medicines.
What it is
The NHS says fungal lung infections are rare in healthy people in the UK. PCP is an example of an opportunistic infection. That means it takes its chance when the body's defences are low. The NHS notes that untreated HIV can lead to serious illnesses such as pneumonia.
What it feels like
PCP is a type of pneumonia. Symptoms of pneumonia in general can appear suddenly or build over a few days. They include:
- a cough
- shortness of breath
- a high temperature
- chest pain
- an aching body
- tiredness and loss of appetite
How it is found and treated
Your doctor will arrange tests such as a chest X-ray to find out what is causing your chest infection. Treatment depends on the germ responsible, so finding the cause matters. Your specialist will explain the treatment that is right for you.
Speak to your doctor, nurse or pharmacist before changing or stopping any medicine.
When to get urgent help
Ask for an urgent GP appointment or call NHS 111 if you have a weakened immune system and get cold symptoms, or you are shorter of breath than usual.
Call 999 if you are struggling to breathe, your lips, skin or tongue look pale, blue or blotchy, you cough up blood or you suddenly become confused. Do not drive yourself.
How I can help
If you have a weakened immune system and a chest infection, I can arrange scans and tests at your chosen hospital, explain the results and review your treatment with you.
Medically reviewed by Dr Sunil Patel, Consultant in Respiratory, General and Intensive Care Medicine. Last reviewed 19 October 2026.
Sources
- PneumoniaNHS, 2026
- HIV and AIDSNHS, 2025
- Respiratory syncytial virus (RSV)NHS, 2024
Related terms
Pneumonia
An infection that inflames the air sacs in one or both lungs, which may fill with fluid. It causes cough, fever and breathlessness, and can be serious.
Immunocompromised
Having a weakened immune system, for example because of HIV, chemotherapy, a transplant or certain medicines. This makes infections more likely and sometimes more serious.
Opportunistic infection
An infection caused by a germ that rarely harms healthy people but can cause serious illness in someone with a weakened immune system.
Immunosuppressants
Medicines that calm an overactive immune system. They are used for conditions such as sarcoidosis, vasculitis and some types of lung scarring, and after transplants.
Chest X-ray
A quick, low-dose X-ray picture of the lungs, heart and chest wall.
CT scan
A scan that uses X-rays and a computer to create detailed cross-section images of the chest.
Bronchoscopy
A procedure in which a thin, flexible camera is passed through the nose or mouth into the airways to look inside and take samples. It is usually done under sedation.
Find out more
This information is for general guidance only and is not a substitute for medical advice. If you are worried about your symptoms, please speak to your GP or specialist. If you have severe breathlessness, chest pain, blue lips or are coughing up large amounts of blood, call 999 or go to A&E.