What is pneumonia?

air passages

Pneumonia is an infection in one or both of your lungs that can be caused by several kinds of germs, such as:

Pneumonia causes swelling (inflammation) of the airways and causes air sacs in the lungs to fill with mucus and other fluids, making it difficult for oxygen to reach the blood.

People who are otherwise healthy often recover quickly when given prompt and proper care. However, pneumonia is a serious condition. You are at higher risk if you:


If you are not sure whether any of these apply to you, ask your healthcare provider.

How Your Lungs Work

Your lungs' main job is to get oxygen into your blood and remove carbon dioxide. This happens during breathing. We breathe 12 to 20 times per minute when we are not sick. When you breathe in, air travels down the back of your throat and passes through your voice box and into your windpipe (trachea). Your trachea splits into two air passages (bronchial tubes). One bronchial tube leads to the left lung, the other to the right lung. For the lungs to perform their best, the airways need to be open as you breathe in and out. Swelling (inflammation) and mucus can make it harder to move air through the airways, making it harder to breathe. This leads to shortness of breath, difficulty breathing, and feeling more tired than normal.

  Bacterial Pneumonia Viral Pneumonia
What is it? Bacterial pneumonia is caused by bacteria germs. The streptococcus pneumoniae germ is the most common cause of bacterial pneumonia. Viral pneumonia is caused by virus germs. About half of all people with pneumonia have viral pneumonia. Viral pneumonia is usually less serious than bacterial pneumonia.
What are the signs and symptoms? Symptoms of bacterial pneumonia can develop gradually or suddenly. Symptoms include:
  • High fever (up to 105 degrees)
  • Tiredness (less energy)
  • Rapid breathing
  • Chills
  • Cough with mucus (might be greenish or have blood)
  • Chest pain, especially with coughing or deep breathing
  • Shortness of breath
  • Loss of appetite
Symptoms usually develop over a period of several days. Early symptoms are similar to flu symptoms, which include:
  • Fever
  • Dry cough
  • Headache
  • Sore throat
  • Loss of appetite
  • Muscle pain
Additional symptoms about a day later:
  • High fever
  • Cough with mucus
  • Shortness of breath
What is the treatment?

Bacterial pneumonia is usually treated with antibiotics.

In some cases, the person may stay in the hospital for treatment. Hospital treatments may include:

  • Oxygen
  • Fluids and medicines given through an IV
  • Breathing treatments and exercises to help loosen mucus

Medicines for pain and fever may also be helpful.

With treatment, bacterial pneumonia usually improves within 24 to 48 hours.

Antibiotics are not used to fight viruses, but may be given to fight a bacterial infection that is also present.

Hospital stays for viral pneumonia are less common than for bacterial pneumonia.

Medicines for pain and fever may also be helpful.

Other medicines and therapies such as breathing treatments and exercises to loosen mucus may be prescribed by your doctor.

Symptoms usually begin to improve within a few days.

The most important thing is to finish all medications and therapies as they are prescribed. This will help to get rid of the infection completely and prevent it from coming back.

  Bacterial Pneumonia Viral Pneumonia
How can I prevent?

Several pneumonia vaccines (shots) are available for protection against the most common causes of bacterial pneumonia. Ask your healthcare provider about these vaccines.

Getting a flu vaccine (shot) once every year can also help prevent bacterial pneumonia.

Get a flu vaccine (shot) once every year. Flu vaccines are prepared to protect against that year's virus strain.

Having the flu can make it easier to get bacterial pneumonia.

  • Don't smoke, and avoid secondhand smoke.
  • Wash your hands before eating, before handling food, when using the restroom, and after being outside.
  • Avoid being around people who are sick. Ask them to visit when they are feeling better.
  • Eat a healthy diet, exercise, and get enough rest.
  • Tell your doctor if you have trouble swallowing.
  • Get treated for any other infections or conditions that you have.
  • Don't use alcohol heavily.
Contact your healthcare provider if you think you have symptoms. Don't wait for symptoms to worsen, as you could develop an emergency condition.
What should I do to get better?
  • Finish ALL medications and therapies as they are prescribed.
  • Drink warm fluids to relieve coughing.
  • Rest. Don't rush your recovery. It can take weeks to get your full strength back.

You are the only one who knows whether you are feeling better. If at any time you feel worse, contact your healthcare provider right away.



This information is provided by the Cleveland Clinic and is not intended to replace the medical advice of your doctor or health care provider. Please consult your health care provider for advice about a specific medical condition. For additional health information, please contact the Center for Consumer Health Information at the Cleveland Clinic (216) 444-3771 or toll-free (800) 223-2273 extension 43771. If you prefer, you may visit or This document was last reviewed on: 8/9/2016