Explainer
Pneumonia explained: causes, symptoms, treatment and prevention
Pneumonia is an infection of one or both lungs that makes the air sacs fill with fluid or pus.[1] It is usually caused by bacteria or viruses, and less often by fungi or parasites.[2] How serious it is depends on a person's age, overall health and the cause; the NHS says babies, older people and people with heart or lung conditions are at risk of becoming seriously ill.[3][4] Some types can be prevented by vaccines.[5]
This page explains pneumonia for general readers. It is not medical advice: talk to a doctor about your own symptoms or treatment. If someone is struggling to breathe, has blue lips or is suddenly confused, call your local emergency number.
Pneumonia is an infection of one or both lungs that causes the air sacs, called alveoli, to fill with fluid or pus.[1] It affects millions of people worldwide each year.[6]
What causes pneumonia
Pneumonia is usually caused by bacteria or viruses; fungi and parasites are less common causes.[2] Common bacterial causes of pneumonia caught in the community include Mycoplasma pneumoniae and pneumococcal disease.[7] Viral causes include COVID-19, human metapneumovirus, parainfluenza virus, flu, RSV and rhinovirus.[8] See also the flu explainer, the COVID-19 explainer and the RSV explainer.
Pneumonia can also follow something such as water or food getting into the lungs, which is called aspiration pneumonia.[9] Clinicians are not always able to find out which germ caused a person’s pneumonia.[10]
The centers-for-disease-control-and-prevention distinguishes community-acquired pneumonia, caught outside hospital, from healthcare-acquired pneumonia, which develops during or after a stay in a healthcare setting.[11]
Symptoms
Symptoms can start suddenly or over a few days. They include a cough, shortness of breath, fever or chills, chest pain and tiredness, and they range from mild to serious.[12] Pneumonia can also cause confusion, which the NHS says is common in older people.[13]
The NHS advises calling 999 or going to A&E for symptoms such as struggling to breathe, blue or blotchy skin, lips or tongue, coughing up blood or sudden confusion.[14]
Who is at higher risk
How serious pneumonia is depends on a person’s age, overall health and what caused the infection.[3] Babies, older people and people with heart or lung conditions are at risk of becoming seriously ill and may need hospital treatment.[4]
Diagnosis and treatment
To diagnose pneumonia, a clinician reviews the medical history, does a physical exam and orders tests such as a chest X-ray.[15] Treatment depends on the cause: bacterial pneumonia is usually treated with antibiotics, and treatment may include antibiotic, antiviral or antifungal medicines.[16] People with severe pneumonia may need hospital treatment with antibiotics given through a drip and oxygen.[17]
Recovery can take several weeks; the NHS says most people get better in 2 to 4 weeks, depending on their symptoms.[18]
Prevention
Some types of pneumonia can be prevented by vaccines. The NHS lists pneumococcal, flu, RSV and COVID-19 vaccines as protection against infections that can cause it.[5] Stopping smoking also reduces the chance of getting pneumonia.[19]
Read next
Sepsis explained: signs, causes, treatment and why speed matters
What sepsis is, how an infection leads to organ failure, the warning signs, who is most at risk, US and global death tolls, and how it is treated and prevented.
Questions readers ask
What causes pneumonia?
Bacteria and viruses are the common causes; fungi and parasites are less common. Common bacterial causes include Mycoplasma pneumoniae and pneumococcal disease, and common viral causes include flu, RSV and COVID-19.[2][7][8]
What are the symptoms of pneumonia?
Symptoms can start suddenly or over a few days and include a cough, shortness of breath, fever or chills, chest pain and tiredness. They range from mild to serious, and confusion is common in older people.[12][13]
How long does it take to recover from pneumonia?
Recovery can take several weeks. The NHS says most people get better in 2 to 4 weeks, depending on their symptoms.[18]
Is pneumonia always treated with antibiotics?
No. Treatment depends on the cause. Bacterial pneumonia is usually treated with antibiotics, and treatment may include antibiotic, antiviral or antifungal medicines.[16]
Can vaccines prevent pneumonia?
Some types can be prevented by vaccines. The NHS lists pneumococcal, flu, RSV and COVID-19 vaccines as protection against infections that can cause pneumonia.[5]
When is pneumonia an emergency?
The NHS advises calling 999 or going to A&E for symptoms such as struggling to breathe, blue or blotchy skin, lips or tongue, coughing up blood or sudden confusion.[14]
Sources
· 19 claims from 3 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
Pneumonia is an infection of one or both lungs that causes the air sacs (alveoli) to fill with fluid or pus. confirmedas of 2026-11-14
- [2]
Pneumonia is usually caused by bacteria or viruses; fungi and parasites are less common causes. confirmedas of 2026-11-14
- About Pneumonia · Centers for Disease Control and Prevention · Primary source · Key points (retrieved 2026-11-14)
- Pneumonia · NHS · Primary source · Causes of pneumonia (retrieved 2026-11-14)
- [3]
How serious pneumonia is depends on a person's age, overall health and what caused the infection. confirmedas of 2026-11-14
- Pneumonia · National Heart, Lung, and Blood Institute · Primary source · Overview (retrieved 2026-11-14)
- [4]
Babies, older people and people with heart or lung conditions are at risk of becoming seriously ill with pneumonia and may need hospital treatment. confirmedas of 2026-11-14
- Pneumonia · NHS · Primary source · Introduction (retrieved 2026-11-14)
- [5]
Some types of pneumonia can be prevented by vaccines; the NHS lists pneumococcal, flu, RSV and COVID-19 vaccines as protection against infections that can cause it. confirmedas of 2026-11-14
- [6]
Pneumonia affects millions of people worldwide each year. confirmedas of 2026-11-14
- About Pneumonia · Centers for Disease Control and Prevention · Primary source · Prevention (retrieved 2026-11-14)
- [7]
Common bacterial causes of pneumonia caught in the community include Mycoplasma pneumoniae and pneumococcal disease. confirmedas of 2026-11-14
- About Pneumonia · Centers for Disease Control and Prevention · Primary source · Causes, bacterial infections (retrieved 2026-11-14)
- [8]
Viral infections that commonly cause pneumonia include COVID-19, human metapneumovirus, parainfluenza virus, flu, RSV and rhinovirus. confirmedas of 2026-11-14
- About Pneumonia · Centers for Disease Control and Prevention · Primary source · Causes, viral infections (retrieved 2026-11-14)
- Pneumonia · NHS · Primary source · Causes of pneumonia (retrieved 2026-11-14)
- [9]
Pneumonia can also be caused by something such as water or food getting into the lungs, which is called aspiration pneumonia. confirmedas of 2026-11-14
- Pneumonia · NHS · Primary source · Causes of pneumonia (retrieved 2026-11-14)
- [10]
Clinicians are not always able to find out which germ caused a person's pneumonia. confirmedas of 2026-11-14
- About Pneumonia · Centers for Disease Control and Prevention · Primary source · Key points (retrieved 2026-11-14)
- [11]
The CDC distinguishes community-acquired pneumonia, caught outside hospital, from healthcare-acquired pneumonia, which develops during or after a stay in a healthcare setting. confirmedas of 2026-11-14
- About Pneumonia · Centers for Disease Control and Prevention · Primary source · Defining types of pneumonia (retrieved 2026-11-14)
- [12]
Pneumonia symptoms can start suddenly or over a few days and include a cough, shortness of breath, fever or chills, chest pain and tiredness; they range from mild to serious. confirmedas of 2026-11-14
- [13]
Pneumonia can cause confusion, which the NHS says is common in older people. confirmedas of 2026-11-14
- Pneumonia · NHS · Primary source · Symptoms of pneumonia (retrieved 2026-11-14)
- About Pneumonia · Centers for Disease Control and Prevention · Primary source · Symptoms (retrieved 2026-11-14)
- [14]
The NHS advises calling 999 or going to A&E for pneumonia symptoms such as struggling to breathe, blue or blotchy skin, lips or tongue, coughing up blood or sudden confusion. confirmedas of 2026-11-14
- Pneumonia · NHS · Primary source · Immediate action required (retrieved 2026-11-14)
- [15]
To diagnose pneumonia, a clinician reviews the medical history, does a physical exam and orders tests such as a chest X-ray. confirmedas of 2026-11-14
- Pneumonia · National Heart, Lung, and Blood Institute · Primary source · Overview (retrieved 2026-11-14)
- [16]
Treatment depends on the cause: bacterial pneumonia is usually treated with antibiotics, and treatment may include antibiotic, antiviral or antifungal medicines. confirmedas of 2026-11-14
- [17]
People with severe pneumonia may need hospital treatment with antibiotics given through a drip (IV) and oxygen. confirmedas of 2026-11-14
- [18]
Recovery from pneumonia can take several weeks; the NHS says most people get better in 2 to 4 weeks, depending on their symptoms. confirmedas of 2026-11-14
- [19]
Stopping smoking reduces the chance of getting pneumonia. confirmedas of 2026-11-14
- Pneumonia · NHS · Primary source · How to reduce your risk of pneumonia (retrieved 2026-11-14)
Revision history (1)
- Page created.
Created Nov 14, 2026. Last reviewed by an editor on Nov 14, 2026. Next scheduled review: Aug 14, 2027.
Cite this page
"Pneumonia explained: causes, symptoms, treatment and prevention." ContentLora, updated Nov 14, 2026. https://contentlora.com/explain/pneumonia-explained
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.