Chest and lung infections
Pneumonia: symptoms, treatment, recovery time and whether it is contagious
Pneumonia is inflammation of the lungs, usually caused by a bacterial or viral infection. Symptoms include a cough, shortness of breath, a high temperature and chest pain. It is usually not passed from one person to another. Many people are treated at home with antibiotics and recover in 2 to 4 weeks, but babies and older people may need hospital care.
Last checked: 2026-10-11
Key facts
At a glance.
-
What it is
The NHS says pneumonia is inflammation of the lungs, usually caused by an infection. NHS inform says the tiny air sacs in the lungs become inflamed and fill up with fluid.
-
Main symptoms
A cough, shortness of breath, a high temperature, chest pain, an aching body, feeling very tired and loss of appetite. Older people may feel confused (NHS).
-
Is it contagious?
NHS inform says pneumonia is not usually passed from one person to another, so it is safe to be around others, though people with a weakened immune system should avoid close contact until the person is getting better.
-
Recovery
The NHS says that, depending on symptoms, most people get better in 2 to 4 weeks. NHS inform says full recovery can take up to 3 months, and Asthma + Lung UK says it can take up to 6 months or more.
-
Treatment
Bacterial pneumonia is usually treated with antibiotics (NHS). Mild pneumonia can usually be treated at home; severe cases need hospital treatment (NHS inform).
-
Higher risk
The NHS says babies, older people, and people with heart or lung conditions are at risk of becoming seriously ill and may need hospital treatment.
-
Emergency
Call 999 or go to A&E if you are struggling to breathe, have pale, blue or blotchy skin, are coughing up blood, are suddenly confused, or you cannot wake your baby (NHS).
What are the symptoms of pneumonia?
The NHS says symptoms of pneumonia can start suddenly or gradually over a few days. NHS inform says they can develop over 24 to 48 hours or more slowly, and that pneumonia is more widespread in autumn and winter.
-
a cough
-
shortness of breath
-
a high temperature
-
chest pain
-
an aching body
-
feeling very tired and loss of appetite
-
making wheezing noises when you breathe (babies may make grunting noises)
-
feeling confused, which is common in older people
What is pneumonia?
NICE Clinical Knowledge Summaries describes pneumonia as an infection of the lung tissue in which the air sacs become filled with microorganisms, fluid and inflammatory cells, affecting how the lungs work. Asthma + Lung UK calls pneumonia a type of chest infection and says that if you have asthma, COPD or another lung condition you are more likely to get seriously ill or need hospital treatment.
Is pneumonia contagious?
NHS inform says pneumonia is not usually passed from one person to another, so it is safe to be around others, including family. However, people with a weakened immune system should avoid close contact with a person with pneumonia until they start to get better.
The NHS notes that you can sometimes get pneumonia if you have another infection such as flu, respiratory syncytial virus (RSV) or COVID-19, and those infections can spread. The NHS advises covering your mouth and nose with a tissue when you cough or sneeze, binning tissues quickly and washing hands regularly.
How is pneumonia treated?
The NHS says that if pneumonia is caused by bacteria you will usually be given antibiotics. If you are given antibiotics to take at home, keep taking them until finished even if you feel better, and contact your doctor if you do not feel any better after 2 to 3 days. NHS inform says to speak to your GP if symptoms have not improved within 3 days of starting antibiotics.
The NHS lists reasons you may need hospital treatment: being over 65, having cardiovascular disease or a long-term lung condition, a baby or young child with pneumonia, being very unwell, or not getting better after antibiotics. In hospital you will usually be given antibiotics, sometimes steroids, and oxygen to help breathing, with a chest X-ray and blood tests. NHS inform adds intravenous antibiotics and fluids, and, in very serious cases, a ventilator in a high dependency or intensive care unit.
| Do | Do not |
|---|---|
| Rest until you feel better, and stay at home if you have a high temperature | Do not take cough medicine, as coughing helps your body get rid of the infection (NHS) |
| Drink plenty of fluids | Do not smoke; NHS inform says it is more important than ever to stop |
| Take paracetamol or ibuprofen for pain or a high temperature, if you have been told you can | |
| Take antibiotics as prescribed and finish the course | |
| Try a warm honey and lemon drink to ease coughing (NHS inform) |
How long does pneumonia take to get better?
The NHS says that, depending on symptoms, most people get better in 2 to 4 weeks. Asthma + Lung UK says recovery is different for everybody, that most people feel better 2 to 4 weeks after starting treatment, and that it can take up to 6 months or more to fully recover. NHS inform says full recovery can take up to 3 months.
NHS inform says your GP may arrange follow-up tests if symptoms have not improved, have come back, you smoke or you are over 50. Some people are advised to have a flu or pneumococcal vaccination after recovering.
What causes pneumonia?
The NHS says pneumonia is usually caused by a bacterial or viral infection. NHS inform says it is commonly caused by Streptococcus pneumoniae bacteria, and lists other bacteria such as Haemophilus influenzae and Staphylococcus aureus, viruses and, rarely, fungi.
| Type | Description |
|---|---|
| Bacterial | Most commonly pneumococcal infection |
| Viral | Viruses including RSV, coronavirus and sometimes influenza; common in young children |
| Aspiration | Breathing in vomit, a foreign object such as a peanut, or a harmful substance such as smoke |
| Fungal | Rare in the UK and more likely in people with a weakened immune system |
| Hospital-acquired | Develops in hospital while being treated for another condition or after an operation |
Pneumonia in babies and children
The NHS says a baby or young child with pneumonia may need treatment in hospital, and to call 999 if you cannot wake your baby or they feel floppy. Asthma + Lung UK says pneumonia can make it harder for a child to breathe and that babies and children under 5 are more at risk.
NICE Clinical Knowledge Summaries says pneumonia should be considered in a feverish child with a fast breathing rate (60 breaths per minute or more), signs of increased work of breathing, crackles in the chest or blue colouring. Children assessed as low risk may be treated at home with advice on when to seek help.
Pneumonia and pregnancy
The sources read for this guide do not give pregnancy-specific treatment advice. The NHS says that the flu vaccine is recommended during pregnancy and that the RSV vaccine is recommended during pregnancy from 28 weeks onwards to help protect the baby after birth, which may reduce infections that can lead to pneumonia. Seek urgent advice from your midwife, GP or NHS 111 if you have breathing difficulty or chest pain in pregnancy.
When to get medical help
The NHS says to ask for an urgent GP appointment or get help from NHS 111 if you have had a cough for up to 3 weeks, are coughing up yellow or green mucus, have chest pain that comes and goes or happens when breathing or coughing, or feel short of breath.
Call 999 or go to A&E, according to the NHS, if you are struggling to breathe (choking, gasping and unable to speak), have pale, blue or blotchy skin, lips or tongue, are coughing up blood, suddenly feel confused, or cannot wake your baby or they feel floppy. Do not drive to A&E; ask someone to drive you or call 999.
Vaccines and reducing your risk
The NHS lists vaccines that help protect against infections that can cause pneumonia.
-
pneumococcal vaccine, recommended for babies, adults over 65 and people at higher risk of pneumococcal infections
-
flu vaccine, recommended during pregnancy, for adults over 65, people with certain long-term conditions and those at high risk
-
RSV vaccine, recommended for adults aged 75 and over, adults 65 to 74 with a weakened immune system or a long-term lung condition, or during pregnancy from 28 weeks
-
COVID-19 seasonal vaccine for people at increased risk
-
stopping smoking also reduces your chance of getting pneumonia
NHS and private pathways in general terms
On the NHS, pneumonia is assessed by a GP or NHS 111, with hospital admission for people at higher risk. NICE Clinical Knowledge Summaries describes using the CRB-65 score (confusion, breathing rate, blood pressure and age 65 or over) to decide whether to treat at home or refer to hospital. Private GP appointments and chest imaging are available to people who choose to pay or have insurance, but any sign of severe breathlessness, confusion or blue lips should still lead to 999.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
What are the first signs of pneumonia?
The NHS says symptoms can start suddenly or gradually over a few days and include a cough, shortness of breath, a high temperature, chest pain, an aching body, feeling very tired and loss of appetite.
-
Is pneumonia contagious?
NHS inform says pneumonia is not usually passed from one person to another, so it is safe to be around others. People with a weakened immune system should avoid close contact until the person starts to get better.
-
How long does pneumonia last?
The NHS says most people get better in 2 to 4 weeks. NHS inform says full recovery can take up to 3 months, and Asthma + Lung UK says it can take up to 6 months or more.
-
What is the treatment for pneumonia?
The NHS says bacterial pneumonia is usually treated with antibiotics. Mild pneumonia can be treated at home with rest, fluids and paracetamol; severe cases need hospital treatment with antibiotics, oxygen and sometimes steroids.
-
What causes pneumonia?
The NHS says it is usually caused by a bacterial or viral infection, and can follow flu, RSV or COVID-19. NHS inform says Streptococcus pneumoniae is a common cause, and aspiration of food or vomit can also cause it.
-
Should I take cough medicine for pneumonia?
The NHS says not to take cough medicine, because coughing helps your body get rid of the infection. NHS inform suggests a warm honey and lemon drink to relieve coughing discomfort.
-
Who is at higher risk of serious pneumonia?
The NHS says babies, older people, and people with heart or lung conditions. NHS inform adds people who smoke, those with asthma, cystic fibrosis or heart, kidney or liver conditions, and people with a weakened immune system.
-
When should I go to A&E with pneumonia?
Call 999 or go to A&E if you are struggling to breathe, have pale, blue or blotchy skin, lips or tongue, are coughing up blood, are suddenly confused, or cannot wake your baby, the NHS says.
-
Can children get pneumonia?
Yes. The NHS says a baby or young child with pneumonia may need hospital treatment. Asthma + Lung UK says babies and children under 5 are more at risk and that pneumonia can make it harder for a child to breathe.
-
Can I prevent pneumonia with vaccines?
The NHS lists pneumococcal, flu, RSV and COVID-19 vaccines for those eligible, which protect against infections that can cause pneumonia. Stopping smoking also reduces your chance of getting it.
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-11, next review 2027-10-11.
-
NHS: Pneumonia, https://www.nhs.uk/conditions/pneumonia/ , retrieved October 2026
-
NHS inform: Pneumonia, https://www.nhsinform.scot/illnesses-and-conditions/lungs-and-airways/pneumonia/ , retrieved October 2026
-
Asthma + Lung UK: Pneumonia, https://www.blf.org.uk/support-for-you/pneumonia , retrieved October 2026
-
NICE Clinical Knowledge Summaries: Chest infections - adult, https://cks.nice.org.uk/topics/chest-infections-adult/ , retrieved October 2026
-
NICE Clinical Knowledge Summaries: Cough - acute with chest signs in children, https://cks.nice.org.uk/topics/cough-acute-with-chest-signs-in-children/ , retrieved October 2026
Related guides
Keep reading.
-
Pneumonia recovery
What to expect as you recover.
Read guide -
Chest infection
Bronchitis and other chest infections.
Read guide -
Bronchitis
A look-alike that usually does not need antibiotics.
Read guide -
Pneumococcal vaccination
Who is offered it on the NHS.
Read guide -
RSV vaccine in the UK
Who is eligible in pregnancy and older age.
Read guide -
Influenza
Flu, which can lead to pneumonia.
Read guide -
Sepsis
A life-threatening reaction to infection.
Read guide -
Respiratory medicine
The specialty that manages lung conditions.
Read guide