Abstract medical visualization of lungs and airflow
Back to Health Questions

Is Pneumonia Contagious?

Abstract medical visualization of lungs and airflow

Pneumonia is a serious lung infection, but whether you can catch it from someone else depends on the cause.

Quick Answer

YES. Most types of pneumonia (bacterial, viral, and "walking" pneumonia) are contagious. They spread through respiratory droplets when an infected person coughs or sneezes. However, some types (like fungal or aspiration pneumonia) are not contagious.

Transmission by Type

Bacterial Pneumonia

Contagious? Yes.
Duration: Until 24-48 hours after starting antibiotics and fever-free.

Viral Pneumonia

Contagious? Yes.
Duration: As long as you have symptoms usually, but can vary by virus.

Symptoms vs. Cold/Flu

SymptomPneumoniaCold/Flu
FeverHigh, often with shaking chillsModerate to High
CoughDeep, productive (green/yellow/bloody mucus)Dry or mild mucus
Chest PainSharp, stabbing pain when breathing deeplyMild discomfort
BreathingShortness of breath even at restCongested but usually okay

What is "Walking Pneumonia"?

This is a milder form of pneumonia (usually bacterial). You might not feel sick enough to stay in bed, hence "walking." It is very contagious, especially in crowded places like schools or dorms.

When to Go to the ER

  • • Difficulty breathing or rapid breathing
  • • Chest pain that worsens when you breathe or cough
  • • Bluish color to lips or fingernails (low oxygen)
  • • Confusion/disorientation (especially in older adults)
  • • High fever (102°F+) that doesn't improve

Medical Review

Reviewed by: Ricardo Hamilton, MD

Last Updated: December 15, 2025

Sources: CDC, American Lung Association, NHS

Worried It Might Be Pneumonia?

Check your symptoms instantly with HealixAI.

Start Symptom Checker