Pneumonia spreads mainly through respiratory droplets when an infected person coughs or sneezes
When someone with pneumonia coughs, sneezes, or even talks, they release tiny droplets containing bacteria, viruses, or fungi into the air. These droplets travel a short distance—usually 3 to 6 feet—and can land on the nose, mouth, or eyes of another person. That person can then develop pneumonia if the germs reach their lungs. This is the most common way pneumonia passes between people.
Not all pneumonia spreads this way. Some types come from germs already living in your own body, or from breathing in contaminated air or particles. Understanding which type of pneumonia you're dealing with matters because it changes how you protect yourself and others.
Key Takeaways
- Respiratory droplets from coughs and sneezes are the primary route of transmission, traveling up to 6 feet through the air.
- Touching contaminated surfaces and then touching your face can also spread certain types of pneumonia, though less commonly than droplet transmission.
- Bacterial pneumonia, viral pneumonia, and fungal pneumonia each spread differently and pose different risks to different groups of people.
- People with weakened immune systems, the very young, and the elderly are at higher risk of catching pneumonia from others.
Droplet transmission: the most common route
Droplet transmission happens when respiratory secretions from an infected person reach another person's mucous membranes. The infected person doesn't have to be coughing violently—normal speech and breathing release droplets, though coughing and sneezing release far more. The droplets are too heavy to float through the air for long distances, which is why proximity matters.
This is why healthcare workers wear masks when caring for pneumonia patients, and why people in the same household as someone with pneumonia are at higher risk. If you're sitting across from someone with pneumonia at a dinner table, you're within the droplet zone. If you're in the same room but 10 feet away with no direct contact, your risk is much lower.
Contact transmission through surfaces and hands
Some pneumonia-causing germs can survive on surfaces for hours or even days. If an infected person coughs into their hand and then touches a doorknob, phone, or countertop, the germs remain there. When you touch that surface and then touch your face—your nose, mouth, or eyes—you can pick up the infection.
This route is less common than droplet transmission but still matters, especially in hospitals and crowded settings. Regular handwashing, particularly after touching shared surfaces or before eating, reduces this risk significantly. Cleaning frequently touched surfaces with soap and water or disinfectant also helps, though it's not a complete barrier.
Bacterial pneumonia and person-to-person spread
Bacterial pneumonia caused by Streptococcus pneumoniae spreads readily between people through respiratory droplets. This is one of the most common causes of community-acquired pneumonia—the kind people catch outside a hospital. People with this type are contagious for the first few days of illness, before antibiotics take effect.
Other bacterial causes, like Haemophilus influenzae and Legionella, also spread through respiratory droplets, though Legionella can also come from contaminated water systems. Once someone starts antibiotic treatment, they become much less contagious within 24 to 48 hours.
Viral pneumonia and its transmission patterns
Viruses that cause pneumonia—including influenza, respiratory syncytial virus (RSV), and COVID-19—spread through respiratory droplets and sometimes through aerosol transmission, where smaller particles linger in the air longer than typical droplets. Viral pneumonia is often contagious before symptoms appear, which makes it harder to prevent spread. People shed virus for days or weeks depending on the virus and their immune system.
Viral pneumonia is particularly contagious in the first few days of illness. Unlike bacterial pneumonia, antibiotics don't treat it, so people remain contagious longer. Vaccination against influenza and COVID-19 reduces both the chance of catching these viruses and the severity if you do get sick.
Fungal pneumonia and environmental sources
Fungal pneumonia rarely spreads from person to person. Instead, people inhale fungal spores from soil, bird droppings, or contaminated environments. Histoplasma, Coccidioides, and Blastomyces are fungi that cause pneumonia this way. You cannot catch fungal pneumonia from someone else who has it.
The exception is Cryptococcus, which can be found in pigeon droppings and soil in certain regions. People with weakened immune systems are at much higher risk of developing pneumonia from fungal exposure. If you have a weakened immune system and live in an area where these fungi are present, avoiding exposure to soil and bird droppings matters more than avoiding infected people.
Who is most at risk of catching pneumonia from others
Certain groups are more vulnerable to pneumonia transmission. Infants and young children have developing immune systems. Adults over 65 have immune systems that weaken with age. People with chronic illnesses like diabetes, heart disease, or lung disease are at higher risk. People with weakened immune systems—from HIV, cancer treatment, or immunosuppressive medications—are especially vulnerable.
Smokers and people living in crowded conditions also face higher risk. Healthcare workers and family members caring for someone with pneumonia are exposed more frequently, so they benefit most from vaccination and infection control practices.
Reducing transmission in your home and workplace
If you have pneumonia, staying home while contagious protects others. For bacterial pneumonia, this usually means staying home for the first 24 hours after starting antibiotics. For viral pneumonia, you should stay home for at least 5 to 7 days, or longer if you're still coughing heavily.
Cover your cough or sneeze with a tissue or your elbow, not your hands. Wash your hands frequently with soap and water, especially after coughing or sneezing. If you're caring for someone with pneumonia, wear a mask if you're in close contact, and wash your hands before and after touching the person. These steps are simple but effective at breaking the transmission chain.
Frequently Asked Questions
Can you catch pneumonia from someone who doesn't have symptoms yet?
Yes, especially with viral pneumonia. People can shed virus and be contagious before they feel sick or develop a cough. This is why vaccination is important—it reduces transmission even before symptoms appear. With bacterial pneumonia, people are usually contagious only once symptoms start.
How long is someone with pneumonia contagious?
For bacterial pneumonia treated with antibiotics, contagiousness drops sharply after 24 to 48 hours of treatment. For viral pneumonia, people shed virus for 5 to 10 days or longer, depending on the virus and their immune system. Fungal pneumonia is not contagious person-to-person at all.
Is pneumonia spread through food or water?
Pneumonia is not spread through food or drinking water. The exception is Legionella, a bacterium that grows in warm water systems like air conditioners and hot tubs. You catch it by inhaling contaminated water droplets, not by drinking contaminated water.
Do I need to wear a mask around someone with pneumonia?
If you're in close contact with someone who has bacterial pneumonia and they've been on antibiotics for less than 24 hours, a mask reduces your risk. For viral pneumonia, a mask helps if you're in the same room, especially if the person is coughing. If you're at high risk—elderly, immunocompromised, or with chronic illness—masking is worth considering.
Can you get pneumonia twice from the same person?
You can catch pneumonia from the same person if they get infected again with a different strain or type of pneumonia. Once you recover from pneumonia caused by a specific bacterium or virus, you usually develop some immunity to that particular strain, though immunity can fade over time.