The symptoms that suggest you have pneumonia

Pneumonia usually starts with a cough that lasts more than a week, often bringing up mucus or phlegm that may be clear, yellow, green, or tinged with blood. You may also have a fever (often above 100.4°F or 38°C), chills, and shortness of breath even when you are resting or doing light activity. Some people describe chest pain that gets worse when they cough or breathe deeply.

The pattern matters: pneumonia typically follows a cold or flu that seemed to be improving, then suddenly gets worse. You might feel exhausted in a way that is different from a regular cold—fatigue that makes even sitting up feel difficult. Older adults and people with chronic illness sometimes show fewer obvious symptoms, which is why pneumonia can be harder to spot in those groups.

Not everyone has all these signs. Some people have only a persistent cough and low-grade fever. Others have significant shortness of breath but a mild cough. The only way to know for certain whether you have pneumonia is a chest X-ray or CT scan, which shows the infection in your lungs.

Key Takeaways

  • A cough lasting more than a week, fever, and shortness of breath are the most common signs of pneumonia, though not everyone has all three.
  • Pneumonia often develops after a cold or flu that seemed to improve, then suddenly worsens.
  • Older adults and people with chronic illness may have fewer obvious symptoms, making pneumonia harder to recognize.
  • Only a chest X-ray or CT scan can confirm pneumonia; a doctor's physical exam and listening to your lungs can suggest it but cannot prove it.
  • Seek medical evaluation if you have a cough lasting more than a week, fever above 100.4°F, or difficulty breathing.

When to see a doctor

Contact a doctor if you have a cough that lasts longer than a week, especially if it brings up mucus or you develop a fever. You do not need to wait for all the classic symptoms—even a persistent cough with shortness of breath warrants evaluation. A phone call to your primary care doctor is a reasonable first step; they can often tell from your description whether you need to be seen in person or go to urgent care.

Go to an emergency room or call 911 if you have severe shortness of breath, chest pain that feels sharp or crushing, confusion, or lips or fingernails that look blue or gray. These can signal that pneumonia is affecting your oxygen levels significantly. Older adults, people over 65, those with heart disease or diabetes, and anyone with a weakened immune system should seek medical care sooner rather than later, even for milder symptoms.

What happens during a doctor's evaluation

Your doctor will ask when the cough started, what you are coughing up, whether you have fever or chills, and whether you have had trouble breathing. They will listen to your lungs with a stethoscope—pneumonia often produces crackling sounds or areas where breath sounds are quieter than normal. They may also check your oxygen level with a pulse oximeter, a small device that clips onto your finger.

If pneumonia is suspected, your doctor will order a chest X-ray. This is the standard way to confirm pneumonia and to see how much of the lung is affected. Sometimes a CT scan is used instead, particularly if the X-ray is unclear or if your doctor suspects a complication. Blood tests may be done to check for bacterial or viral infection, though these do not always pinpoint the exact cause.

Bacterial versus viral pneumonia

Bacterial pneumonia typically comes on suddenly with high fever, a productive cough (one that brings up mucus), and sometimes chest pain. It is more common in older adults and people with chronic illness. Bacterial pneumonia responds to antibiotics, and treatment usually begins as soon as the diagnosis is suspected, even before test results confirm which bacteria is responsible.

Viral pneumonia often develops more gradually and may start with upper respiratory symptoms like a sore throat or runny nose before moving into the lungs. The cough is usually dry at first, though mucus may develop later. Viral pneumonia does not respond to antibiotics, so treatment focuses on rest, fluids, and managing symptoms while your immune system clears the infection. However, some viral pneumonia cases can become severe, and a few viruses (like influenza) may benefit from specific antiviral medications if started early.

A chest X-ray cannot always tell the difference between bacterial and viral pneumonia, so doctors sometimes start antibiotics while waiting for test results, particularly in older adults or those at higher risk of complications. This is a reasonable approach because delaying antibiotics in bacterial pneumonia can lead to worse outcomes.

Why pneumonia can be confused with other illnesses

Bronchitis also causes a persistent cough and may produce mucus, but it affects the airways rather than the lung tissue itself. A chest X-ray shows pneumonia as areas of cloudiness or consolidation in the lungs; bronchitis does not show these changes. Asthma causes shortness of breath and coughing but typically does not produce fever or the systemic fatigue that pneumonia does.

A severe cold or flu can cause a lingering cough and fatigue, which is why pneumonia is sometimes missed in the first few days. The key difference is that pneumonia symptoms either start suddenly or worsen significantly after seeming to improve. If you have had a cold for two weeks and suddenly develop a high fever and worsening cough, that shift suggests pneumonia rather than the original illness running its course.

Risk factors that make pneumonia more likely

Age is a major factor: people over 65 are at higher risk, as are infants and young children. Chronic lung disease (asthma, COPD), heart disease, diabetes, and a weakened immune system all increase risk. Recent hospitalization, smoking, and heavy alcohol use also raise the odds. If you have any of these factors and develop respiratory symptoms, mention them to your doctor—they may lower the threshold for ordering imaging or starting treatment.

People who have recently had surgery or been bedridden for a long time are at higher risk because fluid can pool in the lungs and bacteria can more easily establish infection. Aspiration pneumonia, which occurs when food or liquid enters the lungs instead of the stomach, is more common in people with swallowing difficulties or those who are sedated.

What to do while waiting for a diagnosis

Rest is important—your body needs energy to fight infection. Stay hydrated by drinking water, warm tea, or broth. Over-the-counter pain relievers like acetaminophen or ibuprofen can reduce fever and chest discomfort, though follow the package directions. A humidifier or steam from a hot shower may ease coughing, though this helps more with viral than bacterial pneumonia.

Do not suppress a productive cough with cough medicine if you are bringing up mucus—coughing helps clear the lungs. If you have a dry cough that is keeping you awake, a cough suppressant may help you rest, but ask your doctor first. Avoid irritants like smoke and strong fumes, which can worsen coughing and delay recovery.

Frequently Asked Questions

Can you have pneumonia without a fever?

Yes. Some people, particularly older adults and those with weakened immune systems, develop pneumonia with little or no fever. A persistent cough with shortness of breath or chest discomfort can be pneumonia even if your temperature is normal. This is one reason why a cough lasting more than a week warrants evaluation regardless of fever.

How long does a pneumonia cough last?

The cough often persists for two to three weeks after treatment begins, even as the infection clears. Bacterial pneumonia treated with antibiotics usually improves within a few days, but the cough can linger. Viral pneumonia may take longer to resolve. If you are coughing after four weeks of treatment, tell your doctor—it may indicate a complication or a different diagnosis.

Is pneumonia contagious?

Viral pneumonia is contagious and spreads through respiratory droplets, similar to a cold or flu. Bacterial pneumonia is less contagious; you are more likely to catch it if you are already ill or have a weakened immune system. Either way, cover your mouth when coughing and wash your hands frequently to reduce spread to others.

Can you have pneumonia in only one lung?

Yes. Pneumonia often affects one lung more than the other, or sometimes only one lung. A chest X-ray shows which lung or lungs are involved. Single-lung pneumonia is not necessarily milder than bilateral pneumonia—severity depends on how much of the lung tissue is infected and your overall health, not just the number of lungs affected.

What is the difference between pneumonia and walking pneumonia?

"Walking pneumonia" is an informal term for mild pneumonia that does not require hospitalization and allows you to continue daily activities. It is usually caused by bacteria like Mycoplasma or viruses, and symptoms develop gradually. A chest X-ray still shows lung infection, so it is pneumonia by definition—the term just reflects that you can function while recovering, not that it is less serious or does not need medical attention.