What symptoms should make you suspect pneumonia
Pneumonia often starts like a cold or flu, but the symptoms linger and sometimes get worse. The hallmark signs are a persistent cough that lasts more than a week, shortness of breath even when you are resting, and chest pain that worsens when you breathe deeply or cough. You may also run a fever, feel exhausted, or cough up mucus that is yellow, green, or tinged with blood.
Not everyone with pneumonia has all these symptoms. Some people have only a cough and fatigue. Older adults, young children, and people with weakened immune systems may have fewer or milder symptoms, which is why pneumonia can be dangerous even when it does not feel severe. If you have been sick for more than a week and are not improving, or if your symptoms suddenly worsen after you seemed to be getting better, that is a signal to see a doctor.
Key Takeaways
- A cough lasting more than a week, shortness of breath, and chest pain that worsens with breathing are the main signs of pneumonia.
- Fever, fatigue, and mucus that is yellow, green, or bloody can also point to pneumonia, though not everyone has all these symptoms.
- Older adults and young children may have fewer obvious symptoms, making pneumonia harder to spot in these groups.
- A chest X-ray or CT scan is how doctors confirm pneumonia; they cannot diagnose it by listening to your lungs or examining you alone.
- Seek medical attention if a cough lasts longer than a week or if you have trouble breathing, even if your fever is mild or absent.
How doctors test for pneumonia
If you describe symptoms that sound like pneumonia, your doctor will listen to your lungs with a stethoscope and ask about your medical history. However, listening alone cannot confirm pneumonia. Your doctor will order a chest X-ray, which shows whether fluid or infection is present in your lungs. In some cases, a CT scan gives a clearer picture, especially if the X-ray is unclear or if your doctor suspects a complication.
Your doctor may also take a blood test to look for signs of infection or to identify which germ is causing the pneumonia. If you are coughing up mucus, a sample of that mucus can be tested in a lab to pinpoint the exact cause—whether it is a bacterium, virus, or fungus. These tests help your doctor decide whether you need antibiotics or other treatment.
When to go to the emergency room
Some cases of pneumonia are mild and can be treated at home with rest and medication. Other cases are serious and need hospital care. Go to the emergency room or call 911 if you have severe shortness of breath, chest pain that feels crushing or does not go away, confusion or difficulty staying alert, or lips or fingernails that turn blue or gray.
Also seek emergency care if you have a high fever (above 103°F or 39.4°C) that does not come down with fever-reducing medicine, if you are coughing up blood, or if you have pneumonia and are pregnant, over 65, or have a chronic illness like diabetes or heart disease. Infants under 2 months old with any signs of pneumonia should go to the emergency room immediately.
Pneumonia in children looks different
Young children with pneumonia may not cough much or may have a mild cough. Instead, watch for rapid or labored breathing, retractions (when the skin pulls in around the ribs or neck when they breathe), or a bluish tint to the lips or fingernails. A child might also seem unusually tired, refuse to eat, or have a fever that comes and goes.
Infants are especially hard to read. They may simply seem fussy, feed poorly, or have a low energy level. If your child has been sick for more than a few days and is not improving, or if breathing seems difficult, contact your pediatrician or go to urgent care. Pneumonia in young children can worsen quickly, so it is better to have it checked than to wait.
The difference between pneumonia and bronchitis
Both pneumonia and bronchitis cause a persistent cough, so it is easy to confuse them. The key difference is where the infection is. Bronchitis inflames the tubes that carry air to your lungs; you cough but your lungs themselves are not infected. Pneumonia infects the air sacs deep inside your lungs, where oxygen enters your bloodstream. This is why pneumonia causes shortness of breath and chest pain—the infected air sacs cannot do their job.
With bronchitis, you may cough for weeks but your breathing stays relatively normal and you do not feel as exhausted. With pneumonia, you usually feel much sicker and have trouble catching your breath. A chest X-ray is the only way to know for sure which one you have, because both can sound similar when a doctor listens to your lungs.
Risk factors that make pneumonia more likely
Some people are more likely to develop pneumonia after a cold or flu. These include adults over 65, smokers, people with chronic lung disease like asthma or COPD, people with heart disease, and anyone with a weakened immune system (from HIV, cancer treatment, or certain medications). Pregnancy also increases your risk.
If you fall into one of these groups and you get a respiratory infection, pay close attention to how you feel after the first week. Do not assume a lingering cough is normal. Contact your doctor sooner rather than later, because pneumonia in these populations can become serious faster.
What happens after a pneumonia diagnosis
Once your doctor confirms pneumonia on an X-ray, treatment depends on the cause. Bacterial pneumonia is treated with antibiotics; viral pneumonia usually just needs rest and supportive care, though your doctor may prescribe antivirals in some cases. Fungal pneumonia requires antifungal medication and is less common.
Most people recover at home with rest, fluids, and fever-reducing medicine. You will likely feel tired for several weeks even after the infection clears. A follow-up X-ray a few weeks later may be ordered to confirm the pneumonia has resolved, especially if you are over 50 or have other health conditions. If you are not improving after a week of treatment, or if you get worse, contact your doctor immediately—you may need to switch medications or be admitted to the hospital.
Frequently Asked Questions
Can you have pneumonia without a fever?
Yes. Some people, especially older adults and those with weakened immune systems, develop pneumonia without running a fever or with only a low-grade fever. This is one reason why a persistent cough and shortness of breath matter more than temperature alone. If you have these symptoms, see a doctor even if you feel cool to the touch.
How long does pneumonia last?
Bacterial pneumonia usually improves within a few days of starting antibiotics, though the cough can linger for weeks. Viral pneumonia takes longer—often two to three weeks—because antibiotics do not work against viruses. Even after you feel better, fatigue can persist for a month or more. Your doctor will advise when it is safe to return to normal activity.
Is pneumonia contagious?
Pneumonia itself is not contagious, but the germs that cause it are. If you have bacterial or viral pneumonia, you can spread the infection to others through coughs and sneezes, especially in the first few days. Stay home and away from vulnerable people (infants, elderly relatives, immunocompromised individuals) until your fever is gone and you have been on antibiotics for at least 24 hours.
Can you get pneumonia twice?
Yes, you can get pneumonia more than once. Having pneumonia once does not make you immune. If you are over 65, have chronic lung disease, or have a weakened immune system, talk to your doctor about pneumonia vaccines, which can reduce your risk of certain types of pneumonia.
What should I do while waiting to see a doctor?
Rest, drink plenty of fluids, and use over-the-counter fever-reducing medicine if you have a fever. A humidifier or steam from a hot shower can ease coughing. Do not suppress the cough with cough medicine—coughing helps clear mucus from your lungs. If you develop severe shortness of breath or chest pain before your appointment, go to the emergency room.