Top of the page
Pneumonia is a lung infection that can make you very sick. You may cough, have a fever, and have trouble breathing. It often clears up in a few weeks with treatment. It can usually be treated at home. But some people, like older adults and babies, may need to go to the hospital.
Germs called bacteria or viruses usually cause pneumonia. Pneumonia usually starts when you breathe the germs into your lungs. You may be more likely to get it after having a cold or influenza (flu). Having a chronic disease like asthma, COPD, heart disease, cancer, or diabetes also makes you more likely to get pneumonia.
Symptoms of pneumonia may include a cough, a fever, shortness of breath, or the chills. You may feel very tired or very weak. Or you may have chest pain that often feels worse when you cough or breathe in.
Your doctor will ask you about your symptoms and do a physical examination. Your doctor may order a chest X-ray and blood tests. This is usually enough for your doctor to know if you have pneumonia. You may need more tests if your symptoms are bad or you have other health problems.
Pneumonia that is caused by bacteria is treated with antibiotics. You may need to go to the hospital if your symptoms are bad or you have a weak immune system. If pneumonia is caused by a virus, antibiotics don't help. But you may get an antiviral medicine.
Germs called bacteria or viruses usually cause pneumonia.
You may get pneumonia:
A healthy person's nose and throat often contain bacteria or viruses that cause pneumonia. Pneumonia can develop when these organisms spread to your lungs at times when your lungs are more likely to be infected. For example, this can happen during or soon after you have a cold. Or it can happen if you have a long-term (chronic) illness, like COPD, asthma, heart disease, cancer, or diabetes.
You are more likely to get pneumonia if you:
You are more likely to have complications of pneumonia and need to go to the hospital if you:
Getting the pneumococcal and influenza (flu) vaccines can help. You can also lower your chances of getting pneumonia by staying away from people who have a cold, measles, or the flu. You may get pneumonia after having one of these illnesses. Wash your hands often to prevent spreading viruses and bacteria that may cause pneumonia.
Symptoms of pneumonia may include:
Older adults may have different, fewer, or milder symptoms. They may not have a fever. Or they may have a cough but not bring up mucus. The main sign of pneumonia in older adults may be a change in how well they think (confusion or delirium). Or, if they already have a lung disease, that disease may get worse.
Symptoms caused by viruses are the same as those caused by bacteria.
After you've been infected with pneumonia, symptoms usually develop within a few days to sometimes over a week. The infection can grow in the lungs and cause shortness of breath, cough, and fever.
How severe pneumonia is and how long it lasts depends on many factors. These include your age, the type of pneumonia (bacterial or viral), and your overall health.
In healthy people, pneumonia can be a mild illness that is hardly noticed and clears up in 2 to 3 weeks. In older adults and in people with other health problems, recovery may take 6 to 8 weeks or longer.
If you have severe pneumonia, you may have to go to the hospital.
Call 911 or other emergency services immediately if you:
Call a doctor now if you have:
Call a doctor if your cough:
Also call your doctor if you have new chest pain (more than just discomfort when you cough) that gets worse with deep breathing and if you have other symptoms of pneumonia, such as shortness of breath, cough, and fever.
Watchful waiting is a wait-and-see approach. If you get better on your own, you won't need treatment. If you get worse, you and your doctor will decide what to do next.
Home treatment may be okay if:
Your doctor will ask you about your symptoms and do a physical examination. Your doctor may order a chest X-ray and a blood test called a complete blood count (CBC). This is usually enough for your doctor to know if you have pneumonia. You may need more tests if your symptoms are bad, you are an older adult, or you have other health problems. In general, the sicker you are, the more tests you may need.
Your doctor may also test mucus from your lungs to find out if bacteria are causing your pneumonia. Finding out what is causing your pneumonia can help your doctor choose the best treatment for you.
If pneumonia is caused by bacteria, your doctor will give you antibiotics. They almost always cure pneumonia caused by bacteria. Be sure to take the antibiotics exactly as instructed. Don't stop taking them just because you feel better. You need to take the full course of antibiotics.
There are things you can do to feel better during your treatment. Get plenty of rest and sleep, and drink lots of liquids. Don't smoke. If your cough keeps you awake at night, talk to your doctor about using cough medicine.
You may need to go to the hospital if your symptoms are bad, you have a weak immune system, or you have another serious illness.
If pneumonia is caused by a virus, antibiotics don't help. But you may get an antiviral medicine.
Sometimes you may need oxygen or medicines you breathe using an inhaler or nebulizer to help shortness of breath and wheezing symptoms.
Home treatment is important for recovery from pneumonia. The following measures can help you recover and avoid complications.
This helps prevent dehydration.
A cough is one way your body gets rid of the infection. And you should not try to stop your coughing unless it is severe enough to make breathing difficult, cause vomiting, or prevent rest.
These medicines can help reduce fever and make you feel more comfortable. Do not give aspirin to anyone younger than 18 because of the risk of Reye syndrome. Be safe with medicines. Read and follow all instructions on the label.
Check the label before you give cough and cold medicines to a child. Don't give cough or cold medicines to children under 6 years of age. For children older than 6, always follow all the instructions carefully, which includes how much medicine to give and how long it can be used. Be sure to use the dosing device if one is included.
Always check to see if any over-the-counter cough or cold medicines you are taking contain acetaminophen. If they do, make sure the acetaminophen you are taking in your cold medicine plus any other acetaminophen you may be taking is not higher than the daily recommended dose. Ask your doctor or pharmacist how much you can take every day.
Your doctor may want to see you after a week of treatment to make sure you are getting better.
If your pneumonia is caused by a virus or bacteria, you may spread the infection to other people while you are contagious. When you cough or sneeze, pneumonia is spread to others through infected air particles. How long you are contagious depends on what is causing the pneumonia and whether you get treatment. You may be contagious for several days to a week.
If you get antibiotics, you usually can't spread the infection to others after a day of treatment.
Current as of: July 1, 2021
Author: Healthwise StaffMedical Review: E. Gregory Thompson MD - Internal MedicineJohn Pope MD - PediatricsAdam Husney MD - Family MedicineR. Steven Tharratt MD, MPVM, FACP, FCCP - Pulmonology, Critical Care Medicine, Medical Toxicology
Current as of: July 1, 2021
Author: Healthwise Staff
Medical Review:E. Gregory Thompson MD - Internal Medicine & John Pope MD - Pediatrics & Adam Husney MD - Family Medicine & R. Steven Tharratt MD, MPVM, FACP, FCCP - Pulmonology, Critical Care Medicine, Medical Toxicology
To learn more about Healthwise, visit Healthwise.org.
© 1995-2021 Healthwise, Incorporated. Healthwise, Healthwise for every health decision, and the Healthwise logo are trademarks of Healthwise, Incorporated.