Is pneumonia (infection of the lungs) contagious?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: March 15, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

From the Guidelines

Pneumonia can be contagious depending on its cause, and bacterial and viral pneumonia can spread through respiratory droplets when an infected person coughs, sneezes, or talks, as supported by the most recent study 1.

Causes of Contagious Pneumonia

The causes of contagious pneumonia include:

  • Bacterial pneumonia, such as Streptococcus pneumoniae
  • Viral pneumonia, such as influenza virus and respiratory syncytial virus (RSV) These pathogens can spread through respiratory droplets, contact with contaminated surfaces, or close contact with an infected person 1.

Prevention and Precautions

To prevent the spread of contagious pneumonia, it is essential to:

  • Cover your mouth when coughing or sneezing
  • Wash your hands frequently with soap and water
  • Wear a mask in public, especially in crowded areas or during outbreaks
  • Limit close contact with others, especially those with weakened immune systems, the elderly, and young children
  • Get vaccinated against pneumococcal disease and influenza, as recommended by the most recent guidelines 1

High-Risk Groups

Certain groups are at higher risk for contracting pneumonia from an infected person, including:

  • Those with weakened immune systems
  • The elderly
  • Young children These groups should take extra precautions to prevent infection, such as avoiding close contact with infected individuals and getting vaccinated against pneumococcal disease and influenza 1.

Non-Contagious Pneumonia

Not all pneumonia is contagious, and fungal pneumonia, aspiration pneumonia, and chemical pneumonia cannot spread from person to person 1. However, it is crucial to prioritize the single most recent and highest quality study, which in this case is 1, to ensure the most accurate and up-to-date information.

From the Research

Contagious Nature of Pneumonia

  • Pneumonia is a common acute respiratory infection that affects the alveoli and distal airways, and it can be caused by a variety of microorganisms, including bacteria, respiratory viruses, and fungi 2.
  • The disease can be broadly divided into community-acquired pneumonia or hospital-acquired pneumonia, with different causative pathogens and risk factors associated with each type 2, 3.
  • Individuals with pneumonia often present with respiratory and systemic symptoms, and diagnosis is based on both clinical presentation and radiological findings 2.

Transmission and Risk Factors

  • Pneumonia can affect all age groups, although it is the very young and the very old who are most at risk 4.
  • The development of the disease largely depends on the host immune response, with pathogen characteristics having a less prominent role 2.
  • Certain factors, such as prior chronic conditions, can increase an individual's susceptibility to pneumonia 2, 5.
  • The use of antibiotics can also contribute to the development of pneumonia by inducing selective pressure on bacterial species 5.

Causative Pathogens

  • A wide variety of microorganisms can cause pneumonia, including Streptococcus pneumoniae, Mycoplasma pneumoniae, Chlamydophila pneumoniae, Staphylococcus aureus, and certain Gram-negative rods 2, 3, 6.
  • Viruses are also a common cause of pneumonia, and can be found in up to 25% of patients with pneumonia who require hospitalization 6.
  • In some cases, no causative organism can be identified, which remains a significant challenge to understanding lower respiratory infection 6.

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Research

Pneumonia.

Nature reviews. Disease primers, 2021

Research

Community-acquired pneumonia: An overview.

Postgraduate medicine, 2015

Research

Pneumonia part 1: Pathology, presentation and prevention.

British journal of nursing (Mark Allen Publishing), 2012

Research

Etiology and risk factors of adult pneumonia.

Journal of chemotherapy (Florence, Italy), 1995

Research

Evolving Understanding of the Causes of Pneumonia in Adults, With Special Attention to the Role of Pneumococcus.

Clinical infectious diseases : an official publication of the Infectious Diseases Society of America, 2017

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.