Pneumonia spreads primarily through respiratory droplets and tiny airborne particles released when an infected person coughs, sneezes, talks, or breathes. Not all pneumonia is contagious, though. The type caused by inhaling food or stomach contents into the lungs (aspiration pneumonia) can’t be passed to someone else, and fungal pneumonia picked up from soil or the environment isn’t transmitted person to person either. But the most common forms, caused by bacteria and viruses, do spread between people through several well-documented routes.
The Main Routes of Transmission
When someone with infectious pneumonia coughs or sneezes, they release a spray of droplets that can land on the mouth, nose, or eyes of anyone nearby. These larger droplets typically travel a few feet before gravity pulls them down. Smaller particles, called aerosols, can linger in the air for longer periods and travel farther, especially in poorly ventilated rooms. Breathing in these particles is one of the most common ways respiratory infections spread.
Contaminated surfaces also play a role. When droplets land on doorknobs, countertops, or shared objects, the pathogens can survive long enough for someone else to pick them up on their hands and transfer them to their face. How long those germs last depends on the surface and the pathogen. The bacterium that causes most community-acquired pneumonia, Streptococcus pneumoniae, can persist on plastic for up to a month. Influenza A virus survives on stainless steel for anywhere from six hours to two weeks, on plastic for up to four days, and on paper for about 12 to 24 hours. SARS-CoV-2, which can also cause pneumonia, lasts up to 72 hours or more on plastic and stainless steel, and can survive on surgical masks for four to seven days.
Hospital-associated bacteria tend to be especially persistent. Klebsiella pneumoniae survives on stainless steel for three to six weeks. Staphylococcus aureus can last on plastic surfaces for three weeks to over three years under laboratory conditions. These survival times help explain why healthcare settings carry a higher transmission risk.
Bacterial, Viral, and Fungal Pneumonia Spread Differently
Bacterial pneumonia, the kind most commonly caused by Streptococcus pneumoniae or Haemophilus influenzae, spreads through close contact with an infected person’s respiratory secretions. Someone carrying these bacteria in their nose or throat can transmit them without being visibly sick. The incubation period for pneumococcal pneumonia is short, typically one to three days. After starting antibiotics, a person with bacterial pneumonia is generally considered contagious for about 48 hours.
Viral pneumonia follows similar respiratory routes but is caused by viruses like influenza, RSV, or coronaviruses. Viral infections often spread more easily than bacterial ones because people can be contagious before symptoms appear. Viral pneumonia also sets the stage for secondary bacterial infection. Influenza, for instance, weakens the lungs’ natural defenses, making it easier for bacteria to take hold afterward. This is why some people develop bacterial pneumonia on top of the flu.
Fungal pneumonia is the exception. It doesn’t pass from person to person. Fungal spores like Aspergillus are present in the environment and continuously inhaled by everyone, but they only cause infection in people whose immune systems can’t clear them. Other fungi are found in specific geographic regions and enter the lungs through inhalation of contaminated soil or material like bat droppings. Nocardia, found in soil and decaying plant matter, causes pneumonia through inhalation as well. These infections are an environmental hazard, not a contagious one.
Where Pneumonia Spreads Most Easily
Pneumonia thrives wherever people are packed closely together with limited ventilation. Crowded living conditions, shared sleeping quarters, and frequent close contact create ideal conditions for respiratory pathogens to jump between people. This is why outbreaks are well documented in correctional facilities, nursing homes, military barracks, and college dormitories.
Prisons and jails illustrate the problem clearly. Poor ventilation, dormitory-style housing, limited space for isolating sick individuals, and frequent movement of people between facilities all amplify transmission. Incarcerated people interact constantly with other residents, staff, and visitors, and upon release they carry pathogens back into broader communities. Documented outbreaks in these settings include influenza, COVID-19, tuberculosis, and MRSA infections.
Healthcare settings carry their own distinct risks. Pneumonia acquired in hospitals tends to involve different, more resistant bacteria than the kind picked up in everyday life. Community-acquired pneumonia is usually caused by organisms like Streptococcus pneumoniae or Haemophilus influenzae. Hospital-acquired pneumonia more often involves drug-resistant pathogens like MRSA, Pseudomonas aeruginosa, or Acinetobacter species. Exposure to these organisms comes from contaminated equipment, surfaces, and contact with healthcare workers’ hands. Patients on ventilators face a particularly high risk because the breathing tube bypasses the body’s normal airway defenses.
What Actually Reduces Transmission
Handwashing is the single most practical step for cutting pneumonia transmission. A meta-analysis of community studies estimated that each hand-washing event reduces the daily probability of an acute respiratory infection by about 3%. That might sound small, but it adds up. Washing your hands five extra times per day translates to roughly a 15% reduction in daily infection risk. Ten additional hand washes brings that to about 28%. The key word is “additional,” meaning on top of whatever handwashing you already do.
The evidence for face masks in community settings is less clear-cut. The same analysis found no statistically significant reduction in infection risk from mask use in everyday life, though the data was compatible with meaningful effects in either direction. Masks may still help in specific high-risk situations, but handwashing has stronger community-level evidence behind it.
Vaccination plays a major role in reducing spread at the population level. Pneumococcal conjugate vaccines given to children don’t just protect the vaccinated child. They reduce the amount of bacteria children carry in their noses and throats, which cuts transmission to unvaccinated children and adults. This herd protection effect has led to measurable declines in pneumococcal disease across age groups. The older polysaccharide vaccine given to adults, by contrast, protects against severe disease but hasn’t shown the same ability to reduce bacterial carriage.
Who Is Most Vulnerable to Catching It
Everyone breathes in respiratory pathogens regularly, but healthy immune systems clear most of them before infection takes hold. The people who get sick tend to be those with weakened defenses: young children whose immune systems are still developing, adults over 65, people with chronic lung or heart disease, smokers, and anyone with a suppressed immune system from medication or illness. People who have recently been hospitalized, live in nursing facilities, or receive regular dialysis are also at higher risk because of their repeated exposure to healthcare environments and the resistant organisms found there.
A prior viral infection is another important risk factor. A bad bout of influenza or another respiratory virus can strip away the protective lining of the airways and impair the immune cells that patrol the lungs. This creates an opening for bacteria that are normally harmless passengers in the nose and throat to invade the lower lungs and cause pneumonia. In immunocompromised patients, this progression from viral to bacterial infection tends to be more severe.

