Yes, you can catch pneumonia from another person
Pneumonia itself is not contagious, but the infections that cause it are. When someone has pneumonia caused by a virus or bacterium, they shed those germs through coughs, sneezes, and close contact. If you breathe in those germs or touch a contaminated surface and then touch your face, you can become infected. Whether that infection develops into pneumonia depends on your immune system, age, and overall health.
The risk is highest when you spend time near someone actively coughing or sneezing — especially in enclosed spaces like homes, offices, or public transit. People are most contagious in the first few days of illness, when symptoms like cough are strongest.
Key Takeaways
- Pneumonia-causing germs spread through respiratory droplets when an infected person coughs or sneezes, or through contact with contaminated surfaces.
- Not everyone exposed to pneumonia-causing germs will develop pneumonia; your immune system, age, and existing health conditions affect your risk.
- Bacterial pneumonia is generally less contagious than viral pneumonia, and some types of bacterial pneumonia rarely spread between people at all.
- Washing your hands regularly, covering your cough, and staying home when sick are the most effective ways to prevent spreading pneumonia to others.
- People over 65, young children, and those with weakened immune systems face higher risk of developing pneumonia after exposure to the germs.
How the germs that cause pneumonia travel
Pneumonia-causing germs move through the air in tiny droplets when an infected person coughs or sneezes. These droplets can travel a few feet and land on surfaces — doorknobs, phones, countertops — where they can survive for hours depending on the germ and the surface. You can pick up these germs by touching the surface and then touching your mouth, nose, or eyes.
Close, prolonged contact increases your risk. Sharing a bed, eating utensils, or a toothbrush with someone who has pneumonia raises the chance of exposure. Healthcare workers and family members caring for someone with pneumonia face higher exposure than casual contacts.
Some germs that cause pneumonia spread more easily than others. Respiratory viruses like influenza and respiratory syncytial virus (RSV) are highly contagious. Bacterial pneumonia caused by Streptococcus pneumoniae spreads readily in crowded settings. Other bacteria, like Legionella, spread through contaminated water systems rather than person-to-person contact.
Who is most likely to develop pneumonia after exposure
Exposure to pneumonia-causing germs does not automatically mean you will develop pneumonia. Your immune system may fight off the infection before it reaches your lungs. However, certain groups face higher risk of developing pneumonia if exposed.
Adults over 65 have weaker immune responses and are more likely to develop severe pneumonia. Young children under 5 are still building their immune systems and face elevated risk. People with chronic lung disease, heart disease, or diabetes are vulnerable. Those with weakened immune systems — from HIV, cancer treatment, or immunosuppressant medications — have the hardest time fighting off infection.
Smokers and people who have recently had the flu also face higher risk. Pregnancy, obesity, and recent surgery can increase vulnerability as well. If you fall into any of these groups and are exposed to someone with pneumonia, contact your doctor sooner rather than waiting to see if symptoms develop.
Differences between viral and bacterial pneumonia spread
Viral pneumonia is generally more contagious than bacterial pneumonia. Viruses like influenza, RSV, and the coronavirus that causes COVID-19 spread readily through respiratory droplets and can infect many people in a short time. Viral pneumonia often spreads in households and workplaces during winter months when people spend more time indoors.
Bacterial pneumonia spreads less easily from person to person. Some types, like pneumonia caused by Streptococcus pneumoniae, do spread through droplets, particularly in crowded settings like schools or military barracks. Other bacterial pneumonias — such as those caused by Legionella or Pseudomonas — do not spread between people at all; they come from environmental sources like contaminated water or soil.
This distinction matters for prevention. If someone in your home has viral pneumonia, the entire household faces significant exposure risk. With bacterial pneumonia, the risk to others is lower, though still present if the person is coughing heavily.
When someone with pneumonia is most contagious
People shed the most germs during the first three to five days of illness, when coughing is heaviest and symptoms are acute. This is when they are most likely to spread pneumonia-causing germs to others. As the infection improves and coughing decreases, contagiousness drops sharply.
Someone taking antibiotics for bacterial pneumonia typically becomes less contagious within 24 to 48 hours of starting treatment. However, they can still spread germs if they continue coughing. Viral pneumonia has no specific treatment that shortens contagiousness, so the person remains contagious until their immune system clears the virus — usually one to two weeks.
People can spread pneumonia-causing germs even before they feel sick. The incubation period — the time between exposure and symptom onset — varies by germ. Influenza typically shows symptoms within two days; RSV can take up to eight days. During this window, infected people may cough and spread germs without realizing they are ill.
Steps to reduce your risk of catching pneumonia
Hand hygiene is your strongest defense. Wash your hands with soap and water for at least 20 seconds, especially after being around someone who is coughing or sneezing, before eating, and after touching your face. Hand sanitizer works if soap and water are not available, but it is less effective on visibly dirty hands.
Avoid close contact with people who are actively coughing or sneezing. If someone in your home has pneumonia, keep them in a separate room if possible, use separate towels and eating utensils, and ask them to cover their cough with a tissue or their elbow rather than their hand.
Vaccinations reduce your risk significantly. The pneumococcal vaccine protects against several bacterial strains that cause pneumonia. The flu vaccine lowers your risk of influenza, which often leads to pneumonia. Ask your doctor which vaccines are recommended for your age and health status.
Stay home when you are sick. If you have a cough or respiratory symptoms, remaining home prevents you from exposing others. If you must go out, wear a mask to reduce the germs you shed into the air.
What to do if you have been exposed to someone with pneumonia
If you have spent time near someone with pneumonia, monitor yourself for symptoms over the next one to two weeks. Watch for a persistent cough, fever, shortness of breath, or chest pain. These may appear gradually or suddenly depending on the germ.
You do not need to see a doctor immediately just because you were exposed. Most people who are exposed do not develop pneumonia. However, if you are over 65, have a chronic health condition, or have a weakened immune system, contact your doctor after exposure. They may want to see you sooner or discuss preventive steps.
If you develop symptoms — especially shortness of breath, high fever, or chest pain — contact your doctor or seek urgent care. Describe your recent exposure so they can factor that into their assessment. Early treatment improves outcomes, particularly for bacterial pneumonia.
Frequently Asked Questions
Can you catch pneumonia from someone who is already recovering?
Yes, but the risk is much lower. Someone who is improving and coughing less sheds fewer germs. However, if they are still coughing, they can still transmit the infection. The safest approach is to maintain hand hygiene and avoid sharing personal items until they have been symptom-free for at least 24 hours.
Is pneumonia contagious if someone is on antibiotics?
Bacterial pneumonia becomes significantly less contagious within 24 to 48 hours of starting antibiotics, but the person can still spread germs if they continue coughing. Viral pneumonia does not respond to antibiotics, so contagiousness depends on how long the virus takes to clear from the body.
Can you catch pneumonia from touching a contaminated surface?
Yes, but it is less common than catching it through respiratory droplets. If you touch a surface with pneumonia-causing germs and then touch your face, you can become infected. This is why hand washing is so important, especially after being around someone who is sick.
Do you need to wear a mask around someone with pneumonia?
A mask on the sick person is more effective than a mask on the healthy person at reducing spread. If you are caring for someone with pneumonia and cannot maintain distance, wearing a mask reduces your risk. N95 masks offer better protection than cloth masks, but any mask is better than none.
Can children catch pneumonia more easily than adults?
Young children under 5 have developing immune systems and are more vulnerable to developing pneumonia after exposure. However, older children and teenagers have immune systems closer to adults. Age alone does not determine risk; overall health, vaccination status, and any chronic conditions matter as well.