Is Pneumonia Contagious?

While the infection is not, germs that cause pneumonia can be contagious. See how they spread, how long you might be contagious and tips on caring for someone who is sick.

Pneumonia (the lung infection) is not contagious, but the bacteria and viruses that cause it can be spread from person to person. For example, the flu is contagious and can lead to pneumonia in some cases. Also, Streptococcus pneumoniae bacteria, which is the most common cause of bacterial pneumonia, is contagious. “Walking pneumonia” or pneumonia caused by Mycoplasma pneumoniae is contagious as well.

These germs (bacteria and viruses) are most commonly spread when infected people cough, sneeze or talk, sending respiratory droplets into the air. These droplets can then be inhaled by those who are in close contact. Less often, you can get pneumonia from touching an object or surface that has the germ on it and then touching your nose or mouth. Not everyone who is exposed to pneumonia-causing germs will develop pneumonia, and some people are at increased risk for getting pneumonia. You can pass pneumonia-causing bacteria on to other people even when you don’t have symptoms.

How Long Am I Contagious? 

There is no set time for how long you’ll be contagious once you have pneumonia. The time you may spread viruses or bacteria to others depends on what caused you to have pneumonia (walking pneumonia can be contagious for weeks). Generally, if you have bacterial pneumonia, you are contagious for around 48 hours after starting antibiotics and until your fever has gone away. If it is viral pneumonia, as symptoms start to go away (especially fever) so does the contagious period. Fungal pneumonia is not contagious. 

General contagious periods:

Viral pneumonia:
Until symptoms improve and fever is gone (can be several days to over a week)

Bacterial pneumonia:
After 48 hours of antibiotics and fever is gone

Walking pneumonia:
2-4 weeks before symptoms appear and until symptoms resolve (can be up to several weeks)

Fungal pneumonia:
Not contagious

When Can I Go Back to Work or School?

Recovery from pneumonia often takes several weeks. However, once you no longer have a fever for at least 24 hours without fever-reducing medication and your symptoms begin to subside, you can usually return to work or school. You can take extra precautions once you have returned, such as keeping your distance from others and opting to wear a mask, particularly when around others with weakened immune systems.

What Should I Know if I Am Caring for Someone with Pneumonia?

Remember the germs spread from person to person through respiratory droplets or if you touch something that has the germs on it and then touch your eyes, mouth or nose. 

If you are caring for someone that is sick, and you want to avoid getting sick yourself:

  • Wear a high-quality mask for face-to-face contact.
  • Wash your hands often, especially after touching utensils, cups, tissues, bedding, etc.
  • Clean and disinfect surfaces that may have been contaminated with germs.
  • If possible, take steps for cleaner air inside, like using a portable HEPA air cleaner, opening windows, using exhaust fans, etc. 
  • As a prevention strategy before anyone gets sick, make sure you’re up to date on your recommended vaccinations. 

While you are caring for someone that is sick:

  • Watch for worsening symptoms
  • Keep them hydrated and comfortable, and
  • Follow their healthcare provider’s advice

Questions?

Talk to our experts at the American Lung Association Lung HelpLine. Our service is free and we are here to help you by phone, web chat or email.
Contact the Helpline

Page last updated: May 5, 2025

Freedom From Smoking Clinic - Geneva, OH
Geneva, OH | Apr 03, 2025
Freedom From Smoking Clinic - Cleveland, OH
Cleveland, OH | Apr 22, 2025