Treatment for pneumonia depends on the type of pneumonia you have and how severe it is. Most people who have community-acquired pneumonia—the most common type of pneumonia—are treated at home.
The goals of treatment are to cure the infection and prevent complications.
If you have pneumonia, follow your treatment plan, take all medicines as prescribed, and get ongoing medical care. Ask your doctor when you should schedule followup care. Your doctor may want you to have a chest x ray to make sure the pneumonia is gone.
Although you may start feeling better after a few days or weeks, fatigue (tiredness) can persist for up to a month or more. People who are treated in the hospital may need at least 3 weeks before they can go back to their normal routines.
Bacterial pneumonia is treated with medicines called antibiotics. You should take antibiotics as your doctor prescribes. You may start to feel better before you finish the medicine, but you should continue taking it as prescribed. If you stop too soon, the pneumonia may come back.
Most people begin to improve after 1 to 3 days of antibiotic treatment. This means that they should feel better and have fewer symptoms, such as cough and fever.
Antibiotics don't work when the cause of pneumonia is a virus. If you have viral pneumonia, your doctor may prescribe an antiviral medicine to treat it.
Viral pneumonia usually improves in 1 to 3 weeks.
You may need to be treated in a hospital if:
If the level of oxygen in your bloodstream is low, you may receive oxygen therapy. If you have bacterial pneumonia, your doctor may give you antibiotics through an intravenous (IV) line inserted into a vein.
Clinical trials are research studies that explore whether a medical strategy, treatment, or device is safe and effective for humans. To find clinical trials that are currently underway for Pneumonia, visit www.clinicaltrials.gov.
![]()
Visit Children and Clinical Studies to hear experts, parents, and children talk about their experiences with clinical research.
The NHLBI updates Health Topics articles on a biennial cycle based on a thorough review of research findings and new literature. The articles also are updated as needed if important new research is published. The date on each Health Topics article reflects when the content was originally posted or last revised.