The 7 Types of Pneumonia: Causes and Symptoms

Pneumonia is generally classified into seven types based on what causes it or how it’s acquired: bacterial, viral, fungal, walking, aspiration, hospital-acquired, and lipoid pneumonia. Each type affects the lungs differently, carries different risk factors, and calls for different treatment approaches. Understanding the distinctions can help you recognize what you’re dealing with and what to expect.

Bacterial Pneumonia

Bacterial pneumonia is the most common form and often the most severe. It typically starts when bacteria that normally live in the nose and throat get inhaled into the lungs. The two most frequent culprits are Streptococcus pneumoniae and Haemophilus influenzae, both of which colonize the upper airway and cause infection when they reach deeper lung tissue. In people who use intravenous drugs, Staphylococcus aureus can spread through the bloodstream to the lungs from contaminated injection sites.

Symptoms tend to come on fast: high fever, chest pain that worsens with breathing, productive cough with yellow or green mucus, and rapid breathing. Bacterial pneumonia is treated with antibiotics, and most otherwise healthy people recover within one to three weeks. It becomes more dangerous in older adults, young children, and people with weakened immune systems.

Viral Pneumonia

Viruses cause more than half of all community-acquired pneumonia cases. Influenza types A and B are responsible for the largest share, especially during flu season. Other common causes include respiratory syncytial virus (RSV), adenovirus, and parainfluenza virus. Coronaviruses, including SARS-CoV-2, are also well-documented causes.

Viral pneumonia works differently in the lungs than bacterial pneumonia. Most respiratory viruses first multiply in the upper airway, then spread to the lungs through airway secretions or the bloodstream. Some viruses directly destroy lung cells, while others trigger an overactive immune response that does the real damage. COVID-19, for example, causes harm primarily through this kind of inflammatory overreaction in lung tissue.

One important complication of viral pneumonia is that it often opens the door to a secondary bacterial infection. Influenza, for instance, impairs the function of key immune cells and disrupts the mucus-clearing system that normally keeps bacteria out of the lower airways. RSV does something similar, altering bacterial colonization patterns and reducing the lungs’ ability to clear invaders. This is why some people with viral pneumonia get worse after initially improving: a bacterial infection has taken hold on top of the viral one.

Viral pneumonia is generally milder than bacterial pneumonia, though severe cases can cause widespread lung consolidation, bleeding in lung tissue, and significant difficulty breathing. Treatment focuses on managing symptoms, though antiviral medications exist for influenza and COVID-19.

Fungal Pneumonia

Fungal pneumonia is less common than bacterial or viral forms, but it’s a serious concern in certain parts of the United States. Three fungal infections account for most cases: Valley fever (coccidioidomycosis), histoplasmosis, and blastomycosis. Each is caused by a fungus that lives in soil, and infection happens when you breathe in fungal spores.

Geography matters here. Valley fever is concentrated in the Southwest, particularly Arizona and California. Histoplasmosis is most common in the Ohio and Mississippi River valleys, where the fungus thrives in soil enriched by bird and bat droppings. Blastomycosis clusters in the Great Lakes region and parts of the upper Midwest. People who spend time outdoors in these areas, especially doing activities that disturb soil like construction or farming, face higher exposure.

Fungal pneumonia is particularly dangerous for people with weakened immune systems, such as those undergoing chemotherapy, organ transplant recipients, or people living with HIV. In healthy individuals, mild cases sometimes resolve without treatment, but moderate to severe infections require antifungal medication that may be needed for weeks or months.

Walking Pneumonia

Walking pneumonia is a mild form of pneumonia most often caused by the bacterium Mycoplasma pneumoniae. It earned its nickname because people with it usually feel well enough to go about their daily routines rather than staying in bed. Symptoms are real but subdued: a persistent dry cough, low-grade fever, fatigue, and mild chest discomfort that can drag on for weeks.

The incubation period is notably long compared to other respiratory infections, taking one to four weeks after exposure before symptoms appear. This slow onset contributes to how easily it spreads, since people may not realize they’re contagious. Walking pneumonia is most common in school-age children and young adults, often spreading through close-contact settings like dormitories and military barracks.

Because symptoms are mild, walking pneumonia is sometimes mistaken for a lingering cold or bronchitis. It typically resolves on its own, though antibiotics can shorten the duration. Full recovery can take several weeks even with treatment, largely because the cough tends to linger.

Aspiration Pneumonia

Aspiration pneumonia develops when food, liquid, saliva, or stomach contents are inhaled into the lungs instead of swallowed into the stomach. The underlying problem is almost always impaired swallowing, whether from medications, anatomical issues, or neurological conditions. If the aspirated material is acidic enough (stomach acid with a pH below 2.5), even a small volume, roughly 20 to 25 milliliters in adults, can trigger a chemical burn in the lungs called aspiration pneumonitis, which may then progress to pneumonia.

Several groups face elevated risk. People with reduced consciousness from alcohol use, drug overdose, seizures, stroke, head trauma, or general anesthesia are vulnerable because their gag reflex and airway protection are compromised. Neurological conditions like Parkinson’s disease, dementia, multiple sclerosis, and myasthenia gravis also impair swallowing. Esophageal problems, including gastroesophageal reflux disease and swallowing difficulties (especially common in elderly adults), round out the major risk factors.

The bacteria involved are often anaerobic species that normally live harmlessly in the mouth and throat. When these organisms reach the lungs, they can cause abscesses and infections that are slower to develop and harder to treat than typical bacterial pneumonia.

Hospital-Acquired Pneumonia

Hospital-acquired pneumonia (HAP) is defined as pneumonia that develops 48 hours or more after hospital admission, in a patient who did not have the infection when they arrived. A related subtype, ventilator-associated pneumonia (VAP), occurs more than 48 hours after a patient is placed on a breathing tube.

These infections are particularly dangerous for two reasons. First, the bacteria found in hospitals are often resistant to common antibiotics, making treatment more complicated. Second, patients who develop HAP or VAP are already sick or weakened from whatever brought them to the hospital in the first place. Symptoms include new fever, worsening cough, increased mucus production, and declining oxygen levels. Diagnosis can be tricky because these signs overlap with many other hospital conditions, and there is no single definitive test.

Prevention in hospitals centers on keeping patients upright when possible, maintaining good oral hygiene, minimizing the time spent on a ventilator, and following strict hand-hygiene protocols.

Lipoid Pneumonia

Lipoid pneumonia is a rare form caused by fat or oil particles entering the lungs. Historically, this happened when people inhaled or aspirated mineral oil, often from oil-based laxatives or nasal drops. More recently, it has been linked to vaping, particularly e-cigarette products containing oils.

A 2019 outbreak in North Carolina highlighted the connection. Five patients developed acute lipoid pneumonia, and all shared a history of using marijuana oils or THC concentrates in refillable vaping pens purchased on the street. The likely mechanism: aerosolized oils inhaled from e-cigarettes deposited in the deepest parts of the lungs, triggering an intense inflammatory reaction that impaired the lungs’ ability to exchange oxygen and carbon dioxide. Diagnosis required a combination of vaping history, characteristic imaging findings, and identification of fat-filled immune cells in lung fluid samples.

Lipoid pneumonia can develop slowly (chronic form from repeated low-level exposure) or rapidly (acute form from heavy exposure). Symptoms include cough, difficulty breathing, and sometimes chest pain or fever. Treatment starts with eliminating the oil exposure and may include anti-inflammatory medications for severe cases.

How Pneumococcal Vaccines Help

Vaccination is the most effective way to prevent the most common type of pneumonia: the bacterial kind caused by Streptococcus pneumoniae. The CDC recommends a four-dose pneumococcal vaccine series for all children under 5, given at 2, 4, 6, and 12 to 15 months of age.

For adults 50 and older who have never received a pneumococcal conjugate vaccine, the CDC recommends a single dose of PCV15, PCV20, or PCV21. If PCV15 is used, a follow-up dose of a different pneumococcal vaccine is needed about a year later. PCV20 and PCV21 are one-and-done options with no follow-up dose required. Adults 65 and older who previously received older vaccine formulations can discuss with their provider whether an updated vaccine makes sense for their situation.

Annual flu vaccination also plays a role in pneumonia prevention. Because influenza damages the lungs’ defenses and frequently leads to secondary bacterial pneumonia, avoiding the flu in the first place reduces your overall pneumonia risk.