Which germs can cause pneumonia?

Photo of elderly man with walking stick sitting on park bench

Pneumonia is usually caused by or viruses. The specific type of germs will depend on factors like where you picked up the . Pneumonia is rarely caused by a fungal . But even then, are often involved too.

If the air sacs in the lungs () and the surrounding lung tissue become inflamed, that is often due to bacteria. Other possible causes include allergic reactions and inhaled toxic substances, but these are very rare in comparison.

How do germs get into our lungs?

Bacteria and other germs can get into your lungs in tiny droplets of saliva (spit) or water that you have breathed in. But people sometimes develop pneumonia if something goes down the wrong way. In other words, if germs from their mouth and throat, bits of food, or stomach contents enter their airways. The medical term for this is aspiration . Pneumonia is only rarely caused by germs that have traveled from another infected part of the body to the lungs in the bloodstream.

Which bacteria are responsible?

Bacterial is most frequently caused by pneumococcal . But it is sometimes caused by other types of such as Hemophilus influenzae or Mycoplasma pneumoniae.

If develops in a hospital or nursing home rather than at home, it is more likely to be caused by other such as staphylococcus, enterobacteria such as klebsiellae or escherichia coli (E. coli), or the “hospital bug” pseudomonas aeruginosa. These are often more difficult to treat, so there's a greater risk of complications such as lung abscesses, empyema (a build-up of pus in the lungs) or sepsis.

Can pneumonia be caused by viruses?

Pneumonia can also develop without being involved. Then it is usually caused by viruses – particularly those that can lead to infections of the airways, such as influenza (flu) viruses or RS (respiratory syncytial) viruses. But coronaviruses and the viruses that cause measles can also lead to . The SARS-CoV-2 is one type of coronavirus. It can cause COVID-19, which can infect the lungs.

Do fungal infections also play a role?

Pneumonia can also be caused by a fungal – for instance, by yeast and mold, or a fungus called pneumocystis jirovecii. But that is rare. Fungal infections of the lungs generally only develop in people with very weakened immune systems – as a result of AIDS, for example.

Why are antibiotics still used for non-bacterial pneumonia?

If the lungs are already infected with viruses, that makes it easier for to grow there too. When that happens, it is called a bacterial superinfection or a secondary bacterial . A superinfection can lead to bacterial , or make viral worse. For this reason, people who have viral are generally given . The don't fight the viruses but they can prevent a bacterial from developing too.

Deutsche Gesellschaft für Pneumologie und Beatmungsmedizin (DGP). S3-Leitlinie Behandlung von erwachsenen Patienten mit ambulant erworbener Pneumonie (in Überarbeitung). AWMF register no.: 020-020. 2021.

Deutsche Gesellschaft für Pneumologie und Beatmungsmedizin (DGP). Update der S3-Leitlinie: Epidemiologie, Diagnostik und Therapie erwachsener Patienten mit nosokomialer Pneumonie. AWMF register no.: 020-013. 2024.

Gesellschaft für Pädiatrische Pneumologie (GPP), Deutsche Gesellschaft für Pädiatrische Infektiologie (DGPI). S2k-Leitlinie Management der ambulant erworbenen Pneumonie bei Kindern und Jugendlichen (pCAP). AWMF register no.: 048-013. 2024.

Herold G. Innere Medizin. Cologne: Selbstverlag; 2025.

Kasper DL, Fauci AS, Hauser SL et al. Harrison's Principles of Internal Medicine. New York: McGraw-Hill; 2015.

Lux LJ, Posey RE, Daniels LS et al. Pharmacokinetic/Pharmacodynamic Measures for Guiding Antibiotic Treatment for Hospital-Acquired Pneumonia. (AHRQ Comparative Effectiveness Reviews; No. 136). 2014.

National Institute for Health and Care Excellence (NICE). Suspected acute respiratory infection in over 16s: assessment at first presentation and initial management (NICE Clinical Guidelines; No. 237). 2025.

Prina E, Ranzani OT, Torres A. Community-acquired pneumonia. Lancet 2015; 386(9998): 1097-1108.

Pschyrembel online. 2025.

Robert Koch-Institut (RKI). Antworten auf häufig gestellte Fragen (FAQ) zu akuten Atemwegserkrankungen und COVID-19. 2025.

IQWiG health information is written with the aim of helping people understand the advantages and disadvantages of the main treatment options and health care services.

Because IQWiG is a German institute, some of the information provided here is specific to the German health care system. The suitability of any of the described options in an individual case can be determined by talking to a doctor. informedhealth.org can provide support for talks with doctors and other medical professionals, but cannot replace them. We do not offer individual consultations.

Our information is based on the results of good-quality studies. It is written by a team of health care professionals, scientists and editors, and reviewed by external experts. You can find a detailed description of how our health information is produced and updated in our methods.

Comment on this page

What would you like to share with us?

We welcome any feedback and ideas - either via our form or by gi-kontakt@iqwig.de. We will review, but not publish, your ratings and comments. Your information will of course be treated confidentially. Fields marked with an asterisk (*) are required fields.

Please note that we do not provide individual advice on matters of health. You can read about where to find help and support in Germany in our information “How can I find self-help groups and information centers?

Über diese Seite

Updated on January 14, 2026

Next planned update: 2029

Publisher:

Institute for Quality and Efficiency in Health Care (IQWiG, Germany)

Stay informed

Subscribe to our newsletter or newsfeed. You can find our growing collection of films on YouTube.