Community pneumonia, formally called community-acquired pneumonia (CAP), is a lung infection you pick up during everyday life, outside of a hospital or healthcare facility. It’s the most common type of pneumonia, and globally it kills roughly 2.1 million people per year. The infection inflames the tiny air sacs in your lungs, filling them with fluid or pus, which makes breathing harder and triggers a cascade of symptoms from fever to chest pain.
What separates community pneumonia from other types is simply where you caught it. If a lung infection develops after more than 48 hours in a hospital, or in someone who recently received IV treatments, lives in a nursing home, or visited a dialysis clinic, it falls into a different category called healthcare-associated pneumonia. That distinction matters because the germs involved and the treatments needed can be very different.
What Causes It
The single most common culprit is the bacterium that causes pneumococcal disease. Historically responsible for roughly 85% of pneumonia cases, it remains the leading bacterial cause today, though its dominance has shrunk thanks to widespread vaccination. After that, a bacterium called Mycoplasma pneumoniae accounts for 5 to 8% of cases and is especially common in younger adults living in close quarters like college dorms or military barracks.
Not all community pneumonia is bacterial. Viruses, particularly influenza, cause a significant share of cases, with outbreaks peaking during the cold season. There are also so-called “atypical” bacteria that behave differently from standard pneumonia germs. These include Legionella (found in 3 to 5% of hospitalized cases) and rarer organisms that together account for less than 1% of patients. The germ responsible often influences how the illness feels and how quickly it responds to treatment, which is why doctors sometimes try to identify it.
Symptoms and How It’s Diagnosed
The hallmark symptoms are a new cough (with or without mucus), fever, chest pain that worsens when you breathe deeply, and shortness of breath. You may also feel unusually fatigued, have chills, or notice your heart rate and breathing speed up. In older adults, confusion can be a prominent early sign, sometimes appearing before the more “classic” respiratory symptoms do.
When a doctor listens to your lungs, crackling sounds (heard in 22 to 65% of cases) and altered breath sounds are the most common findings. A combination of abnormal vital signs, specifically a temperature above 37.8°C (100°F), a pulse over 100 beats per minute, or a breathing rate above 20 breaths per minute, is about 97% sensitive for catching pneumonia. Still, a chest X-ray is considered the gold standard for confirming the diagnosis. It shows the areas of infection as cloudy patches in the lung tissue, and it helps rule out other conditions that can mimic pneumonia.
Who Is Most at Risk
Age sits at the top of the list. Children under 5 and adults over 70 account for the vast majority of pneumonia deaths worldwide, with more than 1 million deaths annually in the older group alone. But age is only part of the picture.
Chronic lung conditions dramatically raise your odds. COPD nearly triples the risk, and asthma roughly doubles it. Heart disease, chronic kidney disease, and neurological conditions like dementia and Parkinson’s disease all increase vulnerability, as does difficulty swallowing (dysphagia), which makes it easier for bacteria to slip into the lungs.
Lifestyle factors play a surprisingly large role too. Smoking nearly doubles the risk, and even secondhand smoke exposure raises it meaningfully. Heavy alcohol use, being underweight, poor dental hygiene, and low socioeconomic status are all independent risk factors. People living with HIV face the highest risk of any group studied, with roughly five times the odds of developing community pneumonia compared to the general population.
How Severity Is Assessed
Not every case of pneumonia needs a hospital bed. Doctors often use a quick scoring system called CURB-65 to gauge how serious a case is. It assigns one point each for: confusion, elevated blood urea nitrogen (a kidney function marker), a breathing rate of 30 or more per minute, low blood pressure, and being 65 or older. A score of 0 or 1 generally means you can recover safely at home. A score of 2 puts you in a gray zone where supervised care may be wise. A score of 3 or higher signals severe pneumonia with a high risk of death, and hospital treatment is typically necessary.
Potential Complications
Most people with community pneumonia recover without lasting damage, but the infection can escalate. Septic shock occurs when the infection spills into the bloodstream and causes a dangerous drop in blood pressure. Acute respiratory distress syndrome (ARDS) happens when the lungs become so inflamed that they can’t deliver enough oxygen to the body. Acute kidney failure is another recognized complication.
Fluid can also collect in the space between the lung and chest wall, called a pleural effusion. When that fluid becomes infected, it forms a more serious condition called empyema, which may need to be drained. Any new fluid buildup in someone already being treated for pneumonia is a red flag that warrants prompt evaluation.
Recovery Timeline
Recovery varies widely depending on your age, overall health, and the severity of the infection. Some people feel better and return to normal activities within 1 to 2 weeks. For others, particularly older adults or those with chronic conditions, it can take a month or longer. Fatigue is usually the last symptom to leave. Most people continue feeling unusually tired for about a month, even after other symptoms have cleared.
Cough often lingers for several weeks after the infection itself has resolved. This doesn’t necessarily mean the pneumonia is still active. It reflects the time your airways need to heal from the inflammation. Pushing yourself back to full activity too quickly can extend the recovery period, so a gradual return to your routine is generally the better approach.
Prevention Through Vaccination
Because pneumococcal bacteria remain the leading cause, vaccination is the most effective prevention tool. The CDC recommends that all adults aged 50 and older who have never received a pneumococcal conjugate vaccine get one. The newer vaccines (PCV20 and PCV21) are single-shot options: once you receive either one, your pneumococcal vaccination series is complete. An older option, PCV15, requires a follow-up dose of a different vaccine about a year later. For people with weakened immune systems, cochlear implants, or cerebrospinal fluid leaks, the gap between those two doses can be shortened to as little as 8 weeks.
Adults 65 and older who already received an older pneumococcal vaccine (PCV13) along with PPSV23 can discuss with their doctor whether upgrading to PCV20 or PCV21 makes sense for them. Beyond vaccination, reducing modifiable risk factors like smoking, excessive alcohol use, and poor oral hygiene offers meaningful additional protection.

