Lifestyle and home remedies

These tips can help you recover more quickly and decrease your risk of complications:

  • Get plenty of rest. Don't go back to school or work until after your temperature returns to normal and you stop coughing up mucus. Even when you start to feel better, be careful not to overdo it. Because pneumonia can recur, it's better not to jump back into your routine until you are fully recovered. Ask your doctor if you're not sure.
  • Stay hydrated. Drink plenty of fluids, especially water, to help loosen mucus in your lungs.
  • Take your medicine as prescribed. Take the entire course of any medications your doctor prescribed for you. If you stop taking medication too soon, your lungs may continue to harbor bacteria that can multiply and cause your pneumonia to recur.


To help prevent pneumonia:

  • Get vaccinated. Vaccines are available to prevent some types of pneumonia and the flu. Talk with your doctor about getting these shots. The vaccination guidelines have changed over time so make sure to review your vaccination status with your doctor even if you recall previously receiving a pneumonia vaccine.
  • Make sure children get vaccinated. Doctors recommend a different pneumonia vaccine for children younger than age 2 and for children ages 2 to 5 years who are at particular risk of pneumococcal disease. Children who attend a group child care center should also get the vaccine. Doctors also recommend flu shots for children older than 6 months.
  • Practice good hygiene. To protect yourself against respiratory infections that sometimes lead to pneumonia, wash your hands regularly or use an alcohol-based hand sanitizer.
  • Don't smoke. Smoking damages your lungs' natural defenses against respiratory infections.
  • Keep your immune system strong. Get enough sleep, exercise regularly and eat a healthy diet.
June 21, 2016
  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.