- Acute Flaccid Myelitis
- Alzheimer’s Disease
- Arteriovenous Malformations
- Attention Deficit Hyperactivity Disorder
- Back Pain
- Brain Aneurysm
- Brain Tumors
- Carpal Tunnel Syndrome
- Childhood Brain Tumors
- Delirium
- Dementia
- Hemorrhagic Stroke
- Ischemic Stroke
- Memory
- Meningitis
- Mild Cognitive Impairment
- Movement Disorders
- Multiple Sclerosis
- Neuroblastoma
- Neuromuscular Disorders
- Parkinson’s Disease
- Polio and Post-Polio Syndrome
- Speech and Language Problems in Children
- Stroke
- Transient Ischemic Attack
- Tremor
- Walking Problems
- West Nile Virus
- A1C
- Blood Glucose
- Diabetes
- Diabetes and Pregnancy
- Diabetes Complications
- Diabetes in Children and Teens
- Diabetes Medicines
- Diabetes Type 1
- Diabetes Type 2
- Diabetic Diet
- Diabetic Eye Problems
- Diabetic Foot
- Diabetic Heart Disease
- Diabetic Kidney Problems
- Diabetic Nerve Problems
- How to Prevent Diabetes
- Hyperglycemia
- Metabolic Syndrome
- Prediabetes
- Abortion
- Breast Cancer
- Breast Diseases
- Breast Reconstruction
- Breastfeeding
- Cervical Cancer
- Cervical Cancer Screening
- Cesarean Delivery
- Childbirth
- Ectopic Pregnancy
- Endometriosis
- Female Infertility
- Health Problems in Pregnancy
- High Blood Pressure in Pregnancy
- HIV and Pregnancy
- Hormone Replacement Therapy
- HPV
- Hysterectomy
- Infections and Pregnancy
- Mammography
- Mastectomy
- Menopause
- Menstruation
- Miscarriage
- Ovarian Cancer
- Ovarian Cysts
- Ovarian Disorders
- Pelvic Floor Disorders
- Pelvic Inflammatory Disease
- Pelvic Pain
- Period Pain
- Polycystic Ovary Syndrome
- Pregnancy
- Pregnancy and Drug Use
- Pregnancy and Opioids
- Premenstrual Syndrome
- Prenatal Care
- Prenatal Testing
- Primary Ovarian Insufficiency
- Sexual Problems in Women
- Stillbirth
- Teenage Pregnancy
- Trichomoniasis
- Tubal Ligation
- Uterine Cancer
- Uterine Diseases
- Uterine Fibroids
- Vaginal Bleeding
- Vaginal Cancer
- Vaginal Diseases
- Vaginitis
- Vulvar Cancer
- Vulvar Disorders
- Yeast Infections
- Alcohol
- Calcium
- Child Nutrition
- Cholesterol
- Cholesterol Levels: What You Need to Know
- Cholesterol Medicines
- DASH Eating Plan
- Eating Disorders
- Food Allergy
- HDL: The “Good” Cholesterol
- High Cholesterol in Children and Teens
- How to Lower Cholesterol
- How to Lower Cholesterol with Diet
- Infant and Newborn Nutrition
- LDL: The “Bad” Cholesterol
- Malabsorption Syndromes
- Nutrition for Older Adults
- Pregnancy and Nutrition
- Toddler Nutrition
- Triglycerides
- VLDL Cholesterol
- Alpha-1 Antitrypsin Deficiency
- Ataxia Telangiectasia
- Brain Malformations
- Cerebral Palsy
- Charcot-Marie-Tooth Disease
- Chiari Malformation
- Cleft Lip and Palate
- Color Blindness
- Congenital Heart Defects
- Craniofacial Abnormalities
- Cystic Fibrosis
- Ehlers-Danlos Syndrome
- Fetal Alcohol Spectrum Disorders
- Friedreich Ataxia
- Genetic Counseling
- Hemophilia
- Huntington’s Disease
- Hydrocephalus
- Muscular Dystrophy
- Neural Tube Defects
- Neurofibromatosis
- Newborn Screening
- Osteogenesis Imperfecta
- Prader-Willi Syndrome
- Pregnancy and Medicines
- Rett Syndrome
- Sickle Cell Disease
- Spina Bifida
- Spinal Muscular Atrophy
- Tay-Sachs Disease
- Tourette Syndrome
- Tuberous Sclerosis
- Usher Syndrome
- Acute Lymphocytic Leukemia
- Allergy
- Animal Bites
- Ankylosing Spondylitis
- Aplastic Anemia
- Asthma
- Asthma in Children
- Childhood Leukemia
- Childhood Vaccines
- Chronic Lymphocytic Leukemia
- COVID-19 Vaccines
- Cryptosporidiosis
- Eosinophilic Disorders
- Eosinophilic Esophagitis
- Giant Cell Arteritis
- Hay Fever
- HIV
- HIV and Infections
- HIV in Women
- Hodgkin Lymphoma
- Infectious Diseases
- Infectious Mononucleosis
- Juvenile Arthritis
- Kawasaki Disease
- Lymphedema
- Lymphoma
- Multiple Myeloma
- Pemphigus
- Pneumocystis Infections
- Rheumatoid Arthritis
- Scleroderma
- Sjogren’s Syndrome
- Tonsillitis
- Vaccines
- Viral Infections
- Adhesions
- Ankle Injuries and Disorders
- Arm Injuries and Disorders
- Back Injuries
- Brachial Plexus Injuries
- Burns
- Chest Injuries and Disorders
- Concussion
- CPR
- Dislocated Shoulder
- Dislocations
- Elbow Injuries and Disorders
- Eye Injuries
- Facial Injuries and Disorders
- Finger Injuries and Disorders
- Foot Injuries and Disorders
- Fractures
- Hand Injuries and Disorders
- Heel Injuries and Disorders
- Hip Injuries and Disorders
- Inhalation Injuries
- Insect Bites and Stings
- Jaw Injuries and Disorders
- Knee Injuries and Disorders
- Leg Injuries and Disorders
- Mosquito Bites
- Neck Injuries and Disorders
- Rotator Cuff Injuries
- Shoulder Injuries and Disorders
- Spinal Cord Injuries
- Sprains and Strains
- Tick Bites
- Toe Injuries and Disorders
- Traumatic Brain Injury
- Wrist Injuries and Disorders
- Acute Bronchitis
- Bird Flu
- Chronic Bronchitis
- COPD
- COVID-19 (Coronavirus Disease 2019)
- Croup
- E-Cigarettes
- Fistulas
- Flu
- Granulomatosis with Polyangiitis
- H1N1 Flu (Swine Flu)
- Legionnaires’ Disease
- Lung Cancer
- Mesothelioma
- Pneumonia
- Pulmonary Hypertension
- Respiratory Syncytial Virus Infections
- Sleep Apnea
- Smoking
- Tuberculosis
- Whooping Cough
- Anatomy
- Assisted Reproductive Technology
- Birth Control
- Chlamydia Infections
- Circumcision
- Erectile Dysfunction
- Genital Herpes
- Genital Warts
- Gonorrhea
- Herpes Simplex
- Infertility
- Male Infertility
- Penis Disorders
- Prostate Cancer
- Prostate Cancer Screening
- Prostate Diseases
- Reproductive Hazards
- Sexual Health
- Sexual Problems in Men
- Sexually Transmitted Diseases
- Syphilis
- Testicular Cancer
- Testicular Disorders
- Vasectomy
- Abdominal Pain
- Bad Breath
- Bleeding
- Breathing Problems
- Bruises
- Chest Pain
- Choking
- Chronic Pain
- Constipation
- Cough
- Diarrhea
- Dizziness and Vertigo
- Edema
- Fainting
- Fever
- Frostbite
- Gas
- Gastrointestinal Bleeding
- Headache
- Heartburn
- Heat Illness
- Hives
- Hypothermia
- Indigestion
- Itching
- Jaundice
- Nausea and Vomiting
- Pain
- Rare Diseases
- Raynaud’s Disease
- Sciatica
- Speech and Communication Disorders
- Stuttering
Pneumonia
Summary
What is pneumonia?
Pneumonia is an infection in one or both of the lungs. It causes the air sacs of the lungs to fill up with fluid or pus. It can range from mild to severe, depending on the type of germ causing the infection, 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 pneumonia is often called Legionnaires’ disease
- Mycoplasma pneumoniae
- Chlamydia pneumoniae
- Haemophilus influenzae
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)
- Coccidioidomycosis, which causes valley fever
- Histoplasmosis
- Cryptococcus
Who is at risk for pneumonia?
Anyone can get 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 being sick with a cold or the flu
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 slimy substance from deep 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 have sudden changes in mental awareness.
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.
Your health care provider may use many tools to make a diagnosis:
- A medical history, which includes asking about your symptoms
- A physical exam, including listening to your lungs with a stethoscope
- 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 (spit) or phlegm (slimy substance from deep in your lungs).
- Chest CT scan to see how much of your lungs is affected. It may also show if you have complications such as lung abscesses or pleural effusions.
- 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. Having good hygiene, not smoking, and having a healthy lifestyle may also help prevent pneumonia.
NIH: National Heart, Lung, and Blood Institute
National Heart, Lung, and Blood Institute
NIH MedlinePlus Magazine
Specifics
- Adenoviruses Centers for Disease Control and Prevention
- Frequently Asked Questions about Ventilator-Associated Pneumonia Centers for Disease Control and Prevention
- Pneumococcal Infections: MedlinePlus Health Topic National Library of Medicine
- Pneumocystis Infections: MedlinePlus Health Topic National Library of Medicine
- Pneumonia in Immunocompromised People Merck & Co., Inc.
- Walking Pneumonia: What Does It Mean? Mayo Foundation for Medical Education and Research
Find an Expert
- American Lung Association American Lung Association
- National Heart, Lung, and Blood Institute National Heart, Lung, and Blood Institute
- National Institute of Allergy and Infectious Diseases National Institute of Allergy and Infectious Diseases
Patient Handouts
- Aspiration pneumonia Medical Encyclopedia
- Atypical pneumonia Medical Encyclopedia
- Community-acquired pneumonia in adults Medical Encyclopedia
- Hospital-acquired pneumonia Medical Encyclopedia
- Mycoplasma pneumonia Medical Encyclopedia
- Pneumonia in adults – discharge Medical Encyclopedia
- Pneumonia in children – community acquired Medical Encyclopedia
- Pneumonia in children – discharge Medical Encyclopedia
- Viral pneumonia Medical Encyclopedia
Encyclopedia
- Chest CT Medical Encyclopedia
- Chest x-ray Medical Encyclopedia
- CMV pneumonia Medical Encyclopedia
- Lung needle biopsy Medical Encyclopedia
- Parapneumonic pleural effusion Medical Encyclopedia
- Pleural fluid culture Medical Encyclopedia
- Pneumonia – weakened immune system Medical Encyclopedia
- Routine sputum culture Medical Encyclopedia
- Sputum direct fluorescent antibody (DFA) test Medical Encyclopedia
- Sputum Gram stain Medical Encyclopedia
Diagnosis and Tests
- Chest X-Ray (Chest Radiography) Radiological Society of North America
- Sputum Culture National Library of Medicine
Children
- Chlamydia Pneumoniae Infections American Academy of Pediatrics
- Mycoplasma pneumoniae Infections American Academy of Pediatrics
- Pneumonia (For Parents) Nemours Foundation
Clinical Trials
- ClinicalTrials.gov: Pneumonia National Institutes of Health
Related Issues
- Cough Culprits: What’s the Difference Between Bronchitis and Pneumonia? National Institutes of Health
- 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
Statistics and Research
- FastStats: Pneumonia National Center for Health Statistics
Reference Desk
- How the Lungs Work National Heart, Lung, and Blood Institute
Start Here
- Learn about Pneumonia American Lung Association
- Pneumonia American Academy of Family Physicians
- What Is Pneumonia? National Heart, Lung, and Blood Institute
Teenagers
- Pneumonia Nemours Foundation
Prevention and Risk Factors
- Pneumonia Can Be Prevented — Vaccines Can Help Centers for Disease Control and Prevention
- Top 9 Ways to Reduce the Risk of Pneumonia If You or a Loved One Is Hospitalized Association for Professionals in Infection Control and Epidemiology
Symptoms
- Pneumonia Symptoms and Diagnosis American Lung Association