Yes, you can catch pneumonia from someone else, but not directly

Pneumonia itself is not contagious. What spreads from person to person are the germs that cause pneumonia—bacteria, viruses, or fungi. When someone with pneumonia coughs, sneezes, or talks, they release respiratory droplets into the air. If you breathe in those droplets, you may catch the infection. Whether that infection develops into pneumonia depends on your immune system, your age, and what type of germ it is.

This matters because it changes how you protect yourself. You are not catching pneumonia the way you catch a cold. You are catching the underlying infection, and your body may or may not develop pneumonia from it. Some people get mild symptoms or no symptoms at all. Others develop severe pneumonia. The difference is not about exposure—it is about your body's ability to fight the infection.

Key Takeaways

  • The germs that cause pneumonia spread through respiratory droplets when someone coughs or sneezes, but catching the germ does not may provide you will develop pneumonia.
  • Viral pneumonia is more contagious than bacterial pneumonia, and some viruses (like influenza) spread more easily than others.
  • People over 65, children under 5, and those with weakened immune systems face higher risk of developing pneumonia after exposure to the germs.
  • Handwashing, staying home when sick, and keeping your distance from people with respiratory symptoms reduce transmission risk.

Which types of pneumonia spread between people

Viral pneumonia spreads more readily than bacterial pneumonia. Influenza (flu) virus and respiratory syncytial virus (RSV) are common culprits. When someone with flu develops pneumonia, they shed virus particles for days—sometimes before they even feel sick. Rhinovirus, parainfluenza, and coronavirus (including SARS-CoV-2) also cause pneumonia that spreads person-to-person.

Bacterial pneumonia is less contagious. Streptococcus pneumoniae, the most common bacterial cause, spreads through droplets, but your body often clears the bacteria before pneumonia develops. You might carry the germ without getting sick. Legionella pneumophila, which causes Legionnaires' disease, spreads differently—through contaminated water systems rather than person-to-person contact.

Fungal pneumonia (like histoplasmosis or coccidioidomycosis) does not spread between people at all. You catch it from the environment—soil, dust, or bird droppings—not from another person.

How respiratory droplets travel and how far they go

When someone coughs or sneezes, droplets travel through the air. Large droplets fall to the ground or surfaces within about 6 feet. Smaller droplets (called aerosol particles) can linger in the air longer, especially in poorly ventilated indoor spaces, and travel farther than 6 feet. This is why the risk is higher indoors than outdoors.

You can catch the germs by breathing them in directly, or by touching a contaminated surface and then touching your face. Doorknobs, railings, and shared phones are common surfaces. The germ survives on surfaces for varying lengths of time depending on what it is—some viruses last hours, others minutes.

Proximity and duration matter. Spending 15 minutes close to someone with pneumonia carries more risk than passing them in a hallway. Household members and coworkers in the same room face higher exposure than strangers on public transit.

Who is at higher risk of developing pneumonia after exposure

Not everyone exposed to the germs develops pneumonia. Your risk depends on your age, immune system strength, and overall health. Adults over 65 and children under 5 are at highest risk. Their immune systems are either weakened by age or still developing.

People with chronic lung disease (asthma, COPD), heart disease, or diabetes face higher risk. So do those with weakened immune systems from HIV, cancer treatment, or immunosuppressant medications. Smokers and people who misuse alcohol also have weaker defenses against respiratory infections.

Pregnancy increases risk slightly. Recent viral infections (like the flu) can make your lungs more vulnerable to secondary bacterial pneumonia. Being hospitalized or on a ventilator dramatically increases risk, because germs in healthcare settings are often resistant to antibiotics.

Steps to reduce transmission if you have pneumonia

If you have been diagnosed with pneumonia, staying home is the most important step. Most people are contagious for several days after symptoms start, even if they feel better. If you must go out, wear a mask—it reduces the droplets you release into the air.

Cover your mouth and nose when you cough or sneeze, using a tissue or your elbow (not your hands). Wash your hands frequently with soap and water, especially after coughing or sneezing. Clean surfaces you touch regularly—your phone, keyboard, doorknobs. Avoid sharing cups, utensils, or towels.

Tell people you live with or work closely with that you have pneumonia so they can watch for symptoms. If you have bacterial pneumonia and start antibiotics, you become much less contagious after 24 to 48 hours of treatment. Viral pneumonia remains contagious longer.

How to protect yourself from catching pneumonia germs

Handwashing is your first defense. Wash with soap and water for at least 20 seconds, especially before eating and after being in public spaces. Hand sanitizer works if soap is not available, but it is less effective on visibly dirty hands.

Avoid touching your face, particularly your eyes, nose, and mouth. This is where germs enter your body most easily. Keep your distance from people who are coughing or sneezing—6 feet is a reasonable guideline, though it is not a hard barrier.

Stay up to date on vaccines. The flu vaccine and pneumococcal vaccine reduce your risk of developing pneumonia from those specific germs. They do not prevent infection entirely, but they make severe illness less likely. If you are over 65 or have chronic health conditions, ask your doctor which pneumonia vaccines are right for you.

If you are in a healthcare setting or around someone with a weakened immune system, wearing a mask protects them. If you are sick, staying home protects others.

When someone in your home has pneumonia

If a household member has pneumonia, separate them from others as much as possible. They should use their own bathroom if there is one available. If not, they should clean the bathroom after use, or you should clean it before using it.

Wash dishes, utensils, and cups they use in hot soapy water—a dishwasher works fine. Wash their bedding and towels separately in hot water. Wear a mask when you are in the same room with them, especially if they are coughing. Make sure the space is well-ventilated—open windows if weather permits.

Monitor yourself for symptoms: cough, fever, shortness of breath, or chest pain. If you develop these symptoms, contact your doctor. Tell them you were exposed to someone with pneumonia so they can assess your risk.

Frequently Asked Questions

Can you catch pneumonia from someone who is already recovering?

Yes, but the risk drops significantly. People are most contagious in the first few days of illness. After a week, especially if they are on antibiotics for bacterial pneumonia, transmission risk is much lower. However, lingering cough can still release germs, so caution is still reasonable.

Is pneumonia contagious if someone is not coughing?

Less so, but still possible. Coughing and sneezing are the main ways germs spread, but people can release respiratory droplets when they talk or breathe, even without a visible cough. The risk is lower, but not zero.

Can you get pneumonia from touching someone with pneumonia?

Direct skin-to-skin contact does not transmit the germs that cause pneumonia. The risk comes from touching contaminated surfaces (like their hands after they cough) and then touching your face, or from breathing in droplets they release into the air.

How long should someone with pneumonia stay away from others?

Most people can return to normal activities after fever is gone for 24 hours without fever-reducing medication and they feel well enough. For bacterial pneumonia on antibiotics, this is usually 24 to 48 hours after starting treatment. For viral pneumonia, it may take longer. Ask your doctor for specific guidance based on your situation.

Does a pneumonia vaccine prevent you from catching it from someone else?

Vaccines reduce your risk of developing pneumonia from specific germs (pneumococcal bacteria or flu virus), but they do not create a complete barrier. You may still catch the germ, but your immune system is primed to fight it, so you are less likely to develop severe pneumonia or complications.