Skip to Content
800-533-8762
  • Careers
  • Newsroom
  • Health Care Professionals
  • About Us
  • Contact Us
UPMC
  • Find a Doctor
  • Services
    • Frequently Searched Services
    • Frequently Searched Services
      Allergy & Immunology Behavioral & Mental Health Cancer Ear, Nose & Throat Endocrinology Gastroenterology Heart & Vascular Imaging Neurosciences Orthopaedics
      Physical Rehabilitation Plastic & Reconstructive Surgery Primary Care Senior Services Sports Medicine Telemedicine Transplant Surgery Walk-In Care Weight Management Women’s Health
      See all Services
    • Services by Region
    • Find a UPMC health care facility close to you quickly by browsing by region.
      UPMC in Western Pa. Western Pa. and New York
      UPMC in Central Pa. Central Pa.
      UPMC in North Central Pa. North Central Pa.
      UPMC in Western Md. Maryland & West Virginia
    • See All Services
  • Locations
    • Locations by Type
    • Locations by Type
      UPMC hospitals
      Hospitals
      Physical Therapy
      Physical Therapy
      Urgent care
      Walk-In Care
      UPMC Outpatient Centers
      Outpatient Centers
      UPMC Imaging Services
      Imaging
      Community Health Centers
      Community Health Centers
      See All Locations
    • Locations by Region
    • Locations by Region
      UPMC in Southwest Pa. Southwest Pa.
      UPMC in North Central Pa. North Central Pa.
      UPMC in Northwest Pa and Ny. Northwest Pa. & Western N.Y.
      UPMC in West Central Pa. West Central Pa.
      UPMC in Central Pa. Central Pa.
      UPMC in Western Md. Maryland & West Virginia
    • See All Locations
  • Patients & Visitors
    • Patient & Visitor Resources
    • Patient & Visitor Resources
      Patients and Visitors Resources Pay a Bill Classes & Events Health Library International Traveling Patients Medical Records
      Patient Information Patient Portals Privacy Information Shared Decision Making Visitor Information
      Man uses mobile phone
      Pay a Bill
      Nurse reviews medical chart
      Request Medical Records
  • Patient Portals
  • Find Covid-19 updates
  • Schedule an appointment
  • Request medical records
  • Pay a bill
  • Learn about financial assistance
  • Find classes & events
  • Send a patient an eCard
  • Make a donation
  • Volunteer
  • Read HealthBeat blog
  • Explore UPMC Careers
Skip to Content
UPMC
  • Find a Doctor
    • Doctor Search
  • Services
    • Frequently Searched Services
      • Heart and Vascular Services
      • Neurosciences Services
      • Orthopaedics Services
      • Primary Care Services
      • Spine Care Services
      • Sports Medicine Services
      • Transplant Services
      • Women's Health Services
      • See all Services
    • Services by Region
      • Find Care in Western Pa
      • Find Care in Central Pa
      • Find Care in North Central Pa
      • Find Care in Western Maryland
    • See All Services
  • Locations
    • Locations by Type
      • Hospitals
      • Walk-In Care
      • Imaging
      • Physical Therapy
      • Outpatient
      • Community Health Centers
      • See All Locations
    • Locations by Region
      • Central Pa.
      • Maryland and West Virginia
      • North Central Pa.
      • Northwest Pa. & Western N.Y.
      • Southwest Pa.
      • West Central Pa.
    • See All Locations
  • Patients & Visitors
    • Patient & Visitor Resources
      • Pay a Bill
      • Classes & Events
      • Health Library
      • International Traveling Patients
      • Medical Records
      • Patient Information
      • Patient Portals
      • Privacy Information
      • Shared Decision Making
      • Visitor Information
      • View All Patients and Visitors Resources
  • I Want To
    • Find Covid-19 updates
    • Schedule an appointment
    • Request medical records
    • Pay a bill
    • Learn about financial assistance
    • Find classes & events
    • Send a patient an eCard
    • Make a donation
    • Volunteer
    • Read HealthBeat blog
    • Explore UPMC Careers
  • Patient Portals
  • Careers
  • Contact Us
  • Newsroom
  • UPMC >
  • Our Services >
  • UPMC Center for Care of Infectious Diseases >
  • Conditions We Treat >
  • Pneumonia

Pneumonia

Pneumonia is a lung infection caused by bacteria, viruses, or fungi. Some pneumonia cases are mild, while others can be severe — or even deadly. Symptoms may include a cough (either dry or productive), fever, chills, and difficulty breathing. You should call your doctor if you have a fever, difficulty breathing, or if any of your symptoms worsen.

Looking for Pneumonia Care?

Related services:
  • Infectious Disease.
  • Primary Care.
  • Pulmonary and Respiratory.
  • Walk-In Care.
Find a Provider

On this page:

  • What Is Pneumonia?
  • What Are the Signs and Symptoms of Pneumonia?
  • How Do You Diagnose Pneumonia?
  • How Do You Treat Pneumonia?

What Is Pneumonia?

Pneumonia is a lung infection caused by bacteria, viruses, or fungi. Before the COVID-19 pandemic, about 1.5 million people received a pneumonia diagnosis in the ER each year, or about two to three out of every 1,000 people.

What are the types of pneumonia?

There are three basic types of pneumonia, based on how someone gets the infection:

  • Community-acquired pneumonia – Occurs when a person becomes infected outside of a health care setting.
  • Health care-acquired pneumonia – Occurs when a person gets infected while in a hospital, nursing home, or other health care setting.
  • Ventilator-acquired pneumonia – Occurs when a person gets the disease while on a machine that helps them breathe.

What causes pneumonia?

An infection causes pneumonia, but there are many possible causes of the illness, including viruses, bacteria, and fungi.

Many viruses can cause pneumonia, but the most common are:

  • Flu.
  • COVID-19.
  • Respiratory syncytial virus (RSV).

Several different types of bacteria can cause pneumonia. The repeated use of antibiotics can lead to the development of certain types of resistant bacterial pneumonia. You should only receive antibiotics if doctors know what bacteria caused your pneumonia.

Some people are at risk for pneumonia due to a fungus, especially if their immune system is weakened. Sometimes, doctors never find out what kind of germ caused a person's pneumonia.

Anyone can develop pneumonia as a complication of an infection.

Back to top

Pneumonia risk factors

About half of all people who get pneumonia are between the ages of 18 and 57. And about half the people who die from bacterial pneumonia are 18 to 64 years old.

People with a higher risk of pneumonia include those who:

  • Are 65 years old or older.
  • Are receiving treatment for cancer.
  • Have a weakened immune system.
  • Have breathed in toxic chemicals recently or frequently over time.
  • Have received an organ transplant.
  • Smoke or spend time around people who smoke.
  • Take medicine that weakens or suppresses their immune system.

People with chronic health conditions also have a higher risk of pneumonia, including:

  • Cancer.
  • Congestive heart failure.
  • Conditions that weaken the immune system.
  • COPD.
  • Diabetes.
  • HIV/AIDS.
  • Sickle cell anemia.

Back to top

Complications of pneumonia

If people with pneumonia don't receive treatment, many will form complications — and some may even die. People who get pneumonia in the hospital often have a higher risk of dying than those who get it in the community.

Pneumonia is also the most common cause of sepsis, a very serious condition that can cause death. Sepsis occurs when the immune system overreacts to an infection.

Even if you receive treatment for pneumonia, some people suffer long-term effects, such as:

  • Feeling tired or unable to exercise as much.
  • Heart disease.
  • Other lung diseases.
  • Poor quality of life.
  • Trouble thinking or concentrating.

Back to top

How can I prevent pneumonia?

The best way to prevent certain types of pneumonia infections is to get the following vaccines:

  • Flu.
  • COVID-19.
  • Pneumococcal.
  • H. influenzae type b (Hib) in children.
  • Measles.
  • Chickenpox.
  • Pertussis or whooping cough.

Other things you can do to reduce your risk of catching pneumonia are to:

  • Avoid people who are sick, especially if you have a weak immune system.
  • Avoid touching your eyes, nose, mouth, or face often.
  • Clean surfaces that people touch often.
  • Maintain your home's air conditioners, humidifiers, fountains, or water pipes.
  • Quit smoking or stay away from people who smoke.
  • Wash your hands routinely.

Follow your doctor's instructions for managing asthma, diabetes, and heart disease (if you have any of these).

How common is pneumonia?

Pneumonia is the eighth most common cause of death in the U.S., claiming the lives of about 50,000 people each year. During very bad flu seasons, deaths from pneumonia are much higher. Pneumonia is also the most common cause of hospitalization in the U.S., after giving birth.

Back to top

What Are the Signs and Symptoms of Pneumonia?

Symptoms of pneumonia include:

  • Chest pain or tightness.
  • Cough.
  • Fever or chills.
  • Muscle aches.
  • Not feeling hungry.
  • Rapid breathing or trouble breathing.
  • Rapid heartbeat.
  • Shortness of breath.
  • Sputum (mucus) production.

When should I see a doctor about my pneumonia symptoms?

If you have a fever, contact your doctor to determine if an appointment is necessary. If you have several pneumonia symptoms, you should go to an ER or urgent care as soon as possible.

Back to top

How Do You Diagnose Pneumonia?

To diagnose pneumonia, your doctor will:

  • Ask you about your symptoms.
  • Do a physical exam.
  • Listen to your chest while you take deep breaths to see if there's fluid or inflammation in your lungs.
  • Listen to your heart.

Your doctor will also do some tests. The most helpful is an x-ray of your chest. If your chest x-ray shows swelling or fluid in your lungs, that may mean you have pneumonia.

Other tests to help diagnose pneumonia include:

  • Blood tests.
  • COVID-19 test.
  • Cultures of your sputum.
  • Flu test.

Back to top

How Do You Treat Pneumonia?

The best things you can do when you have pneumonia are to:

  • Drink lots of fluids.
  • Follow your doctor's treatment plan.
  • Get plenty of rest.

Doctors at UPMC use the most recent treatment guidelines for pneumonia. The goal of treatment is to cure the infection or treat the symptoms until the infection goes away on its own. Treatment often depends on the cause.

Antibiotics can treat pneumonia caused by bacteria, but will not help pneumonia caused by a virus. If a viral or fungal infection is the cause, some antiviral medications or treatments may help in some instances. You may also receive drugs to reduce a fever or treat other symptoms, such as coughing.

Hospitalization for pneumonia

If you have severe pneumonia, you may need treatment in the hospital, which allows your doctors to watch you closely and give you:

  • Breathing treatments.
  • Certain drugs.
  • IV fluids, if needed.

Some people with pneumonia only need to stay in the hospital for a few days. Others may need to stay for a few weeks.

Pneumonia recovery

When you go home from the hospital after pneumonia, you may still need time to heal.

The following can help you feel better faster:

  • Avoid people who are coughing or sneezing or who look sick.
  • Drink lots of water or other fluids.
  • Get plenty of rest.
  • Stop exercising if you get exhausted or start coughing.

Contact your doctor if you develop a fever or other symptoms that worsen.

Back to top

  • NHLBI, NIH, Pneumonia.

By UPMC Editorial Team. Reviewed on 2026-02-17.

2026-02-17
2026-03-16
Pneumonia
Pneumonia is a lung infection caused by bacteria, fungi, or viruses. Cases of pneumonia can range from mild to severe and life-threatening.
UPMC
200 Lothrop Street Pittsburgh, PA 15213

412-647-8762 800-533-8762

Patients And Visitors
  • Find a Doctor
  • Locations
  • Pay a Bill
  • Patient & Visitor Resources
  • Disabilities Resource Center
  • Services
  • Medical Records
  • No Surprises Act
  • Price Transparency
  • Financial Assistance
  • Classes & Events
  • Health Library
Health Care Professionals
  • Physician Information
  • Resources
  • Education & Training
  • Departments
  • Credentialing
Newsroom
  • Newsroom Home
  • Inside Life Changing Medicine Blog
  • News Releases
About
  • Why UPMC
  • Facts & Stats
  • Supply Chain Management
  • Community Commitment
  • Financials
  • Supporting UPMC
  • HealthBeat Blog
  • UPMC Apps
  • UPMC Enterprises
  • UPMC Health Plan
  • UPMC International
  • Nondiscrimination Policy
Life changing is...
Follow UPMC
  • Contact Us
  • Website/Email Terms of Use
  • Medical Advice Disclaimer
  • Privacy Information
  • Active Privacy Alerts
  • Sitemap
© 2026 UPMC I Affiliated with the University of Pittsburgh Schools of the Health Sciences Supplemental content provided by WebMD Ignite. To learn more, visit webmdignite.com.
Find Care
Providers
Video Visit
Portal Login

Chat Keywords List

  • cancel or exit: Stops your conversation
  • start over: Restarts your current scenario
  • help: Shows what this bot can do
  • terms: Shows terms of use and privacy statement
  • feedback: Give us feedback
Continue
Chat with UPMC
RESTART
MENU
CLOSE