Pneumonia: Symptoms, Causes, Tests and Treatment
Pneumonia is an infection of one or both lungs that makes the tiny air sacs fill with fluid or pus, causing cough, fever and difficulty breathing. It can be mild or serious, and babies, young children, people over 65 and people with heart or lung disease are more likely to become very ill. See a doctor soon for a cough with fever and breathlessness, and get urgent help for struggling to breathe, blue lips or sudden confusion.
Also searched as: nimonia, pneumonia ke lakshan, lung infection, bronchopneumonia, phephdon ka infection, chest infection
What is Pneumonia?
Pneumonia is inflammation of the lungs, usually caused by an infection. Bacteria are the most common cause, but viruses such as flu, RSV and the COVID-19 virus can also cause it, and fungi can cause it in people with weak immunity. It can also happen when food, drink or vomit is breathed into the lungs (aspiration pneumonia). Symptoms can start suddenly or over a few days. Most people recover in a few weeks, but it can lead to serious problems such as infection spreading to the blood.
Symptoms of Pneumonia
- Cough, usually with thick yellow or green phlegm
- Fever, high temperature or chills
- Shortness of breath or fast breathing
- Chest pain when breathing in or coughing
- Feeling very tired, with an aching body and loss of appetite
- Nausea, vomiting or loose motions
- Wheezing. Babies may make grunting noises
- Confusion, which is more common in older people. Older people may have milder symptoms and even a lower-than-normal temperature
- Babies may show no clear signs, or may vomit, have a fever and cough, seem restless or have no energy
See a doctor urgently if
- Struggling to breathe, such as choking, gasping or being unable to speak
- Pale, blue or blotchy skin, lips or tongue
- Coughing up blood
- Sudden confusion, such as not knowing where you are
- A baby who cannot be woken or feels floppy
- Shortness of breath, or chest pain when breathing or coughing, together with a cough and fever
In an emergency, go to the nearest hospital or call 112.
Causes
- Bacterial infection, the most common cause, sometimes after a cold or flu
- Viral infection, such as flu, RSV, common cold viruses or the COVID-19 virus
- Fungal infection, mainly in people with long-term illness or a weak immune system
- Breathing food, drink or vomit into the lungs (aspiration)
Risk factors
- Age 2 years and under, or 65 years and older
- Smoking, heavy alcohol use or poor nutrition
- A weak immune system
- Long-term conditions such as diabetes, heart failure, lung disease, sickle cell disease, liver disease or kidney disease
- Trouble coughing or swallowing, for example after a stroke
- A recent cold or flu
- Being in hospital, especially in intensive care or on a ventilator
- Breathing in certain chemicals, pollution or toxic fumes
Tests your doctor may suggest
Which tests are needed depends on your symptoms and your doctor's examination.
Medical history and examination
A doctor asks about your symptoms and listens to your lungs with a stethoscope.
Chest X-ray
Shows whether there is infection in the lungs and how much of the lungs is affected.
Complete blood count (CBC)
A blood test that shows whether the body is fighting an infection.
Normal range and what results mean: CBC (Complete Blood Count)
Blood culture
Checks whether a bacterial infection has spread into the bloodstream.
Normal range and what results mean: Blood Culture Test
Pulse oximetry (SpO2)
A clip on the finger measures how much oxygen is in the blood.
Normal range and what results mean: Pulse Oximetry (SpO2)
Sputum test
A sample of phlegm coughed up from the lungs is checked for the germ causing the infection.
Chest CT scan
Done in some people to see how much of the lungs is affected and to look for problems such as pus or fluid around the lungs.
Treatment overview
Treatment depends on the germ causing the pneumonia and how severe it is. Antibiotics treat bacterial pneumonia, but they do not work against viruses. Some people with viral pneumonia get antiviral medicines, and fungal pneumonia is treated with antifungal medicines. At home, rest, drink plenty of fluids and cover coughs and sneezes. Medicines for fever and pain may help, and a doctor or pharmacist can say which are safe for you. People who are very unwell, babies, older adults, people with heart or lung disease and those not improving on antibiotics may need hospital care. In hospital they may get antibiotics, sometimes steroids, and oxygen if blood oxygen is low. Your doctor decides which treatment suits you.
Your doctor decides which treatment suits you. This page names kinds of treatment only and gives no doses.
Medicine lists linked to this page
Related tools
Prevention
- Get vaccines that protect against pneumonia, such as the pneumococcal and flu vaccines, as advised by your doctor
- Keep your child's vaccines up to date, including the pneumococcal vaccine
- Do not smoke
- Wash your hands often with soap and water
- Cover your mouth and nose when you cough or sneeze, and throw used tissues away quickly
- Keep a healthy lifestyle
Frequently asked questions
What are the first symptoms of pneumonia?
Pneumonia often starts with a cough, fever or chills, and feeling short of breath. Symptoms can come on suddenly or over a few days. Chest pain when breathing or coughing, tiredness and loss of appetite are also common. Because it can look like a cold or flu at first, it can be hard to spot early.
What are the symptoms of pneumonia in babies and children?
Newborns and infants may show no clear signs. Others may have fever, cough and vomiting, seem very sick or restless, or have no energy. Babies may make grunting noises when breathing. A baby who cannot be woken or feels floppy needs emergency help.
Is pneumonia contagious?
Pneumonia is caused by germs such as bacteria and viruses, and some of these, like flu and COVID-19, spread between people. Our sources do not say how easily pneumonia itself spreads. The NHS advises people with pneumonia to cover coughs and sneezes, throw used tissues away quickly and wash their hands regularly.
How long does it take to recover from pneumonia?
It varies. The NHS says most people get better in 2 to 4 weeks. MedlinePlus says some people feel better within a week, while others may take a month or more. Recovery can be slower in older people and those with other health problems.
Do antibiotics work for all types of pneumonia?
No. Antibiotics treat pneumonia caused by bacteria and some fungi, but they do not work for viral pneumonia. If antibiotics are prescribed, the NHS says to finish the course even if you feel better, and to contact your doctor if you are not better after 2 to 3 days.
Should I take cough medicine for pneumonia?
The NHS advises against cough medicine for pneumonia, because coughing helps the body clear the infection. Ask your doctor or pharmacist before taking any medicine for cough, fever or pain.
Who is most at risk of serious pneumonia?
Children aged 2 years and under, adults aged 65 and over, smokers, and people with a weak immune system or long-term conditions such as diabetes, heart failure or lung disease are at higher risk. They are also more likely to need hospital care.
Can pneumonia be prevented?
Vaccines can help prevent pneumonia caused by pneumococcal bacteria and the flu virus. Not smoking, washing your hands often and a healthy lifestyle may also help. Ask your doctor which vaccines suit you or your child.
More in Lungs and breathing
Sources
- MedlinePlus: Pneumonia (2 December 2026)
- NHS: Pneumonia (2 December 2026)
Medyzen Editorial Team · Last updated
This page is general information, not medical advice and not a diagnosis. It does not tell anyone to start, stop or change a medicine. Symptoms can have many causes, and only a doctor who examines you can say what is behind yours. If you think this is an emergency, do not wait for an appointment. Terms