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 pneumoniacan be transmitted from person to person. Forms of bacterial pneumonia include:

There are manyviruses that can cause pneumonia, including the same viruses that cause thecoldandflu. 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 ofpneumoniaare 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
  • notwashing your hands regularly, especially after blowing your nose, coughing, or sneezing

Here are some steps that can helpreduce your exposureto 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:

Vaccinesare an important and effective way to prevent bothbacterial and viral infectionsin children and adults. Pneumonia is a common complication of many of these infections.

Helpful vaccines for childreninclude:

Helpful vaccines for adultsinclude:

  • flu
  • meningitis
  • pneumococcal conjugate vaccine or pneumococcal polysaccharide vaccine forStreptococcalpneumonia
  • 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 andpracticing proper hand hygiene, among other steps.

If you do develop pneumonia, effective treatments are available.

A doctor will prescribeantibioticsto treat bacterial pneumonia. Your pneumonia should no longer be contagious24 hours after starting antibioticsand 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 ofat-home care.