Our Health Library information does not replace the advice of a doctor. Please be advised that this information is made available to assist our patients to learn more about their health. Our providers may not see and/or treat all topics found herein. 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 the 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 exam. 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. Rest, fluids, and medicines to reduce fever can help you feel better. If your symptoms are bad or you have a weak immune system, you may need hospital care. If pneumonia is caused by a virus, antibiotics don't help. 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: To help prevent pneumonia, get the recommended pneumococcal vaccines and a yearly flu vaccine. And stay up to date on your COVID-19 vaccines. Wash your hands often to prevent spreading viruses and bacteria that may cause pneumonia. Taking care of your teeth and gums may help prevent some types of 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 exam. 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. (If pneumonia is caused by a virus, antibiotics don't help.) There are things you can do to feel better during your treatment. Get plenty of rest and sleep, and drink lots of liquids. Taking medicine to reduce fever can also help. 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. In some cases, you may need oxygen or medicines you breathe using an inhaler or nebulizer to help shortness of breath and wheezing. 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 20 because of the risk of Reye syndrome. Be safe with medicines. Read and follow all instructions on the label. They may not be safe for young children or for people who have certain health problems, so check the label first. If you do use these medicines, always follow the directions about how much to use based on age and weight. 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: April 30, 2024 Author: Ignite Healthwise, LLC Staff Current as of: April 30, 2024 Author: Ignite Healthwise, LLC Staff Clinical Review Board This information does not replace the advice of a doctor. Ignite Healthwise, LLC disclaims any warranty or liability for your use of this information. Your use of this information means that you agree to the Terms of Use and Privacy Policy. Learn how we develop our content. To learn more about Ignite Healthwise, LLC, visit webmdignite.com. © 2024 Ignite Healthwise, LLC. Healthwise, Healthwise for every health decision, and the Healthwise logo are trademarks of Ignite Healthwise, LLC.Pneumonia
Condition Basics
What is pneumonia?
What causes it?
What are the symptoms?
How is it diagnosed?
How is pneumonia treated?
Cause
What Increases Your Risk
Prevention
Learn more
Symptoms
What Happens
When to Call a Doctor
Watchful waiting
Exams and Tests
Learn more
Treatment Overview
Learn more
Self-Care
Avoid infecting others
Learn more
Related Information
Credits
Clinical Review Board
All Healthwise education is reviewed by a team that includes physicians, nurses, advanced practitioners, registered dieticians, and other healthcare professionals.
All Healthwise education is reviewed by a team that includes physicians, nurses, advanced practitioners, registered dieticians, and other healthcare professionals.
Our Health Library information does not replace the advice of a doctor. Please be advised that this information is made available to assist our patients to learn more about their health. Our providers may not see and/or treat all topics found herein. Current as of: April 30, 2024 Author: Ignite Healthwise, LLC Staff Clinical Review BoardPneumonia
All Healthwise education is reviewed by a team that includes physicians, nurses, advanced practitioners, registered dieticians, and other healthcare professionals.