The symptoms that suggest you might have pneumonia
Pneumonia typically starts with a cough that lasts more than a week, often producing mucus that may be clear, yellow, greenish, or tinged with blood. You may also have a fever (usually above 100.4°F or 38°C), chills, and shortness of breath—either during normal activity or even at rest. Many people also report chest pain that worsens when they breathe deeply or cough, fatigue that feels more severe than a typical cold, and sometimes nausea or diarrhea.
The pattern matters: pneumonia typically follows an upper respiratory infection (a cold or flu) that seemed to be improving, then suddenly gets worse. A regular cold usually peaks around day 3 to 5 and improves steadily. Pneumonia often appears as a second illness, or as a cold that does not improve after 7 to 10 days.
Not everyone shows the same signs. Older adults, people with chronic conditions, and those with weakened immune systems may have a cough without fever, or fever without a cough. Some people have only mild symptoms but still have pneumonia visible on a chest X-ray.
Key Takeaways
- A persistent cough lasting more than a week, especially one producing mucus, combined with fever or shortness of breath, suggests pneumonia rather than a common cold.
- Pneumonia often appears as a worsening of symptoms after a cold seemed to be improving, not as a gradual progression of the original illness.
- Chest pain with breathing, extreme fatigue, and rapid or difficult breathing are warning signs that warrant a medical evaluation.
- The only way to confirm pneumonia is a chest X-ray or other imaging ordered by a doctor; you cannot diagnose it from symptoms alone.
When shortness of breath or chest pain means you need urgent care
Seek immediate medical attention if you have difficulty breathing at rest, chest pain that is severe or persistent, confusion or disorientation, or a bluish tint to your lips or fingertips. These are signs that pneumonia may be affecting how much oxygen your blood is carrying, and waiting could be dangerous.
Rapid breathing (more than 30 breaths per minute when you are at rest) is another warning sign, as is a very high fever (above 103°F or 39.4°C) that does not come down with over-the-counter fever reducers. If you are coughing up blood or have severe abdominal pain, go to an emergency room or call 911.
Why a doctor needs to examine you and order imaging
A cough and fever can come from many things—viral bronchitis, influenza, whooping cough, or even asthma—and they can feel identical to pneumonia. A doctor can listen to your lungs with a stethoscope and may hear crackling sounds or areas where breath sounds are quieter, which raises suspicion for pneumonia. But even that is not definitive.
A chest X-ray is the standard way to confirm pneumonia. It shows areas of the lung where fluid or pus has accumulated, which is the hallmark of bacterial or viral pneumonia. Sometimes a doctor will also order blood tests or a sputum culture (a sample of mucus you cough up) to identify which organism is causing the infection, which helps determine the right treatment.
Without imaging, a doctor cannot tell you whether you have pneumonia or something else that looks similar. That is why calling your doctor or visiting an urgent care clinic is the necessary next step if your symptoms fit the pattern.
How pneumonia develops and why timing matters
Pneumonia happens when bacteria, viruses, or sometimes fungi enter the lungs and cause an infection. Your immune system responds by filling the air sacs (alveoli) with fluid or pus, which prevents oxygen from reaching your bloodstream. This is why shortness of breath and fatigue are so common—your body is struggling to get enough oxygen.
The infection can develop in one section of the lung (lobar pneumonia) or scattered throughout both lungs (bronchopneumonia). It can also spread from the lungs into the bloodstream, which is why early treatment matters. Bacterial pneumonia typically worsens quickly over a few days, while viral pneumonia may develop more slowly.
If you wait too long to seek care, the infection can progress to sepsis (a life-threatening whole-body response to infection) or respiratory failure. This is especially true for older adults, people with heart disease, diabetes, or chronic lung disease, and anyone whose immune system is compromised.
The difference between viral and bacterial pneumonia
Viral pneumonia is usually caused by the same viruses that cause colds and flu—influenza, rhinovirus, or respiratory syncytial virus (RSV). It tends to develop gradually, with a dry cough initially, and symptoms may feel like a prolonged cold. Viral pneumonia often improves on its own as your immune system fights the infection, though it can take weeks to feel fully recovered.
Bacterial pneumonia, often caused by Streptococcus pneumoniae, typically comes on more suddenly and causes a higher fever, more severe chest pain, and a cough that produces thick, discolored mucus. Bacterial pneumonia requires antibiotics to clear the infection. Without treatment, it can become serious quickly.
A doctor cannot tell the difference between viral and bacterial pneumonia by symptoms alone—the chest X-ray and sometimes blood tests help determine which type you have. This is important because antibiotics work only against bacteria, not viruses, so knowing which you have guides the treatment plan.
What happens after you see a doctor
If your doctor suspects pneumonia based on your symptoms and examination, they will order a chest X-ray. If the X-ray confirms pneumonia, the next step depends on whether it appears to be bacterial or viral, how severe it is, and your overall health. Mild pneumonia in an otherwise healthy person may be treated at home with rest, fluids, and fever management, plus antibiotics if bacterial infection is suspected.
More severe pneumonia, or pneumonia in someone with other health conditions, may require hospitalization so you can receive oxygen therapy, intravenous antibiotics, and close monitoring. Your doctor will also check whether you need a pneumonia vaccine or a flu shot to prevent future infections.
Recovery from pneumonia takes time. Even after you start feeling better, fatigue can linger for weeks, and a cough may persist for a month or more. Your doctor may want to repeat a chest X-ray after treatment to confirm the infection has cleared, especially if you are not improving as expected.
Risk factors that make pneumonia more likely
Certain groups of people are at higher risk for developing pneumonia or for having a more serious case. These include adults over 65, people with chronic lung disease (asthma, COPD, cystic fibrosis), heart disease, diabetes, or a weakened immune system (from HIV, cancer treatment, or immunosuppressant medications). Smokers and people who have recently had a cold or flu are also at increased risk.
Hospitalized patients, people in nursing homes, and those who have had recent surgery are more vulnerable to pneumonia as well. If you fall into any of these categories and develop symptoms of pneumonia, it is especially important to seek medical evaluation promptly rather than waiting to see if it improves on its own.
Frequently Asked Questions
Can you have pneumonia without a fever?
Yes, especially in older adults and people with weakened immune systems. Some people have a persistent cough and shortness of breath but no fever at all. This is one reason a doctor's evaluation and chest X-ray are important—you cannot rule out pneumonia based on the absence of fever.
How long does a pneumonia cough last?
The cough itself may persist for 3 to 4 weeks even after the infection has cleared and you are feeling better. The acute phase—when you have fever and feel very ill—usually lasts 7 to 10 days with treatment. If your cough is still severe or you are still running a fever after 2 weeks, contact your doctor.
Is pneumonia contagious?
Viral pneumonia is contagious and spreads through respiratory droplets, similar to a cold or flu. Bacterial pneumonia is less contagious but can still spread. If you have pneumonia, stay home, cover your cough, and wash your hands frequently to avoid spreading it to others, especially vulnerable people like older adults and young children.
What should I do if I think I have pneumonia but cannot see a doctor right away?
Call your doctor's office or an urgent care clinic to describe your symptoms—many can see you the same day or next day if pneumonia is suspected. If you develop severe shortness of breath, chest pain, or confusion, go to an emergency room or call 911 rather than waiting. Do not assume it will improve on its own.
Can you get pneumonia twice?
Yes, you can have pneumonia more than once, either from the same organism or a different one. Having pneumonia once does not make you immune. If you are over 65 or have chronic health conditions, your doctor may recommend a pneumonia vaccine to reduce your risk of certain types of bacterial pneumonia.