Pneumonia is an infection that inflames the tiny air sacs in your lungs, causing them to fill with fluid or pus. This makes it harder for oxygen to reach your bloodstream, which is why shortness of breath and fatigue are hallmark symptoms. The infection can range from mild enough to treat at home to severe enough to require hospitalization, and it claimed 2.5 million lives worldwide in 2023.
What Happens Inside Your Lungs
Your lungs contain millions of tiny air sacs called alveoli. In healthy lungs, oxygen passes through these thin-walled sacs into your blood with every breath. When a germ reaches the alveoli, immune cells called macrophages rush in to fight it off. Ironically, the immune response itself causes most of the damage. Those macrophages release chemical signals that recruit waves of additional immune cells to the infection site. The resulting inflammation makes the blood vessel walls surrounding the alveoli “leaky,” allowing fluid to seep into the air sacs.
Once the alveoli fill with fluid and infectious debris, they can no longer transfer oxygen efficiently. This is why pneumonia makes you feel short of breath even during light activity. In severe cases, large portions of one or both lungs become congested, and the lung tissue becomes heavy and waterlogged. The worse the congestion, the harder your body has to work to maintain adequate oxygen levels.
Bacteria, Viruses, and Fungi Can All Cause It
Pneumonia isn’t one disease so much as a category of lung infections with different culprits. Bacterial pneumonia is the most common type requiring hospitalization. Viral pneumonia, caused by influenza, RSV, or COVID-19, tends to come on more gradually and can sometimes set the stage for a secondary bacterial infection. Fungal pneumonia is less common and typically affects people with weakened immune systems or those exposed to certain environmental sources like bird droppings or contaminated soil.
Where you pick up the infection matters too. Community-acquired pneumonia, the kind you catch going about your daily life, is the most common form. Hospital-acquired pneumonia tends to be more dangerous because the bacteria involved are often resistant to standard treatments, and people in hospitals are already in a vulnerable state. Being on a ventilator in an intensive care unit raises the risk significantly.
Recognizing the Symptoms
Pneumonia symptoms can look a lot like a bad cold or flu at first, which is why people sometimes wait too long to seek care. The CDC lists these common signs:
- Cough, often producing mucus that may be green, yellow, or even bloody
- Fever or chills, sometimes with sweating
- Shortness of breath, even during rest or light activity
- Chest pain that worsens when you breathe deeply or cough
- Fatigue that feels disproportionate to your activity level
- Nausea, vomiting, or diarrhea
- Confusion, particularly in older adults
In older adults, symptoms can be deceptively mild. Fever may be absent entirely, and confusion or a sudden decline in functioning may be the most noticeable change. In young children, rapid breathing, grunting, or a bluish tint to the lips or fingernails are warning signs that oxygen levels may be dropping.
Who Is Most at Risk
The two age groups hit hardest are children under 2 and adults over 65. In 2023, children under five accounted for roughly 600,000 pneumonia deaths globally, while adults 70 and older accounted for about 1.2 million. Together, those two groups made up 70% of all pneumonia deaths.
Beyond age, several factors raise your risk. Chronic lung conditions like asthma or COPD make the lungs more vulnerable to infection. Heart disease reduces the body’s ability to compensate when oxygen exchange is impaired. A weakened immune system, whether from HIV, an organ transplant, chemotherapy, or long-term steroid use, limits your ability to fight off the infection before it takes hold. Smoking damages the airways’ natural defenses, and heavy alcohol use suppresses immune function.
How Pneumonia Is Diagnosed
A chest X-ray is the standard first step. It shows areas of inflammation in the lungs and can reveal how much lung tissue is affected. If more detail is needed, a CT scan provides a clearer picture and can detect complications like lung abscesses or fluid buildup around the lungs.
To figure out what’s causing the infection, your provider may order a sputum test, where you cough up a mucus sample that gets analyzed for specific germs. Blood tests can confirm your immune system is actively fighting an infection and check whether bacteria have entered your bloodstream. A pulse oximeter, a small clip placed on your finger, measures your blood oxygen level to gauge how well your lungs are functioning. In severe cases or when treatment isn’t working, a procedure called bronchoscopy allows a doctor to look directly into your airways and collect tissue or fluid samples.
Treatment Depends on the Cause
Bacterial pneumonia is treated with antibiotics. Many people with mild cases take oral antibiotics at home and start feeling better within a few days, though finishing the full course is important even after symptoms improve. For people who need hospitalization, antibiotics may be given intravenously, and supplemental oxygen helps maintain blood oxygen levels while the lungs heal.
Viral pneumonia doesn’t respond to antibiotics. Treatment is primarily supportive: rest, fluids, and fever management. For certain viruses like influenza, antiviral medications can shorten the illness if started early. Fungal pneumonia requires antifungal medications, and treatment courses tend to be longer.
Regardless of the cause, the basics of recovery are the same. Rest is essential. Staying hydrated helps loosen mucus. Over-the-counter pain relievers can manage fever and chest discomfort.
Potential Complications
Most people recover fully, but pneumonia can lead to serious complications, especially when treatment is delayed or the infection is severe. Fluid can collect in the space between the lungs and chest wall, a condition called pleural effusion. If that fluid becomes infected (empyema), it may need to be drained. A lung abscess, a pocket of pus that forms within the lung tissue, is another possibility, though it’s rare in otherwise healthy people. In the most dangerous scenario, bacteria enter the bloodstream, a condition called septicemia, which can spread infection to other organs.
Recovery Timeline
Recovery from pneumonia is slower than most people expect. Some people feel better and return to normal routines within one to two weeks, but for others it can take a month or longer. Fatigue is the most persistent symptom, lingering for about a month in most cases even after other symptoms resolve. You may feel winded during physical activity for weeks.
Light physical activity during recovery helps rebuild strength, but pushing too hard can set you back. Dizziness or significant shortness of breath during movement is a sign to ease off. The timeline varies widely based on your age, overall health, and how severe the infection was. Older adults and people with chronic conditions generally face longer recoveries.
Vaccination and Prevention
Pneumococcal vaccines are the most effective tool for preventing the most common type of bacterial pneumonia. For children, the CDC recommends a four-dose series 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, a single dose of PCV20 or PCV21 completes the series with no additional shots needed. If PCV15 is used instead, a follow-up dose of a different pneumococcal vaccine is recommended about a year later.
Annual flu vaccination also helps prevent pneumonia, since influenza is both a direct cause of viral pneumonia and a common precursor to secondary bacterial pneumonia. Basic hygiene, including regular handwashing and avoiding close contact with sick individuals, reduces your exposure to the germs that cause it. For smokers, quitting is one of the most impactful things you can do, as smoking impairs the lungs’ built-in ability to clear pathogens before they reach the alveoli.

