Treatment for pneumonia involves curing the infection and preventing complications. People who have community-acquired pneumonia usually can be treated at home with medication. Although most symptoms ease in a few days or weeks, the feeling of tiredness can persist for a month or more.

Specific treatments depend on the type and severity of your pneumonia, your age and your overall health. The options include:

  • Antibiotics. These medicines are used to treat bacterial pneumonia. It may take time to identify the type of bacteria causing your pneumonia and to choose the best antibiotic to treat it. If your symptoms don't improve, your doctor may recommend a different antibiotic.
  • Cough medicine. This medicine may be used to calm your cough so that you can rest. Because coughing helps loosen and move fluid from your lungs, it's a good idea not to eliminate your cough completely. In addition, you should know that very few studies have looked at whether over-the-counter cough medicines lessen coughing caused by pneumonia. If you want to try a cough suppressant, use the lowest dose that helps you rest.
  • Fever reducers/pain relievers. You may take these as needed for fever and discomfort. These include drugs such as aspirin, ibuprofen (Advil, Motrin IB, others) and acetaminophen (Tylenol, others).


You may need to be hospitalized if:

  • You are older than age 65
  • You are confused about time, people or places
  • Your kidney function has declined
  • Your systolic blood pressure is below 90 millimeters of mercury (mm Hg) or your diastolic blood pressure is 60 mm Hg or above
  • Your breathing is rapid (30 breaths or more a minute)
  • You need breathing assistance
  • Your temperature is below normal
  • Your heart rate is below 50 or above 100

You may be admitted to the intensive care unit if you need to be placed on a breathing machine (ventilator) or if your symptoms are severe.

Children may be hospitalized if:

  • They are younger than age 2 months
  • They are lethargic or excessively sleepy
  • They have trouble breathing
  • They have low blood oxygen levels
  • They appear dehydrated
Aug. 11, 2017
  1. Pneumonia. National Heart, Lung, and Blood Institute. Accessed April 15, 2016.
  2. AskMayoExpert. Community-acquired pneumonia (adult). Rochester, Minn.: Mayo Foundation for Medical Education and Research; 2014.
  3. Goldman L, et al., eds. Overview of pneumonia. In: Goldman-Cecil Medicine. 25th ed. Philadelphia, Pa.: Saunders Elsevier; 2016. Accessed April 18, 2016.
  4. Schauner S, et al. Community-acquired pneumonia in children: A look at the IDSA guidelines. Journal of Family Practice. 2013;62:9.
  5. Attridge RT, et al. Health care-associated pneumonia: An evidence-based review. American Journal of Medicine. 2011;124:689.
  6. Hunter JD. Ventilator associated pneumonia. BMJ. 2012;344:e3325.
  7. Dockrell DH, et al. Pneumococcal pneumonia: Mechanisms of infection and resolution. Chest. 2012;142:482.
  8. Reynolds RH, et al. Pneumonia in the immunocompetent patient. British Journal of Radiology. 2010;83:998.
  9. Remington LT, et al. Community-acquired pneumonia. Current Opinion Pulmonary Medicine. 2014;20:215.
  10. Centers for Disease Control and Prevention. Adults: Protect yourself with pneumococcal vaccines. Accessed April 15, 2016.
  11. Marrie TJ, et al. Pneumococcal pneumonia in adults. Accessed April 15, 2016.
  12. Barbara Woodward Lips Patient Education Center. Care following hospitalization for community-acquired pneumonia. Rochester, Minn.: Mayo Foundation for Medical Education and Research; 2013.
  13. AskMayoExpert. Community-acquired pneumonia (pediatric). Rochester, Minn.: Mayo Foundation for Medical Education and Research; 2014.
  14. Barson WJ. Community-acquired pneumonia in children: Outpatient treatment. Accessed April 15, 2016.
  15. File TM. Treatment of community-acquired pneumonia in adults in the outpatient setting. Accessed April 20, 2016.
  16. Chang CC, et al. Over-the-counter (OTC) medications to reduce cough as an adjunct to antibiotics for acute pneumonia in children and adults. Cochrane Database of Systematic Reviews. Accessed April 20, 2016.
  17. Mycoplasma pneumoniae infection. Centers for Disease Control and Prevention. Accessed April 20, 2016.
  18. Barson WJ. Community-acquired pneumonia in children: Clinical features and diagnosis. Accessed April 20, 2016.
  19. Olson EJ (expert opinion). Mayo Clinic, Rochester, Minn. May 1, 2016.