Learn More
See, Play and Learn
- No links available
Resources
For You
Summary
What is pneumonia?
Pneumonia is an infection in one or both of your lungs. It causes the air sacs of your lungs to fill up with fluid or pus. Pneumonia can range from mild to severe, depending on what caused it, your age, and your overall health.
What causes pneumonia?
Bacterial, viral, and fungal infections can cause pneumonia.
Bacteria are the most common cause. Bacterial pneumonia can occur on its own. It can also develop after you've had certain viral infections such as a cold or the flu. Several different types of bacteria can cause pneumonia, including:
- Streptococcus pneumoniae
- Legionella pneumophila; this type of pneumonia is often called Legionnaires' disease
- Mycoplasma pneumoniae
- Chlamydia pneumoniae
- Haemophilus influenzae type b (Hib)
Viruses that infect the respiratory tract may cause pneumonia. Viral pneumonia is often mild and goes away on its own within a few weeks. But sometimes it is serious enough that you need to get treatment in a hospital. If you have viral pneumonia, you are at risk of also getting bacterial pneumonia. The different viruses that can cause pneumonia include:
- Respiratory syncytial virus (RSV)
- Some common cold and flu viruses
- SARS-CoV-2, the virus that causes COVID-19
Fungal pneumonia is more common in people who have chronic health problems or weakened immune systems. Some of the types include:
- Pneumocystis pneumonia (PCP)
- Valley fever (Coccidioidomycosis)
- Histoplasmosis
- Cryptococcal pneumonia
Aspiration can also cause pneumonia. It can happen when you aspirate (accidentally breathe in) food or fluid into the lungs. If you are not able to cough out the food or fluid, it may cause an infection.
Who is more likely to develop pneumonia?
Anyone can develop pneumonia, but certain factors can increase your risk:
- Age; the risk is higher for children who are age 2 and under and adults age 65 and older.
- Exposure to certain chemicals, pollutants, or toxic fumes.
- Lifestyle habits, such as smoking, heavy alcohol use, and malnourishment.
- Being in a hospital, especially if you are in the ICU. Being sedated and/or on a ventilator raises the risk even more.
- Having a lung disease.
- Having a weakened immune system.
- Have trouble coughing or swallowing, from a stroke or other condition.
- Recently having been sick with a cold or the flu.
- Other chronic (long-lasting) health conditions, including diabetes, heart failure, sickle cell disease, liver disease, and kidney disease.
What are the symptoms of pneumonia?
The symptoms of pneumonia can range from mild to severe and include:
- Fever
- Chills
- Cough, usually with phlegm (a type of thick mucus made in your lungs)
- Shortness of breath
- Chest pain when you breathe or cough
- Nausea and/or vomiting
- Diarrhea
The symptoms can vary for different groups. Newborns and infants may not show any signs of the infection. Others may vomit and have a fever and cough. They might seem sick, with no energy, or be restless.
Older adults and people who have serious illnesses or weak immune systems may have fewer and milder symptoms. They may even have a lower-than-normal temperature. Older adults who have pneumonia sometimes may feel weak or suddenly get confused.
What other problems can pneumonia cause?
Sometimes pneumonia can cause serious complications such as:
- Bacteremia, which happens when the bacteria move into the bloodstream. It is serious and can lead to septic shock.
- Lung abscesses, which are collections of pus in cavities of the lungs.
- Pleural disorders, which are conditions that affect the pleura. The pleura is the tissue that covers the outside of the lungs and lines the inside of your chest cavity.
- Kidney failure.
- Respiratory failure.
How is pneumonia diagnosed?
Sometimes pneumonia can be hard to diagnose. This is because it can cause some of the same symptoms as a cold or the flu. It may take time for you to realize that you have a more serious condition.
To find out if you have pneumonia, your health care provider:
- Will take your medical history, which includes asking about your symptoms
- Will do a physical exam, which includes listening to your lungs with a stethoscope
- May order various tests, such as:
- A chest x-ray
- Blood tests such as a complete blood count (CBC) to see if your immune system is actively fighting an infection
- A blood culture to find out whether you have a bacterial infection that has spread to your bloodstream
If you are in the hospital, have serious symptoms, are older, or have other health problems, you may also have more tests, such as:
- Sputum test, which checks for bacteria in a sample of your sputum (mucus that is brought up from the lungs by coughing).
- Chest CT scan to see how much of your lungs are affected. It may also show if you have complications such as lung abscesses or pleural effusions (a buildup of fluid in the pleural space).
- Pleural fluid culture, which checks for bacteria in a fluid sample that was taken from the pleural space.
- Pulse oximetry or blood oxygen level test, to check how much oxygen is in your blood.
- Bronchoscopy, a procedure used to look inside your lungs' airways.
What are the treatments for pneumonia?
Treatment for pneumonia depends on the type of pneumonia, which germ is causing it, and how severe it is:
- Antibiotics treat bacterial pneumonia and some types of fungal pneumonia. They do not work for viral pneumonia.
- In some cases, your provider may prescribe antiviral medicines for viral pneumonia.
- Antifungal medicines treat other types of fungal pneumonia.
You may need to be treated in a hospital if your symptoms are severe or if you are at risk for complications. While there, you may get additional treatments. For example, if your blood oxygen level is low, you may receive oxygen therapy.
It may take time to recover from pneumonia. Some people feel better within a week. For other people, it can take a month or more.
Can pneumonia be prevented?
Vaccines can help prevent pneumonia caused by pneumococcal bacteria or the flu virus. Washing your hands often, not smoking, and having a healthy lifestyle may also help prevent pneumonia.
NIH: National Heart, Lung, and Blood Institute
Symptoms
- Pneumonia Symptoms and Diagnosis (American Lung Association)
Diagnosis and Tests
- Chest X-Ray (Radiography) (American College of Radiology; Radiological Society of North America) Also in Spanish
- Sputum Culture (National Library of Medicine) Also in Spanish
Prevention and Risk Factors
- Pneumonia Prevention and Control (Centers for Disease Control and Prevention) Also in Spanish
Related Issues
- Cough Culprits: What's the Difference Between Bronchitis and Pneumonia? (National Institutes of Health) Also in Spanish
- Current Vaccine Shortages and Delays (Centers for Disease Control and Prevention)
- Petroleum Jelly: Safe for a Dry Nose? (Mayo Foundation for Medical Education and Research)
Specifics
- About Adenovirus (Centers for Disease Control and Prevention)
- About Mycoplasma pneumoniae Infection (Centers for Disease Control and Prevention)
- Pneumococcal Infections: MedlinePlus Health Topic (National Library of Medicine) Also in Spanish
- Pneumocystis Infections: MedlinePlus Health Topic (National Library of Medicine) Also in Spanish
- Pneumonia in People with a Weakened Immune System (Merck & Co., Inc.) Also in Spanish
- Ventilator-associated Pneumonia Basics (Centers for Disease Control and Prevention)
- Walking Pneumonia: What Does It Mean? (Mayo Foundation for Medical Education and Research) Also in Spanish
Statistics and Research
- FastStats: Pneumonia (National Center for Health Statistics)
Clinical Trials
- ClinicalTrials.gov: Pneumonia (National Institutes of Health)
Journal Articles References and abstracts from MEDLINE/PubMed (National Library of Medicine)
- Article: Risk factors for relapse of immune-related pneumonitis after 6-week oral prednisolone...
- Article: Impact of high-protein enteral nutrition on muscle preservation in mechanically ventilated...
- Article: Effects of N-Acetylcysteine combined with Ambroxol Hydrochloride on clinical symptoms, CRP,...
- Pneumonia -- see more articles
Reference Desk
- How the Lungs Work (National Heart, Lung, and Blood Institute) Also in Spanish
Children
- Chlamydia Pneumoniae Infections (American Academy of Pediatrics) Also in Spanish
- Mycoplasma pneumoniae Infections (American Academy of Pediatrics) Also in Spanish
- Pneumonia (For Parents) (Nemours Foundation) Also in Spanish
Patient Handouts
- Aspiration pneumonia (Medical Encyclopedia) Also in Spanish
- Atypical pneumonia (Medical Encyclopedia) Also in Spanish
- Community-acquired pneumonia in adults (Medical Encyclopedia) Also in Spanish
- Hospital-acquired pneumonia (Medical Encyclopedia) Also in Spanish
- Mycoplasma pneumonia (Medical Encyclopedia) Also in Spanish
- Pneumonia in adults - discharge (Medical Encyclopedia) Also in Spanish
- Pneumonia in children - community acquired (Medical Encyclopedia) Also in Spanish
- Pneumonia in children - discharge (Medical Encyclopedia) Also in Spanish
- Viral pneumonia (Medical Encyclopedia) Also in Spanish