What Causes a Chest Infection: Viruses vs. Bacteria

Chest infections are caused by viruses or bacteria that settle into your lower airways or lung tissue, triggering inflammation, mucus buildup, or fluid accumulation. They’re one of the most common reasons people visit a doctor, and globally, lower respiratory infections were responsible for roughly 2.5 million deaths in 2023. Understanding what’s behind them helps you recognize what you’re dealing with and what makes you more vulnerable.

Viruses vs. Bacteria

Most chest infections start with a virus. The same respiratory viruses that cause colds and flu can travel deeper into the lungs and cause more serious illness. The most common viral culprits include influenza, respiratory syncytial virus (RSV), adenoviruses, and coronaviruses (including the virus that causes COVID-19). Rhinoviruses, which are the leading cause of the common cold, can also cause chest infections in some people, though less frequently.

Bacterial chest infections are less common but tend to be more severe. The two bacteria most often responsible for community-acquired pneumonia are Mycoplasma pneumoniae and Streptococcus pneumoniae (pneumococcal disease). Less common bacterial causes include Haemophilus influenzae, Legionella (which causes Legionnaires’ disease), and the bacterium behind whooping cough. Sometimes a bacterial infection develops on top of a viral one, as a weakened respiratory system becomes easier for bacteria to colonize.

Bronchitis and Pneumonia Affect Different Parts of the Lungs

“Chest infection” is a broad term that usually refers to one of two conditions: bronchitis or pneumonia. The difference comes down to where in the lungs the infection takes hold.

Bronchitis targets the bronchial tubes, the medium and large airways that carry air from your windpipe into your lungs. When these tubes become infected, they swell and fill with mucus, which is why a persistent, productive cough is the hallmark symptom. Bronchitis is almost always caused by a virus.

Pneumonia goes deeper. It infects the alveoli, the tiny air sacs at the ends of your airways where oxygen passes into your bloodstream. Instead of filling with mucus, these sacs swell and fill with fluid, making it harder for your body to exchange oxygen and carbon dioxide. That’s why pneumonia tends to cause more severe symptoms like shortness of breath, high fever, and significant fatigue. Pneumonia can be caused by viruses, bacteria, or in rarer cases, fungi.

Bronchitis can progress into pneumonia if the infection spreads from the bronchial tubes into the air sacs. This is more likely in people who are older, have weakened immune systems, or have underlying lung disease.

How These Infections Spread

The germs that cause chest infections travel between people primarily through respiratory droplets. When someone who is infected coughs or sneezes, they release droplets of varying sizes. Larger droplets (bigger than 5 to 10 micrometers) fall to surfaces relatively quickly and pose a risk to anyone within about one meter. Smaller particles, sometimes called droplet nuclei, can linger in the air for longer periods and travel greater distances.

You can also pick up an infection by touching a contaminated surface, like a doorknob, phone, or countertop, and then touching your mouth, nose, or eyes. This indirect contact route is why handwashing is one of the simplest and most effective ways to reduce your risk. During recovery from a chest infection, covering your nose and mouth when coughing, disposing of tissues immediately, and washing your hands frequently all help limit spread to the people around you.

Risk Factors That Make You More Vulnerable

Age is one of the strongest risk factors. Adults 65 and older face significantly higher risk, and that risk continues climbing with each additional year. An 80-year-old is more vulnerable than a 65-year-old. On the other end of the spectrum, children under 5 are also at elevated risk, with younger children facing the greatest danger. A 1-year-old is more likely to develop a serious chest infection than a 4-year-old.

Several chronic health conditions increase susceptibility:

  • Chronic lung disease (such as COPD or asthma), which already compromises airway defenses
  • Chronic heart disease, which can impair circulation and immune response
  • Diabetes, which weakens the immune system over time
  • Chronic liver disease

People with weakened immune systems face the greatest risk overall. This includes those undergoing cancer treatment, organ transplant recipients on immunosuppressive medications, and people living with HIV or other conditions that reduce immune function.

Lifestyle factors matter too. Smoking cigarettes damages the lining of the airways and impairs the tiny hair-like structures (cilia) that sweep germs and debris out of the lungs. Excessive alcohol use also suppresses immune function. And simply being around people who are sick, whether at work, school, or in crowded living situations, increases your exposure to the pathogens that cause chest infections.

Air Quality and Environmental Triggers

It’s not only germs that set the stage for a chest infection. The air you breathe plays a significant role. Particle pollution, the tiny bits of dust, soot, and chemical compounds suspended in the air, has been directly linked to increased rates of respiratory infections. When inhaled, these particles trigger inflammation in the airways, making them more reactive to irritants and less effective at defending against invading pathogens. Studies have found that particle pollution exposure leads to enough respiratory illness to drive emergency department visits and hospital admissions.

People who live near heavy traffic or industrial pollution sources face higher exposure. Poor indoor air quality matters too. Mold, dust, and inadequate ventilation can all contribute to chronic low-level inflammation in the lungs, leaving you more susceptible when a virus or bacterium does arrive. Children with asthma who live in areas with poor air quality are especially vulnerable, as their already-inflamed airways are less equipped to fight off infection.

How Long Chest Infections Last

Recovery time depends heavily on the type and severity of the infection. Acute bronchitis, the more common and milder form, typically resolves on its own within one to three weeks, though a lingering cough can persist for several weeks after the main infection clears.

Pneumonia takes longer. Some people feel better and return to normal routines within one to two weeks, but for others, recovery stretches to a month or more. Even after the infection itself resolves, most people continue to feel tired for about a month. Bacterial pneumonia treated with antibiotics often improves faster than untreated cases, but the fatigue and reduced lung capacity can linger regardless.

Viral chest infections don’t respond to antibiotics, which is why doctors don’t always prescribe them for a chest infection. If the cause is bacterial, antibiotics can shorten the illness and reduce the risk of complications. If it’s viral, treatment focuses on managing symptoms, staying hydrated, and resting while your immune system does the work.