What causes pneumonia

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 4, 2026

Quick Answer: Pneumonia is primarily caused by infections from bacteria, viruses, and fungi. These pathogens can enter the lungs and cause inflammation, leading to the symptoms associated with pneumonia. Often, the body's own defenses are weakened, making individuals more susceptible to these infections.

Key Facts

What Causes Pneumonia?

Pneumonia is an infection that inflames the air sacs in one or both lungs. The air sacs may fill with fluid or pus (purulent material), causing cough with phlegm or pus, fever, chills, and difficulty breathing. A variety of organisms, including bacteria, viruses, and fungi, can cause pneumonia.

Bacterial Pneumonia

Bacterial pneumonia is the most common type of pneumonia in adults. It can occur on its own or after you've had a viral illness. Bacteria that can cause pneumonia include Streptococcus pneumoniae (pneumococcus), Haemophilus influenzae, Mycoplasma pneumoniae, and Chlamydophila pneumoniae. Pneumococcal pneumonia, caused by Streptococcus pneumoniae, is the most common bacterial cause. It can range in severity from mild to life-threatening. Some types of bacterial pneumonia can be prevented by vaccines.

Viral Pneumonia

Viruses are another common cause of pneumonia, especially in children. Viruses that can cause pneumonia include influenza (flu) viruses, respiratory syncytial virus (RSV), rhinoviruses (common cold), and coronaviruses (including SARS-CoV-2, which causes COVID-19). Viral pneumonia is often milder than bacterial pneumonia, but it can sometimes lead to secondary bacterial infections.

Fungal Pneumonia

Fungal pneumonia is less common than bacterial or viral pneumonia. It typically occurs in people with weakened immune systems, such as those with HIV/AIDS, or those taking immunosuppressant drugs. Fungi that can cause pneumonia include Pneumocystis jirovecii, Cryptococcus species, and Histoplasma capsulatum. Fungal pneumonia can be severe and difficult to treat.

Other Causes of Pneumonia

Aspiration Pneumonia: This occurs when foreign material, such as food, liquid, vomit, or saliva, is inhaled (aspirated) into the lungs. This can happen if you have a condition that affects your swallowing reflex or if you have a reduced level of consciousness. Aspiration can introduce bacteria into the lungs, leading to infection.

Walking Pneumonia: This is a term used to describe a milder form of pneumonia, often caused by bacteria like Mycoplasma pneumoniae. People with walking pneumonia may not feel sick enough to be bedridden, but they can still spread the infection.

Risk Factors

While anyone can develop pneumonia, certain factors can increase your risk:

Understanding the causes of pneumonia is crucial for prevention and treatment. Maintaining good hygiene, getting vaccinated, and managing underlying health conditions can help reduce your risk.

Sources

  1. Pneumonia - Symptoms and causes - Mayo Clinicfair-use
  2. Pneumonia - NHSfair-use
  3. Pneumonia | CDCfair-use

Missing an answer?

Suggest a question and we'll generate an answer for it.