India · United StatesDoctor-led care for India and the United StatesLimited placesMyDoctor Partner: zero upfront, limited placesFree appDownload the MyDoctor App on any deviceConciergeMedical Tourism Concierge of MyDoctor: written quotes before you travelDownload the MyDoctor App →
Chest and lungs

Pneumonia: causes, symptoms, tests and treatment, a review

Pneumonia is a lung infection that can be mild or life-threatening. This article explains the causes, symptoms, tests, treatment, vaccines and warning signs that need urgent care.

6 min readUpdated 3 official sources

Dr. Ambed MishraScientist and Chief Medical OfficerDr. Ambed Mishra

Educational information only, not medical advice. Always ask a qualified doctor about your own health. In an emergency call 112 (India) or 911 (US). Read the full disclaimer.

Simple view: the same facts in everyday words, for readers with no medical background.

Abstract

Background. Pneumonia is an infection of the lungs in which the air sacs can fill with fluid or pus, making breathing painful. It ranges from mild to severe and is the largest infectious cause of death in children worldwide.

Key points. This review explains the main causes, which are bacteria, viruses, fungi and inhaled food or fluid, and who is at higher risk. It describes symptoms such as cough, fever and fast breathing, and how a chest X-ray and blood tests help diagnosis. It outlines antibiotics and hospital care, recovery, and vaccines and hygiene that lower the risk.

Conclusion. Most people recover, but babies, older adults and people with other illnesses can become very ill. Get emergency help for struggling to breathe, blue lips or confusion: call 112 in India or 911 in the United States.

Keywords: pneumonia symptoms; causes of pneumonia; pneumonia in children; pneumonia treatment; pneumonia vaccine; pneumonia diagnosis

On this page
  1. 1. Introduction
  2. 2. Causes and risk factors
  3. 3. Signs and symptoms
  4. 4. Diagnosis and tests
  5. 5. Treatment and recovery
  6. 6. Prevention and self-care
  7. 7. Special groups
  8. 8. When to see a doctor
  9. 9. Conclusion
  10. Common questions
  11. References
  12. Article information
  13. Cite this article
  14. About the author

Pneumonia is a lung infection that ranges from mild to severe. Most people recover, but babies, older adults and people with other health problems can become seriously ill. This article explains the causes, symptoms, tests and treatment of pneumonia, using information from the NHS, MedlinePlus and the World Health Organization (WHO).

1. Introduction

Pneumonia is an inflammation (swelling and irritation) of the lungs, usually caused by an infection [1]. In pneumonia the tiny air sacs in the lungs, called alveoli, can fill with fluid or pus, which makes breathing painful and limits how much oxygen you take in [2, 3]. It can affect one or both lungs. How serious it is depends on the cause, the person's age and their general health [2].

WHO describes pneumonia as the largest infectious cause of death in children worldwide. It killed about 740,000 children under 5 in 2019, with deaths highest in southern Asia and sub-Saharan Africa. It can be prevented with simple measures and treated with low-cost medicines and care [3].

2. Causes and risk factors

Most cases are caused by bacteria or viruses [1, 2]. The main types are:

  • Bacterial pneumonia, the most common type, which can happen on its own or after a cold or flu [2].
  • Viral pneumonia, caused by germs such as the respiratory syncytial virus (RSV), flu viruses and the virus that causes COVID-19. It is often mild, but it can raise the risk of a second infection with bacteria [2].
  • Fungal pneumonia, which is more common in people with long-term illness or a weak immune system [2].
  • Aspiration pneumonia, which happens when food or fluid gets into the lungs [1, 2].

Anyone can get pneumonia, but some people have a higher risk [1, 2]:

  • Adults over 65, and babies and young children
  • People with heart disease or a long-term lung condition, and those with diabetes, kidney disease, liver disease or sickle cell disease
  • People who smoke, drink a lot of alcohol or are undernourished
  • People with a weak immune system, or with trouble coughing or swallowing, for example after a stroke
  • People who recently had a cold or flu, or who are in hospital, especially in intensive care

WHO adds that children are at higher risk if they are undernourished, have measles or HIV, live in crowded homes, are exposed to parental smoking, or breathe smoke from cooking or heating with wood or dung [3].

3. Signs and symptoms

Symptoms can appear suddenly or build up over several days [1]. Common signs include [1, 2]:

  • Cough, sometimes bringing up phlegm
  • Fever and chills
  • Shortness of breath or fast breathing
  • Chest pain when breathing or coughing
  • Tiredness, body aches and loss of appetite
  • Feeling or being sick, and sometimes diarrhoea

Symptoms can look different in some groups. Babies may have no clear signs, or may be restless, listless, vomit or make grunting sounds. Older adults may have milder symptoms, or may become weak or suddenly confused [1, 2]. WHO says doctors diagnose pneumonia in children under 5 who have a cough or difficulty breathing when they breathe fast or when the lower chest wall pulls in as they breathe in. Very sick infants may be unable to feed or drink [3].

4. Diagnosis and tests

Pneumonia can be hard to tell apart from a cold or flu, so diagnosis can take time. A doctor takes a history, examines you and listens to your lungs [2]. A chest X-ray and blood tests are common [1, 2]. In hospital, or for older adults and people with other illnesses, doctors may also check mucus coughed up from the lungs, do a CT scan, measure the oxygen in your blood (pulse oximetry) or look inside the airways (bronchoscopy) [2].

5. Treatment and recovery

Treatment depends on the type of pneumonia, the germ and how severe it is. Your doctor decides what is right for you [2].

  • Bacterial pneumonia is treated with antibiotics, which do not work against viruses. The NHS says to take the full course even if you feel better sooner, and to contact your doctor if you are not improving after 2 to 3 days [1, 2].
  • Viral and fungal pneumonia may need antivirals or antifungals in some cases [2].
  • Hospital care may be needed for severe illness. It can include oxygen if blood oxygen is low [1, 2].
  • Comfort measures. The NHS advises rest, plenty of fluids and staying home while feverish. It notes that coughing helps the body get rid of the infection, and it suggests checking with a pharmacist or doctor before using any pain, fever or cough medicine [1].

Recovery time varies. The NHS says most people improve in 2 to 4 weeks, depending on severity, while MedlinePlus notes that some need a month or longer [1, 2]. For children, WHO says most cases can be treated with oral antibiotics at a health centre, with hospital care kept for severe cases [3].

6. Prevention and self-care

Vaccines can help protect against infections that lead to pneumonia. The NHS lists the pneumococcal vaccine, the flu vaccine, the RSV vaccine for some groups and a seasonal COVID-19 vaccine for people at higher risk [1]. Ask your doctor which are advised for you or your child. WHO names vaccination against Hib, pneumococcus, measles and whooping cough as the most effective way to protect children, along with exclusive breastfeeding for the first six months, good hygiene and cleaner cooking fuels [3].

Other steps that help [1, 2]:

  • Wash your hands often and cover coughs and sneezes.
  • Do not smoke, because stopping smoking lowers the chance of getting pneumonia.
  • Keep a healthy lifestyle, which may also help prevent pneumonia [2].

7. Special groups

Babies and young children, adults over 65 and people with long-term illness or weak immunity are at risk of becoming seriously ill, so they should get medical advice early [1, 2]. MedlinePlus lists possible complications such as bacteria spreading into the bloodstream, pockets of pus in the lung, problems with the covering of the lungs, kidney failure and breathing failure [2]. Older adults who become weak or suddenly confused, and infants who have fever, vomiting, low energy or restlessness, may have pneumonia and should see a doctor [1, 2].

8. When to see a doctor

The NHS advises asking for an urgent doctor appointment if you have had a cough for up to 3 weeks, are coughing up yellow or green phlegm, have chest pain that comes and goes or happens when breathing or coughing, or feel short of breath [1]. Seek emergency help if you struggle to breathe or cannot speak, if your skin, lips or tongue look pale, blue or blotchy, if you cough up blood, if you suddenly become confused, or if a baby cannot be woken or feels floppy. Do not drive yourself, and bring your medicines with you [1].

In an emergency, call your local emergency number (112 in India, 911 in the United States).

9. Conclusion

Pneumonia is a lung infection that most often comes from bacteria or viruses. Most people recover with rest and the treatment their doctor advises, but young children, older adults and people with other illnesses can become very unwell. Vaccines, good hygiene and not smoking can lower the risk, and getting medical advice early matters for those at higher risk.

Common questions

Is pneumonia contagious?

WHO says the viruses and bacteria that cause pneumonia can spread through droplets from a cough or sneeze. The NHS advises covering coughs and sneezes, throwing tissues away quickly and washing hands often.

Do antibiotics treat all pneumonia?

No. MedlinePlus says antibiotics treat bacterial pneumonia and some fungal types but do not work against viruses. Your doctor chooses the treatment.

How long does recovery take?

The NHS says most people improve within 2 to 4 weeks depending on severity, and MedlinePlus notes some people need a month or longer.

Which vaccines help protect against pneumonia?

The NHS lists pneumococcal, flu, RSV for some groups and COVID-19 vaccines. WHO also names Hib, measles and whooping cough vaccines for children. Ask your doctor what is advised for you.

Important: please read

  • Educational information only. This article is general health education. It is not medical advice, diagnosis or treatment. Reading it does not create a doctor–patient relationship with MyDoctor or with anyone else.
  • Ask a qualified doctor. Always talk to a qualified, registered doctor about your own health. In India, that means a doctor registered with the National Medical Commission (NMC) or a State Medical Council. In the United States, a licensed physician. Elsewhere, a doctor licensed where you live.
  • Never ignore or delay professional advice because of something you read here. Do not start, stop or change any medicine or treatment without your doctor.
  • Emergencies: call 112 in India, 911 in the United States, or your local emergency number. Do not wait for an online answer.
  • No product is endorsed. MyDoctor does not recommend any brand, product or supplement in this article.
  • About the sources. This article summarises, in our own words, information from the public health bodies named under Sources. Health knowledge changes, and this summary may not reflect the latest research or your personal situation.
  • Liability. To the extent permitted by law, MyDoctor (MODERNUS HEALTH TECHNOLOGIES PRIVATE LIMITED) accepts no liability for any decision made on the basis of this content.

Full disclaimer · Privacy and terms

References

  1. NHS. Pneumonia - NHS [Internet]. 2026 [cited 2026 Oct 19]. Available from: https://www.nhs.uk/conditions/pneumonia/
  2. NIH MedlinePlus. Pneumonia - MedlinePlus [Internet]. 2023 [cited 2026 Oct 19]. Available from: https://medlineplus.gov/pneumonia.html
  3. World Health Organization. Pneumonia in children fact sheet - WHO [Internet]. 2022 [cited 2026 Oct 19]. Available from: https://www.who.int/news-room/fact-sheets/detail/pneumonia

Article information

Article ID
MDG-ART-LUNGS-0003
Version
1
Author and corresponding author
Dr. Ambed Mishra, PharmD, PhD, Scientist and Chief Medical Officer, MyDoctor. Contact the author's office
Written
2026 Sep 28
Approved and published
2026 Oct 20
Last reviewed
2026 Oct 15
Next review due
2027 Oct 15
Conflict of interest
The author leads MyDoctor, which offers health services. No company paid for this article.
Funding
None.

Cite this article

NLM (PubMed style)

Mishra A. Pneumonia: causes, symptoms, tests and treatment, a review [Internet]. MyDoctor Health Library. 2026 [updated 2026 Oct 20; cited 2026 Oct 20]. Available from: https://mydoctor.social/app/blog/pneumonia-causes-symptoms-and-treatment-review

AMA

Mishra A. Pneumonia: causes, symptoms, tests and treatment, a review. MyDoctor Health Library. Published October 20, 2026. Updated October 20, 2026. Accessed October 20, 2026. https://mydoctor.social/app/blog/pneumonia-causes-symptoms-and-treatment-review

APA

Mishra, A. (2026, October 20). Pneumonia: causes, symptoms, tests and treatment, a review. MyDoctor Health Library. https://mydoctor.social/app/blog/pneumonia-causes-symptoms-and-treatment-review

Dr. Ambed Mishra
Scientist and Chief Medical Officer

Dr. Ambed Mishra, PharmD, PhD

  • Clinical Research
  • Psychiatry
  • Community Medicine
  • Clinical Pharmacy
  • Electronic Health Records
  • Patient Outcomes Research
MyDoctormydoctor.social

MyDoctor by MODERN US HEALTH, Austin, Texas. Ahmedabad, Gujarat. Bangalore, India.

Dr. Ambed Mishra is a clinical (patient care) scientist, author and former professor. He is Group CEO and Chief Medical Officer of MODERN US HEALTH (MODERN US GROUP), Austin, Texas, the group behind MyDoctor, and a senior consultant who teaches and trains MD/DO physicians, PharmD and PhD professionals, nurses and other healthcare professionals in patient care in the United States and India.

More about Dr. Ambed Mishra
  • More than ten years of full-time leadership in United States healthcare, building patient care services that improve medication adherence and bring doctors, pharmacists and nurses together around each patient.
  • Leads the MD and engineering teams behind MyDoctor: clinic and hospital management software, electronic health records and telehealth for hospitals and physician groups in the United States and India.
  • Former Assistant Professor and Clinical Preceptor at Rajiv Gandhi University of Health Sciences, Bangalore, and senior researcher with hospitals, universities and patient care groups in India and the United States.
  • More than 30 published research and review articles and case reports, and more than 15 international conference presentations in India, Australia, Canada, the United States, Spain and other countries.
  • Chief Medical Officer and Global Program Head of a nonprofit mission that helps cover hospital and doctor visit bills for patients in need in India, Nepal, the United States and other countries.

The author's office answers questions about articles, research, speaking and collaboration. It cannot give personal medical advice.

Share:WhatsAppLinkedInX
Register freeGet the app
One question

Who are you?

Tap one to continue. We show the right plans, prices and wording for you. Change it any time from the top of the page.

For me and my family
Healthcare professionals
Organisations
Saved on this device only. One tap is enough.

We use essential cookies to run MyDoctor and keep your free checks. With your agreement we also count how our website is used (pages, time, where visits come from, city) to improve it. We never sell your data. Privacy policy