Yes, certain types of pneumonia are contagious.

Pneumonia is caused by bacteria, viruses, or fungi. Some of these germs are transmitted from person to person. However, not everyone will develop pneumonia when exposed to the same germs.

It’s also possible to have pneumonia that can’t be transmitted to other people.

What types of pneumonia are contagious?

Bacterial pneumonia can be transmitted from person to person. Forms of bacterial pneumonia include:

There are many viruses that can cause pneumonia, including the same viruses that cause the cold and flu. Viruses can pass from person to person easily. For example, the influenza virus can survive on surfaces, making it even more contagious.

Other viruses that attack the respiratory system can be contagious as well.

Most cases of pneumonia are caused by either bacterial or viral organisms. These can spread in a number of ways, including:

  • coughs or sneezes that aren’t covered
  • sharing cups or eating utensils
  • touching a tissue or other item after someone with bacterial or viral pneumonia has used it
  • not washing your hands regularly, especially after blowing your nose, coughing, or sneezing

Here are some steps that can help reduce your exposure to the bacteria or viruses that can cause pneumonia.

If you have pneumonia yourself, stay home until you’re well and a doctor says your pneumonia is no longer contagious.

Symptoms of pneumonia include:

Call a doctor if you think an illness may be pneumonia and you’re in a high-risk category.

Also contact a medical professional if you have:

Vaccines are an important and effective way to prevent both bacterial and viral infections in children and adults. Pneumonia is a common complication of many of these infections.

Helpful vaccines for children include:

Helpful vaccines for adults include:

  • flu
  • meningitis
  • pneumococcal conjugate vaccine or pneumococcal polysaccharide vaccine for Streptococcal pneumonia
  • shingles
  • Tdap
  • varicella (chickenpox)

Speak with your doctor about which vaccines are right for you and your family.

Not everyone who’s exposed to these bacteria or viruses will develop pneumonia. People who are at high risk of developing pneumonia include:

Bacterial and viral pneumonia are the most common types of pneumonia. They’re both contagious.

However, you can reduce your risk of developing these pneumonias by getting vaccinated and practicing proper hand hygiene, among other steps.

If you do develop pneumonia, effective treatments are available.

A doctor will prescribe antibiotics to treat bacterial pneumonia. Your pneumonia should no longer be contagious 24 hours after starting antibiotics and once your fever resolves, if you had one.

Viral pneumonia is contagious until you’re feeling better and have been free of fever for several days. Although antiviral medications are available, viral pneumonia may get better on its own or after a few weeks of at-home care.