A pulmonary infection is any infection that takes hold in the lungs, most commonly in the form of pneumonia or bronchiolitis. These infections killed an estimated 2.5 million people worldwide in 2023, making them one of the leading infectious causes of death across all age groups. They can be caused by bacteria, viruses, or fungi, and they range from mild illnesses that resolve at home to life-threatening emergencies requiring intensive care.
How Infections Take Hold in the Lungs
Your airways have a built-in defense system. The nose and throat filter out most large particles, and the lining of the airways is coated in sticky mucus that traps smaller invaders and sweeps them back up toward the throat. But very small particles, roughly one-hundredth the width of a human hair, can slip past all of these defenses and reach the tiny air sacs deep in the lungs called alveoli.
Once a pathogen lands in the alveoli, it finds a warm, moist environment rich in the nutrients it needs to multiply. Some bacteria carry a protective outer shell that helps them dodge the immune cells stationed in the lungs. Viruses, meanwhile, can hijack lung cells directly and destroy them from the inside. In both cases, the immune system responds by flooding the area with white blood cells and fluid from the bloodstream. This inflammatory response is what actually makes you sick: the alveoli fill up with a mix of immune cells, fluid, and debris from the battle. That buildup is what shows up as a white cloudy patch on a chest X-ray, often called consolidation.
The infection can spread from one cluster of air sacs to neighboring ones, which is why a small area of pneumonia can expand into an entire lobe of the lung if it isn’t controlled.
Common Causes
Bacteria are the most dangerous cause of pulmonary infections globally. The single deadliest lung pathogen is the pneumococcus bacterium, responsible for roughly 634,000 deaths in 2023 alone. Staphylococcus aureus (271,000 deaths) and Klebsiella pneumoniae (228,000 deaths) round out the top three.
Viruses cause a large share of lung infections as well. The flu, COVID-19, RSV, and common cold viruses can all progress into pneumonia, particularly in older adults and young children. Viral pneumonia often sets the stage for a secondary bacterial infection, which can be more severe than either would be on its own.
Fungal lung infections are less common but pose serious risks for people with weakened immune systems. These include infections caused by Aspergillus (responsible for nearly 68,000 deaths in 2023), Pneumocystis, and the fungus behind Valley fever, which is endemic to the southwestern United States. Non-tuberculous mycobacteria, a group of environmental bacteria found in soil and water, caused approximately 177,000 deaths globally in 2023.
Hospital-acquired pneumonia deserves special mention. It tends to involve antibiotic-resistant bacteria like MRSA and is generally harder to treat than infections picked up in everyday life.
Symptoms to Recognize
The hallmark symptoms of a pulmonary infection are cough, fever, and difficulty breathing. Most people also experience fatigue, chest pain that worsens with deep breaths, and sometimes chills or night sweats. A productive cough, one that brings up thick or discolored mucus, often points to a bacterial cause, though this isn’t a reliable way to tell bacterial from viral infections apart.
The clearest sign that a lung infection has become serious is a drop in oxygen levels. When blood oxygen saturation falls below about 90 to 92%, the body isn’t getting enough oxygen to function properly, and supplemental oxygen becomes necessary. You might notice this as feeling short of breath at rest, confusion, or a bluish tint to the lips or fingertips. In older adults, confusion or sudden worsening of existing health conditions may be the most prominent symptom, sometimes even before cough or fever appear.
How Pulmonary Infections Are Diagnosed
A chest X-ray is typically the first imaging test ordered when a lung infection is suspected. Doctors look for specific patterns that can suggest the type of infection. A dense, uniform white-out of an entire lobe, often with visible air-filled airways running through it, is the classic appearance of bacterial pneumonia caused by pneumococcus. Patchy, scattered opacities throughout both lungs suggest a different pattern called bronchopneumonia. A fine, web-like pattern in the lung tissue points toward viral or atypical infections that inflame the walls of the air sacs rather than filling them with fluid.
CT scans provide much more detail and can reveal findings invisible on a standard X-ray. A ring of hazy opacity surrounding a dense nodule, for example, is highly suggestive of an aggressive Aspergillus infection in patients with compromised immune systems. Tiny nodules scattered evenly throughout both lungs, each smaller than a few millimeters, are a classic pattern for tuberculosis. Cavities within the lung, areas where tissue has been destroyed and replaced by air pockets, suggest a necrotizing infection or abscess.
Blood tests help gauge severity. A high white blood cell count (above 15,000 per microliter) is typical of bacterial pneumonia. Elevated markers of inflammation, particularly C-reactive protein above 100 mg/L, signal more serious disease and a higher risk of treatment not working on the first attempt. Sputum samples, where you cough up mucus into a cup for lab analysis, help identify the specific organism so treatment can be targeted.
When Infections Become Dangerous
Most pulmonary infections resolve with appropriate treatment, but complications can escalate quickly. Fluid can accumulate between the lung and the chest wall, a condition called pleural effusion. If that fluid becomes infected, it turns into empyema, a pocket of pus that may need to be drained with a needle or tube.
The most feared complication is when the infection triggers a bodywide inflammatory response known as sepsis. The lungs are particularly vulnerable to this cycle: a lung infection can cause sepsis, and sepsis from any source can damage the lungs in return, leading to acute respiratory distress syndrome (ARDS). In ARDS, the lungs become so inflamed and fluid-filled that they can no longer exchange oxygen effectively, requiring mechanical ventilation. When ARDS leads to secondary bacterial pneumonia on top of the original illness, mortality can approach 90%.
Children under five face especially high risks. The global mortality rate from lower respiratory infections in this age group was nearly 95 per 100,000 children in 2023, with most of those deaths concentrated in low-income countries where access to antibiotics and oxygen is limited.
Treatment Approaches
Treatment depends entirely on the cause. Bacterial pneumonia is treated with antibiotics, and most people with mild to moderate cases recover at home with oral medication over five to seven days. Viral pneumonia is managed primarily with rest, fluids, and fever control, though antiviral medications are available for specific infections like influenza and COVID-19. Fungal infections require antifungal medications, often for weeks or months.
Tuberculosis, a specific bacterial lung infection that remains a major global killer, requires a much longer treatment course. Updated guidelines now allow most people with drug-susceptible TB to complete treatment in four months instead of the previous six, using a combination of four medications. Drug-resistant TB, which doesn’t respond to standard antibiotics, previously required 15 months of treatment but can now be treated with newer all-oral regimens in six months.
Severe infections that land you in the hospital typically involve intravenous antibiotics, supplemental oxygen, and close monitoring. Recovery timelines vary widely. A healthy adult with community-acquired pneumonia may feel better within a week, but full energy and lung function can take a month or more to return. Older adults and those with chronic conditions often face longer recoveries.
Prevention Through Vaccination
Pneumococcal vaccines are the most direct form of prevention. The CDC recommends them for all children under five (given as a four-dose series starting at two months of age) and all adults aged 50 and older. People of any age with conditions that raise their infection risk, such as chronic lung or heart disease, diabetes, or a weakened immune system, are also recommended to get vaccinated.
For adults 50 and older who have never received a pneumococcal conjugate vaccine, a single dose of the newer PCV20 or PCV21 vaccine completes the series with no follow-up dose needed. If the older PCV15 is used instead, a second vaccine is needed about a year later.
Beyond pneumococcal vaccines, annual flu shots, staying current on COVID-19 vaccines, and RSV vaccines for eligible adults all reduce the risk of viral pneumonia. Basic hygiene, including handwashing and avoiding close contact with sick individuals, remains one of the simplest and most effective protective measures, particularly during respiratory virus season.

