Community-acquired pneumonia (CAP) is treated primarily with antibiotics, and the specific approach depends on how sick you are and whether you have other health conditions. Most people with CAP recover at home with oral antibiotics over a minimum of five days, while more severe cases require hospitalization and intravenous medications. The goal of treatment is to eliminate the infection, manage symptoms, and prevent complications.
How Severity Determines Your Treatment Setting
The first decision in treating CAP is whether you can safely recover at home or need to be admitted to a hospital. Doctors use scoring tools to make this call. One widely used system, the CURB-65 score, assigns one point each for five risk factors: confusion, elevated blood urea nitrogen, a respiratory rate of 30 or more breaths per minute, low blood pressure, and age 65 or older. A score of 0 or 1 generally means outpatient treatment is reasonable. A score of 2 or higher typically warrants hospitalization.
These scores are guides, not rigid rules. Your doctor will also weigh factors like your ability to keep fluids down, whether you have someone at home to help, and how you look clinically. If you’re breathing comfortably, alert, and otherwise stable, home treatment is the norm.
Outpatient Antibiotics for Mild Cases
If you’re an otherwise healthy adult without chronic conditions, treatment is straightforward. Current guidelines from the American Thoracic Society and Infectious Diseases Society of America recommend one of three options: amoxicillin three times daily, doxycycline twice daily, or a macrolide antibiotic (though macrolides are only recommended in areas where resistance among the most common pneumonia bacteria is below 25%).
If you have chronic heart, lung, liver, or kidney disease, diabetes, a history of heavy alcohol use, cancer, or a compromised spleen, the standard regimen is more aggressive. You’ll typically receive a combination of two antibiotics: a stronger penicillin-type or cephalosporin drug paired with either a macrolide or doxycycline. Alternatively, your doctor may prescribe a single respiratory fluoroquinolone, which covers a broader range of bacteria on its own.
Treatment in the Hospital
For patients admitted to a general medical ward with non-severe CAP, the standard approach is a beta-lactam antibiotic (given intravenously) combined with a macrolide. The macrolide covers atypical bacteria, including Legionella, that the beta-lactam alone may miss. A respiratory fluoroquinolone by itself is an alternative when combination therapy isn’t feasible, such as when a patient has a heart rhythm issue that macrolides could worsen.
Patients sick enough for the ICU receive broader-spectrum coverage and closer monitoring. At this level, doctors also evaluate whether you need coverage for drug-resistant bacteria like MRSA or Pseudomonas. These organisms are uncommon in typical CAP but become a concern if you’ve had a prior infection with either organism in the past year, received intravenous antibiotics within the last 90 days, or have structural lung disease such as severe bronchiectasis. If MRSA is suspected, a nasal swab can help confirm or rule it out quickly.
When the Cause Is a Virus, Not Bacteria
Not all pneumonia is bacterial. Influenza is one of the most common viral causes of CAP, and when it’s suspected or confirmed, antiviral treatment should begin as soon as possible, ideally within two days of symptom onset. For outpatients, oseltamivir (Tamiflu) taken by mouth is the most common choice, though inhaled zanamivir and baloxavir (Xofluza) are also options depending on your age and health status. Hospitalized patients with influenza pneumonia are treated with oseltamivir specifically, as other antivirals don’t have enough evidence to support their use in severe illness.
In practice, doctors often start antibiotics even when a virus is suspected, because bacterial co-infection is common and difficult to rule out immediately. If testing confirms a purely viral cause, antibiotics can be stopped.
How Long You’ll Take Antibiotics
The minimum recommended course is five days, but simply finishing five days isn’t the only criterion. Before stopping antibiotics, you should have been fever-free for 48 to 72 hours and meet stability benchmarks like normal heart rate, blood pressure, and oxygen levels. Most uncomplicated cases wrap up in five to seven days.
Longer courses are needed in certain situations: if the initial antibiotic wasn’t effective against the bacteria eventually identified, if the infection spread beyond the lungs (such as to the bloodstream), or if complications like a lung abscess developed.
Managing Symptoms at Home
Antibiotics fight the infection, but you’ll still feel rough for a while. Several strategies help you recover more comfortably.
- Stay hydrated. Aim for at least 6 to 10 cups (about 1.5 to 2.5 liters) of water, juice, or weak tea per day. Avoid alcohol, which can dehydrate you and interfere with your immune response.
- Loosen mucus. Breathing warm, moist air from a humidifier or a warm washcloth held loosely near your nose and mouth helps thin sticky mucus. Gently tapping your chest a few times a day while lying down can also help bring it up.
- Breathe deeply. Take a couple of deep breaths two to three times every hour. This helps keep your lungs open and prevents mucus from settling.
- Rest aggressively. If you’re not sleeping well at night, nap during the day. Your body is doing heavy repair work, and rest accelerates it.
Over-the-counter fever reducers and pain relievers can help with body aches and chest discomfort, but avoid cough suppressants unless your cough is so severe it’s preventing sleep. Coughing is your body’s main tool for clearing infected mucus from your airways.
What Recovery Actually Looks Like
Recovery from pneumonia is slower than most people expect. Some people feel better and return to their normal routines within one to two weeks. For others, it takes a month or longer. Fatigue is the most persistent symptom, lingering for about a month in most people even after the infection itself has cleared. You may feel winded climbing stairs or doing light exercise well after your cough has resolved.
Returning to work or school too quickly is one of the most common mistakes. If your job involves physical labor or long hours, plan for a gradual return. Listen to your body rather than your calendar.
Complications to Watch For
Most CAP cases resolve without problems, but complications do occur. Pleural effusion, a buildup of fluid between the lung and chest wall, affects up to 57% of hospitalized pneumonia patients to some degree. Most of these effusions are small and resolve on their own, but about 1% to 2% of cases with effusion progress to empyema, where the fluid becomes infected and may need to be drained. Pleural effusion is a marker of more severe pneumonia and increases the chance that initial treatment won’t fully work.
Lung abscess is rarer but more serious, often requiring weeks of antibiotics and occasionally surgical drainage. Signs that something isn’t resolving as expected include a fever that returns after initially breaking, worsening shortness of breath, sharp chest pain that gets worse with breathing, or coughing up blood. Any of these after starting treatment warrants prompt re-evaluation.
Follow-Up After Treatment
For decades, guidelines recommended a follow-up chest X-ray about two months after treatment to confirm the pneumonia had fully resolved and to rule out an underlying lung mass that might have been mistaken for, or hidden by, the infection. More recent evidence has challenged this practice. Since 98% to 99% of pneumonia patients will not have an underlying lung cancer, routine follow-up imaging isn’t considered necessary for everyone. A repeat X-ray is still warranted if your symptoms haven’t fully resolved or if you have risk factors for lung cancer, such as a long smoking history. Otherwise, clinical improvement is generally sufficient confirmation that treatment worked.