Yes, you can catch pneumonia from another person, but the risk depends on which type of pneumonia they have

Some kinds of pneumonia spread easily between people; others do not spread at all. Bacterial pneumonia caused by *Streptococcus pneumoniae* spreads through respiratory droplets when an infected person coughs or sneezes. Viral pneumonia — often caused by influenza, respiratory syncytial virus (RSV), or coronavirus — spreads the same way and is often more contagious than bacterial forms. Fungal pneumonia, by contrast, does not spread from person to person; you catch it from the environment. Knowing which type matters because it changes how careful you need to be around someone who is sick.

The infection travels through tiny droplets that land on your nose, mouth, or eyes, or that you breathe in directly. You are at higher risk if you are in close contact with the sick person for an extended time — living in the same house, sitting next to them for hours, or caring for them without protection. Brief encounters in a store or on the street carry much lower risk. People are most contagious in the first few days of illness, before they feel obviously sick.

Key Takeaways

  • Bacterial and viral pneumonia spread through respiratory droplets when someone coughs or sneezes, but fungal pneumonia does not spread between people.
  • Close, prolonged contact with an infected person — such as living together or caring for them — carries much higher transmission risk than brief encounters.
  • People shed the most infectious particles in the first few days of illness, often before they know they have pneumonia.
  • Wearing a mask, keeping distance, and washing your hands reduce transmission risk, especially if you are around someone who is coughing.
  • Not everyone exposed to pneumonia-causing germs will develop pneumonia; your immune system, vaccination status, and overall health all affect whether you get sick.

How respiratory droplets carry the infection

When someone with bacterial or viral pneumonia coughs, sneezes, or even talks, they release tiny droplets containing the germ. These droplets travel a few feet through the air and can land on surfaces or on your skin. If you then touch your face, nose, or eyes, you transfer the germ to the mucous membranes where infection can begin. This is why hand-washing after contact with a sick person matters — you are breaking the chain between their droplets and your respiratory tract.

The droplets are heaviest and travel farthest during a cough or sneeze. A single cough can send droplets up to six feet. Talking and breathing release fewer droplets and over a shorter distance, but in a poorly ventilated room where someone is sick for hours, the concentration builds. This is why healthcare workers, family members, and roommates face higher risk than someone who passes a coughing stranger on the street.

Who is at higher risk of catching pneumonia from others

Your risk depends on your immune system's strength, your vaccination status, and your age or underlying health. Older adults, very young children, people with chronic lung disease, and people with weakened immune systems (from HIV, cancer treatment, or immunosuppressive medications) are more likely to develop pneumonia after exposure. A healthy adult might be exposed to the same germ and fight it off without ever getting sick.

Vaccination status matters significantly. People vaccinated against influenza and pneumococcal bacteria are less likely to develop pneumonia even if exposed. Smokers and people with asthma, COPD, or heart disease also face higher risk. If you fall into any of these groups and are around someone with pneumonia symptoms, taking precautions — masking, distance, hand hygiene — is worth the effort.

Symptoms that mean someone is actively contagious

A person with pneumonia is most contagious when they have a wet cough, are coughing frequently, or have a fever. These are the signs that the infection is active and they are shedding large amounts of the germ. Someone who has been on antibiotics for bacterial pneumonia for at least 24 hours and whose fever has broken is generally considered no longer contagious, though they may still cough for weeks.

Viral pneumonia follows a different timeline. People with flu-related pneumonia are contagious for about a week after symptoms start, though they may feel sick longer. RSV pneumonia can remain contagious for several weeks, especially in young children. If you are unsure whether someone is still contagious, ask their doctor or assume they are until they have been fever-free without fever-reducing medication for at least 24 hours.

Steps to reduce transmission if you are around someone with pneumonia

Wear a mask if you are in the same room as someone with a wet cough or fever. A standard surgical mask or N95 respirator protects you; cloth masks offer less protection. Keep at least six feet of distance when possible, and avoid sharing eating utensils, cups, or towels. Wash your hands frequently, especially after touching your face, and after any direct contact with the sick person.

Improve ventilation if you are in a shared space — open windows, use a fan to direct air flow away from you, or spend time in different rooms. If you are caring for someone with pneumonia, wear gloves when handling their tissues or laundry, and wash your hands afterward. These steps do not eliminate risk entirely, but they substantially lower it.

When fungal pneumonia does not spread between people

Fungal pneumonia — caused by organisms like *Histoplasma*, *Coccidioides*, or *Aspergillus* — comes from the environment, not from another person. You catch it by breathing in fungal spores from soil, bird droppings, or moldy environments. Even if someone next to you has fungal pneumonia, you cannot catch it from them through coughing or sneezing. This means you do not need respiratory precautions around someone with fungal pneumonia, though they may need treatment to clear the infection.

Fungal pneumonia is less common than bacterial or viral forms and is often linked to specific geographic regions or occupational exposure. If you are concerned about fungal pneumonia risk — for example, if you work in construction or live in a region where certain fungi are common — the prevention focus is on environmental controls: dust masks in dusty settings, avoiding areas with heavy mold, and good ventilation.

What to do if you have been exposed to pneumonia

If you have spent significant time around someone with pneumonia symptoms, monitor yourself for signs of illness over the next one to two weeks. Watch for a cough that lasts more than a few days, shortness of breath, chest pain, or fever. If you develop these symptoms, contact your doctor or urgent care. Mention that you were exposed to pneumonia so they can assess you appropriately.

If you are in a high-risk group — older, immunocompromised, or with chronic lung disease — contact your doctor sooner rather than waiting to see if symptoms develop. You may benefit from monitoring or preventive treatment. For most healthy people, exposure does not automatically mean infection; your immune system handles many exposures without you ever getting sick.

Frequently Asked Questions

Can I catch pneumonia from someone who is already on antibiotics?

After 24 hours of antibiotics and if their fever has broken, bacterial pneumonia is generally no longer contagious. However, they may still cough and shed some germs, so basic precautions like hand-washing remain sensible. Viral pneumonia does not respond to antibiotics, so timing depends on the virus type — usually about a week from symptom onset.

Is pneumonia contagious before someone knows they have it?

Yes. People are often most contagious in the first few days when they think they have a cold or mild flu. They cough and sneeze without realizing they have pneumonia. This is why respiratory hygiene — covering your cough, washing your hands — matters even when you think you have something minor.

Can I catch pneumonia from someone who is not coughing?

It is much less likely. Pneumonia spreads mainly through coughing and sneezing. Someone who is not coughing is shedding far fewer infectious particles. If they are not coughing, they may also be past the most contagious phase or their infection may be less active.

Do I need a pneumonia vaccine if I was exposed to someone with pneumonia?

Vaccination does not prevent infection after exposure — it works by building immunity before you encounter the germ. If you have not been vaccinated and are in a high-risk group, talk to your doctor about whether pneumococcal or flu vaccination makes sense for you going forward. After exposure, vaccination will not help immediately.

What if I live with someone who has pneumonia?

Wear a mask in shared spaces, keep your distance when possible, and maintain strict hand hygiene. Sleep in separate rooms if you can. Wash any shared surfaces like doorknobs and light switches. If you develop symptoms, contact your doctor. Your risk is higher than the general population, but many people in shared households do not catch pneumonia even with exposure.