Pneumonia caused by viruses or bacterial infections can be contagious. People with weakened immune systems may be at a greater risk of getting sick.

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.

Noncontagious pneumonia

Fungal pneumonia and aspiration pneumonia are examples of pneumonias that aren’t usually contagious.

Fungal pneumonia is caused by inhaled fungi from your environment. It’s not spread from person to person. The fungi that cause this type of pneumonia are usually found in soil.

Aspiration pneumonia isn’t contagious because it’s caused by inhaling food or liquid into your lungs. This can happen in people who’ve had a stroke or have other neurologic conditions.

Was this helpful?

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.

Tips for preventing pneumonia

Was this helpful?

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:

Q:

Can my baby catch our relative’s pneumonia?

Anonymous reader

A:

Pneumonia can be transmitted from an adult with pneumonia to a baby by coughing, sneezing, and close contact. Babies are not immunized against pneumonia until age 2. Therefore, they are at greater risk. A few things adults can do to reduce this risk include:

Chris Young, DNP, RN, NE-BC, NPDAnswers represent the opinions of our medical experts. All content is strictly informational and should not be considered medical advice.
Was this helpful?

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.