Community-Acquired Pneumonia

This is a type of pneumonia, which is an infection in the lungs, that you get outside of a hospital. It's an infection you catch in the regular community.

Condition

What people with Community-Acquired Pneumonia report

Every report comes from a Lived member, sent anonymously.

Have you tried Z-Pak (Azithromycin) for Community-Acquired Pneumonia?

NameHow it went

About Community-Acquired Pneumonia

What It Is

Community-acquired pneumonia is a lung infection that starts in everyday life rather than during a stay in a hospital, nursing home or other health care facility. The infection inflames the lungs' tiny air sacs and fills them with fluid or pus, which makes it harder for oxygen to pass into the blood. Typical symptoms are a cough that often brings up yellow, green or sometimes bloody mucus, fever, shaking chills, shortness of breath and a sharp chest pain that gets worse with a deep breath or cough. Pneumonia ranges from an illness that can be treated at home to one that needs hospital care. Older adults and people with weakened immune systems may not have the usual symptoms: they may have little or no fever, or even a lower-than-normal temperature, and may simply seem weak or suddenly confused. The community-acquired label matters because pneumonia picked up in a health care setting is more likely to involve germs that resist common antibiotics, so it is treated differently.

Causes & Risk Factors

Pneumonia develops when germs reach the lungs and get past the body's defenses. In adults, bacteria are the most common cause, and Streptococcus pneumoniae (pneumococcus) is the most common of them in the United States. Other bacteria cause what is called atypical pneumonia: Mycoplasma often causes a milder illness known as walking pneumonia, while Legionella causes a severe form called Legionnaires' disease. Viruses are also common causes, especially flu, common cold viruses, RSV (respiratory syncytial virus) and the virus that causes COVID-19, and a viral infection can open the way for a bacterial pneumonia on top of it. Pneumonia can also follow inhaling food, drink, vomit or saliva into the lungs, which is called aspiration. Anyone can get pneumonia, but the risk is higher for adults 65 and older and for people who smoke, drink heavily, or live with a chronic lung disease such as COPD (chronic obstructive pulmonary disease) or asthma, diabetes, heart failure, or liver or kidney disease. A weakened immune system, from cancer treatment, HIV, an organ transplant or long-term steroid medicines, raises the risk too. Conditions that affect coughing or swallowing, such as stroke, dementia or Parkinson's disease, make aspiration more likely. These factors raise the odds rather than decide who gets sick.

How It's Diagnosed

From symptoms alone, pneumonia can be hard to tell apart from a cold, flu or bronchitis. A clinician asks about the symptoms, recent illness, travel and other health conditions, then listens to the lungs with a stethoscope for crackles or other abnormal sounds. A chest X-ray is the usual way to confirm the diagnosis, because it shows inflamed areas of lung that those other illnesses don't produce. A pulse oximeter, a small clip on the finger, measures how much oxygen the blood is carrying; a low reading means the infection is interfering with breathing and weighs toward hospital care. When flu is circulating, a nose swab may test for flu and other viruses, including the one that causes COVID-19. For most people treated at home, the exact germ is never identified, and that is expected: the antibiotic is chosen to cover the likely causes. People sick enough to be in the hospital are more likely to have blood tests, cultures of blood or sputum (coughed-up mucus) to find the germ, and sometimes a CT (computed tomography) scan if a complication such as fluid around the lung is suspected. The next decision is where treatment should happen. Clinicians combine their judgment with a severity score such as the Pneumonia Severity Index or CURB-65. CURB-65 counts five features: confusion, a raised urea level in the blood (a measure of kidney function), a fast breathing rate, low blood pressure and age 65 or older. The more of these that are present, the more serious the pneumonia is likely to be. Practical issues count too, such as being unable to eat or drink or having no one to help at home.

Treatment Options

Most people with community-acquired pneumonia recover at home with antibiotics taken by mouth. Because no quick test can rule out bacteria, antibiotics are usually started right away rather than after the cause is known. For otherwise healthy adults, the usual first choice is amoxicillin, a penicillin-type antibiotic; doxycycline, or azithromycin (a macrolide antibiotic), are alternatives depending on allergies and local resistance patterns. People with chronic heart, lung, liver or kidney disease, diabetes, alcohol use disorder or cancer usually get broader coverage: two antibiotics together, or a single fluoroquinolone antibiotic such as levofloxacin. The choice involves trade-offs, since macrolides can affect heart rhythm and fluoroquinolones carry their own risk of serious side effects, so your health history and past antibiotic use matter. Courses are shorter than many people expect. Most people start to feel better within 1 to 3 days of starting antibiotics. Current American Thoracic Society guidance supports as few as 3 to 5 days of treatment for pneumonia that isn't severe, once fever, breathing, heart rate and other vital signs have settled, while severe pneumonia is treated for at least 5 days. Take the antibiotic exactly as prescribed and don't stop early on your own, because the infection can come back. If a test shows flu, an antiviral medicine such as oseltamivir (Tamiflu) is recommended, and it works best when started early. For otherwise healthy people whose test shows a virus, the 2025 guidance suggests antibiotics can sometimes be skipped, but the evidence for this is weak and the X-ray and overall picture still guide the decision. In the hospital, treatment usually includes antibiotics through a vein, fluids and oxygen, and people who are very sick may need a ventilator (a breathing machine). Steroid medicines are not recommended for pneumonia that isn't severe but may be used in severe cases. At home, rest, plenty of fluids and avoiding alcohol and smoke help recovery. Acetaminophen (Tylenol) or ibuprofen (Advil, Motrin) can ease fever and aches if your clinician says they're safe for you. Ask before taking cough medicine, since coughing helps clear mucus from the lungs.

What to Expect

With treatment, most people improve quickly, but full recovery is gradual. A cough usually eases over 1 to 2 weeks, sleep and appetite may take about a week to return to normal, and tiredness commonly lingers for about a month. Some people are back to their routines in 1 to 2 weeks; older adults, people with other health conditions and those who needed hospital care often take a month or longer. Light activity helps rebuild strength, though shortness of breath may limit it at first, and most people need some time off work. A chest X-ray can take many weeks to clear and usually lags behind how you feel. If symptoms are gone within about a week, a repeat X-ray usually isn't needed, but a clinician may order one if symptoms linger to check for another cause. Most people recover fully. Serious pneumonia can lead to complications such as infected fluid around the lung, a lung abscess (a pocket of pus) or sepsis, an overwhelming body-wide reaction to infection, and these are more likely in older adults and people with other serious conditions. Pneumonia can also have effects after the infection clears: some people experience depression, and existing heart and blood vessel disease can worsen. Recovery is a good time to look at prevention. Pneumococcal vaccination is recommended for all adults 50 and older and for adults 19 to 49 with certain health conditions, and a yearly flu vaccine and recommended COVID-19 vaccination lower the chance of serious pneumonia from those viruses. Vaccines don't prevent every case, but vaccinated people who still get pneumonia tend to have milder, shorter illness with fewer complications. Not smoking and washing hands often help as well.

When to Seek Help

See a clinician the same day for a cough with fever, shaking chills or shortness of breath, or chest pain that gets worse when you breathe in, especially if you are 65 or older, have heart or lung disease or diabetes, or have a weakened immune system. Because older adults may have little or no fever, unusual weakness during a respiratory illness is also a reason to be checked. After treatment starts, contact your care team promptly if you are not beginning to feel better within about 3 days, if fever comes back or symptoms worsen after first improving, or if you cough up blood or rust-colored mucus. Call 911 or get emergency care if breathing is getting harder or faster, you can't get a deep breath, your lips, fingertips or nail beds look bluish, or the person becomes very sleepy or confused.

Questions to Ask Your Doctor

  1. 1.What makes it safe for me to be treated at home, or why do I need to be in the hospital?
  2. 2.Do we know whether a virus or bacteria is causing this, and does that change my treatment?
  3. 3.How soon should I feel better, and at what point should I call you if I don't?
  4. 4.Do I need a follow-up visit or another chest X-ray, and when can I return to work and exercise?
  5. 5.Which vaccines should I get once I recover?

Last reviewed • Oct 2026

Educational content, not medical advice.