How adults get pneumonia

Pneumonia happens when germs—bacteria, viruses, or fungi—get into your lungs and cause an infection. Your lungs fill with fluid or pus, which makes it hard for oxygen to reach your bloodstream. Most adults catch pneumonia from breathing in germs that another person coughs or sneezes into the air, though you can also get it from germs already living in your own mouth and throat that slip into your lungs by accident.

The germs that cause pneumonia are everywhere. Most healthy adults breathe them in regularly without getting sick, because your immune system and the natural defenses in your lungs stop the infection before it starts. But if your immune system is weakened, or if you breathe in a large amount of germs, or if germs get past your lungs' natural barriers, pneumonia can develop.

Key Takeaways

  • Pneumonia is caused by bacteria, viruses, or fungi that infect the lungs and fill them with fluid or pus.
  • Most adults catch pneumonia from breathing in germs from another person's cough or sneeze, or from germs in their own mouth that accidentally enter the lungs.
  • A weakened immune system, chronic lung disease, smoking, or recent illness makes pneumonia more likely to develop.
  • The specific germ that causes your pneumonia affects which symptoms you have and how your doctor treats it.
  • Pneumonia can develop on its own or as a complication of another illness like the flu.

Bacterial pneumonia and how it spreads

Streptococcus pneumoniae is the most common bacterial cause of pneumonia in adults. You catch it the same way you catch a cold—when someone with the infection coughs or sneezes, tiny droplets carrying the bacteria float through the air and you breathe them in. The bacteria can also live in your nose and throat without making you sick, then travel down into your lungs if your immune system is not watching closely.

Other bacteria that cause pneumonia include Haemophilus influenzae, Legionella (which grows in warm water systems like air conditioners), and Mycoplasma (which spreads through close contact). If you are hospitalized or use a ventilator to breathe, you can develop pneumonia from bacteria that live in hospitals, like Pseudomonas aeruginosa or methicillin-resistant Staphylococcus aureus (MRSA).

Viral pneumonia and seasonal patterns

Viruses cause about one-third of pneumonia cases in adults. The most common culprits are influenza (the flu), respiratory syncytial virus (RSV), and rhinovirus. You catch viral pneumonia the same way you catch the flu—through respiratory droplets from an infected person. Viral pneumonia often starts as an upper respiratory infection (a cold or sore throat) and then moves down into the lungs.

Viral pneumonia is more common in winter months when people spend more time indoors and viruses spread more easily. COVID-19, caused by the novel coronavirus, can also cause pneumonia in adults, particularly in people over 65 or those with other health conditions. Viral pneumonia is usually milder than bacterial pneumonia, though some viruses can cause severe illness.

Fungal pneumonia and who is at highest risk

Fungal pneumonia is less common in adults but more serious when it happens. Histoplasmosis, coccidioidomycosis, and blastomycosis are fungi that live in soil and are inhaled when you disturb contaminated dirt—for example, during construction work, gardening, or caving. You cannot catch fungal pneumonia from another person.

Fungal pneumonia is most dangerous for people with weakened immune systems, including those with untreated HIV, those taking immunosuppressant medications after an organ transplant, or those undergoing chemotherapy. Healthy adults can inhale these fungi without developing pneumonia, but if your immune system is compromised, the fungi can establish an infection in your lungs.

Conditions that make pneumonia more likely

Certain health conditions and habits make your lungs more vulnerable to infection. Chronic obstructive pulmonary disease (COPD) and asthma damage the airways and make it harder for your lungs to clear mucus and germs. Smoking damages the cells that line your lungs and weakens your immune response. Diabetes, heart disease, and kidney disease all weaken your immune system's ability to fight infection.

Age matters too. Adults over 65 have weaker immune systems and are more likely to develop severe pneumonia. Recent surgery, especially chest or abdominal surgery, increases your risk because anesthesia and pain medications can make you less likely to cough and clear your lungs. A recent viral illness like the flu or COVID-19 can damage your lungs and make bacterial pneumonia more likely to follow.

Alcohol use disorder, malnutrition, and being bedridden or immobile all raise your risk. If you have a weakened immune system from HIV, chemotherapy, or immunosuppressant medications, you are at much higher risk for pneumonia and for infections caused by unusual germs that would not normally cause disease.

How germs get into your lungs

Your lungs have natural defenses against infection. The airways are lined with cells that produce mucus, which traps germs and particles. Tiny hair-like structures called cilia beat in waves to push the mucus up and out of your lungs so you can cough it up. If you are healthy, these defenses work automatically and you never notice.

Pneumonia develops when germs get past these defenses. This can happen if you breathe in a large amount of germs at once, if your cough reflex is weakened (which can happen after a stroke or if you are sedated), or if you aspirate—meaning food, saliva, or stomach contents accidentally go down into your lungs instead of your esophagus. Aspiration pneumonia is common in people who have difficulty swallowing or who are unconscious.

Secondary pneumonia after other illnesses

Pneumonia often develops as a complication of another illness. The flu damages the lining of your airways and makes it easier for bacteria to invade. This is why bacterial pneumonia often follows the flu by a few days—your lungs are already inflamed and your immune system is focused on fighting the virus. The same pattern can happen after COVID-19, measles, or other viral infections.

If you have been hospitalized for any reason, you are at risk for hospital-acquired pneumonia, which is caused by bacteria that live in hospitals and are often resistant to common antibiotics. Ventilator-associated pneumonia develops in people on breathing machines because the tube bypasses your upper airway defenses and bacteria can travel directly into the lungs.

Frequently Asked Questions

Can you catch pneumonia from someone who has it?

You can catch the germs that cause pneumonia—bacteria or viruses—from someone with pneumonia. However, catching the germ does not automatically mean you will develop pneumonia. Most healthy adults who breathe in these germs will not get sick because their immune system stops the infection. Your risk is higher if your immune system is weakened or if you breathe in a large amount of germs.

Does pneumonia always come from another person?

No. You can develop pneumonia from germs already living in your own mouth and throat that accidentally enter your lungs, especially if you aspirate (breathe in food or saliva). Fungal pneumonia comes from fungi in soil, not from other people. And some pneumonia develops when your immune system is weakened and germs that normally live harmlessly in your body cause infection.

Why do some people get pneumonia and others don't after exposure?

Your immune system's strength determines whether you develop pneumonia after breathing in germs. Age, smoking, chronic lung disease, diabetes, and a weakened immune system all make infection more likely. A recent viral illness also increases your risk because your lungs are already inflamed. Healthy younger adults often fight off the same germs that would cause pneumonia in an older adult or someone with a chronic condition.

Is pneumonia contagious before symptoms start?

Yes. You can spread the germs that cause pneumonia before you have symptoms, just like with the flu or a cold. This is why people with respiratory infections are asked to stay home and cover their coughs—to prevent spreading germs to others who might develop pneumonia.

Can you get pneumonia from being cold or wet?

Being cold or wet does not directly cause pneumonia. However, cold weather and wet conditions make it more likely you will spend time indoors with others, which increases your exposure to respiratory germs. If you are already exposed to a germ that causes pneumonia, being cold or stressed might slightly weaken your immune response, but the germ itself is what causes the infection.