How Is Pneumonia Treated?
Treatment for pneumonia depends on the type of pneumonia you have, how sick you are feeling, your age, and whether you have other health conditions. The goals of treatment are to cure the infection and prevent complications. It is important to follow your treatment plan carefully until you are fully recovered.
Take any medications as prescribed by your doctor. If your pneumonia is caused by bacteria, you will be given an antibiotic. It is important to take all the antibiotics, even though you will probably start to feel better in a couple of days. If you stop before the prescription is gone, you risk having the infection return, and you increase the chances of the germs becoming resistant to treatment in the future.
Antibiotics do not work against viruses. If you have viral pneumonia, your doctor may prescribe an antiviral medication to treat it. These medications do not work against every virus that causes pneumonia. Antifungal medications may be prescribed for fungal pneumonia. Sometimes, though, symptom management and rest are all that is needed.
- Control your fever and body aches with aspirin, nonsteroidal anti-inflammatory drugs (NSAIDs, such as ibuprofen or naproxen), or acetaminophen. DO NOT give aspirin to children.
- Drink plenty of fluids to help loosen secretions and bring up phlegm.
- Do not take cough medicines without first talking to your doctor. Coughing is one way your body works to get rid of an infection. If your cough is preventing you from getting the rest you need, ask your doctor about steps you can take to get relief.
- Drink warm beverages, take steamy baths or showers and use a humidifier to help open your airways and ease your breathing. Contact your doctor right away if your breathing gets worse instead of better over time.
- Stay away from smoke to let your lungs heal. This includes smoking, secondhand smoke and wood smoke. Talk to your doctor if you use tobacco products and are having trouble staying smokefree while you recover. This would be a good time to think about quitting for good.
- Get lots of rest. You may need to stay in bed for a while. Get as much help as you can with meal preparation and household chores until you are feeling stronger. It is important not to overdo daily activities until you are fully recovered.
If your pneumonia is so severe that you are treated in the hospital, you may be given intravenous fluids (IV) and antibiotics, as well as oxygen therapy, and possibly other breathing treatments.
Recovering from Pneumonia
It may take time to recover from pneumonia. Some people feel better and are able to return to their normal routines within a week. For other people, it can take a month or more. Adequate rest is important to maintain progress toward full recovery and to avoid relapse. Don't rush your recovery! Talk with your doctor about when you can go back to your normal routine.
While you are recovering, try to limit your contact with family and friends, to help keep your germs from spreading to other people. Cover your mouth and nose when you cough, promptly dispose of tissues in a closed waste container and wash your hands often.
Possible Pneumonia Complications
People who may be more likely to have complications from pneumonia include:
- Older adults or very young children.
- People with a weakened immune system who are at greatest risk for pneumonia.
- People with chronic (long-term) medical conditions such as chronic lung disease.
Possible complications include:
- Respiratory failure, which requires a breathing machine or ventilator.
- Sepsis, a condition that happens when your body has an extreme reaction to an infection causing uncontrolled inflammation in the body, which may lead to widespread organ failure.
- Acute respiratory distress syndrome (ARDS), a severe form of respiratory failure.
- Lung abscesses, which are infrequent, but serious complications of pneumonia. They occur when pockets of pus form inside or around the lung. These may sometimes need to be drained with surgery.
Page last updated: May 1, 2025