Pneumonia is an infection that affects one or both lungs. It causes the air sacs, or alveoli, of the lungs to fill up with fluid or pus. Bacteria, viruses, or fungi may cause pneumonia. Symptoms can range from mild to serious and may include a cough with or without mucus (a slimy substance), fever, chills, and trouble breathing. How serious your pneumonia is depends on your age, your overall health, and what caused your infection.
Influenza/pneumonia mortality is one of the leading causes of death in the United States and shows persistent racial disparities in the biggest cities disproportionately affect people of color.
The symptoms of pneumonia can be mild or serious. Young children, older adults, and people who have serious health conditions are at risk for developing more serious pneumonia or life-threatening complications.
The symptoms of pneumonia may include:
You may also have other symptoms, including a headache, muscle pain, extreme tiredness, nausea (feeling sick to your stomach), vomiting, and diarrhea.
Older adults and people who have serious illnesses or weakened immune systems may not have the typical symptoms. They may have a lower-than-normal temperature instead of a fever. Older adults who have pneumonia may feel weak or suddenly confused.
Sometimes babies don’t have typical symptoms either. They may vomit, have a fever, cough, or appear restless or tired and without energy. Babies may also show the following signs of breathing problems:
Your healthcare provider will diagnose pneumonia based on your medical history, a physical exam, and test results. Sometimes pneumonia is hard to diagnose because your symptoms may be the same as a cold or flu. You may not realize that your condition is more serious until it lasts longer than these other conditions.
Your provider will ask about your symptoms and when they began. They will also ask whether you have any risk factors for pneumonia. You may also be asked about:
During your physical exam, your provider will check your temperature and listen to your lungs with a stethoscope.
If your provider thinks you have pneumonia, he or she may do one or more of the following tests:
If you are in the hospital, have serious symptoms, are older, or have other health problems, your provider may do other tests to diagnose pneumonia:
Most of the time your body filters germs out of the air that you breathe. Sometimes germs, such as bacteria, viruses, or fungi, get into your lungs and cause infections.
When these germs get into your lungs, your immune system, which is your body’s natural defense against germs, goes into action. Immune cells attack the germs and may cause inflammation of your air sacs, or alveoli. Inflammation can cause your air sacs to fill up with fluid and pus and cause pneumonia symptoms.
Bacteria are a common cause of pneumonia in adults. Many types of bacteria can cause pneumonia, but Streptococcus pneumoniae (also called pneumococcus bacteria) is the most common cause in the United States.
Some bacteria cause pneumonia with different symptoms or other characteristics than the usual pneumonia. This infection is called atypical pneumonia. For example, Mycoplasma pneumoniae causes a mild form of pneumonia often called “walking pneumonia.” Legionella pneumophila causes a severe type of pneumonia called Legionnaires’ diseaseexternal link. Bacterial pneumonia can develop on its own or after you have a cold or the flu.
Viruses that infect your lungs and airways can cause pneumonia. The flu (influenza virus) and the common cold (rhinovirus) are the most common causes of viral pneumonia in adults. Respiratory syncytial virus (RSV) is the most common cause of viral pneumonia in young children.
Many other viruses can cause pneumonia, including SARS-CoV-2, the virus that causes COVID-19. Our video about how SARS-CoV-2 affects the lungsexternal link talks about this.
Fungi such as Pneumocystis jirovecii may cause pneumonia, especially for people who have weakened immune systems. Some fungi found in the soil in the southwestern United States and in the Ohio and Mississippi River valleys can also cause pneumonia.
Your risk for pneumonia may be higher because of your age, environment, lifestyle habits, and other medical conditions.
Pneumonia can affect people of all ages. However, two age groups are at higher risk of developing pneumonia and having more serious pneumonia:
Babies, children, and older adults who do not get the recommended vaccines to prevent pneumonia have an even higher risk.
Most people get pneumonia when they catch an infection from someone else in their community. Your chance of getting pneumonia is higher if you live or spend a lot of time in a crowded place such as military barracks, prison, homeless shelters, or nursing homes.
Your risk is also higher if you regularly breathe in air pollution or toxic fumes.
Some germs that cause pneumonia can infect birds and other animals. You are most likely to encounter these germs if you work in a chicken or turkey processing center, pet shop, or veterinary clinic.
You may have an increased risk of pneumonia if you have any of the following medical conditions:
Pneumonia can be very serious and even life-threatening. You can take a few steps to try and prevent it.
Vaccines can help prevent some types of pneumonia. Good hygiene (washing your hands often), quitting smoking, and keeping your immune system strong by getting regular physical activity and eating healthy are other ways to lower your risk of getting pneumonia.
Vaccines can help prevent pneumonia caused by pneumococcus bacteria or the flu virus. Vaccines cannot prevent all cases of pneumonia. However, compared to people who don’t get vaccinated, those who are vaccinated and still get pneumonia tend to have:
Two vaccines are available to prevent infections from the pneumococcus bacteria, the most common type of bacteria that causes pneumonia. Pneumococcus vaccines are especially important for people at high risk of pneumonia, including:
For more information, visit the CDC’s Pneumococcal Vaccination and Pneumococcal Vaccination: Summary of Who and When to Vaccinate.
Your yearly flu vaccine can help prevent pneumonia caused by the flu. The flu vaccine is usually given in September through October, before flu season starts.
For more information about the flu vaccine, visit the CDC’s Seasonal Influenza (Flu) Vaccination and Who Needs a Flu Vaccine and When.
Haemophilus influenzae type b (Hib) is a type of bacteria that can cause pneumonia and meningitis. The Hib vaccine is recommended for all children under 5 years old in the United States. The vaccine often is given to infants starting when they are 2 months old.
For more information about the Hib vaccine, go to the CDC’s Hib Vaccination webpage.