Signs that suggest you may 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 (usually above 100.4°F), chills, shortness of breath, or chest pain that gets worse when you breathe deeply or cough. Some people feel very tired or have a loss of appetite.

The tricky part is that pneumonia can look like a bad cold or flu at first. The difference is usually how long symptoms last and how severe they become. A cold typically improves within a week or so. Pneumonia symptoms either stay the same or get worse after that first week, and the cough becomes more persistent.

Not everyone with pneumonia has all these symptoms. Older adults, very young children, and people with weakened immune systems may have fewer or milder signs, even when the infection is serious. Some people have only a cough and fatigue without fever.

Key Takeaways

  • A cough lasting more than a week, especially one that brings up mucus, combined with fever or shortness of breath, is the most common pattern in pneumonia.
  • Pneumonia symptoms often worsen or stay the same after seven days, whereas cold symptoms usually improve by then.
  • Older adults, young children, and people with weakened immune systems may show fewer obvious symptoms even when pneumonia is present.
  • Only a doctor can confirm pneumonia through a physical exam and usually a chest X-ray, so symptoms alone are not enough to know for certain.
  • Seek medical attention if you have a persistent cough with fever, shortness of breath, or chest pain, or if cold symptoms worsen instead of improve.

When to see a doctor

Contact your doctor if you have a cough that lasts longer than a week, especially if it brings up mucus or you develop a fever. You should also see a doctor if you feel short of breath, have chest pain when you breathe or cough, or if you had a cold that seemed to be getting better but then got worse again.

Seek urgent care or go to an emergency room if you have severe shortness of breath, confusion, a very high fever (above 103°F), or bluish lips or fingernails. These can be signs of a serious infection that needs immediate attention. Also go to the ER if you are coughing up blood or have severe chest pain.

If you are older than 65, have heart disease, diabetes, or a weakened immune system, contact your doctor sooner rather than later if you develop respiratory symptoms. These conditions put you at higher risk for complications from pneumonia.

What happens during a doctor's visit

Your doctor will listen to your lungs with a stethoscope to check for crackling sounds or other abnormal noises that suggest fluid in the lungs. They will ask about your symptoms, how long you have had them, and whether you have been around anyone who was sick. They may take your temperature, check your oxygen level with a small clip on your finger, and ask about any medical conditions you have.

If pneumonia is suspected, your doctor will usually order a chest X-ray. This is a quick, painless picture that shows whether your lungs have the cloudy patches typical of pneumonia. Sometimes a doctor can diagnose pneumonia based on the exam alone, but the X-ray confirms it and helps rule out other conditions.

Your doctor may also do a blood test or ask you to cough into a cup so they can test the mucus you bring up. These tests help identify what is causing the infection—whether it is a bacterium, virus, or fungus—which affects how it will be treated.

Bacterial versus viral pneumonia

Bacterial pneumonia is caused by bacteria and usually comes on suddenly with a high fever, shaking chills, and a cough that brings up mucus. It tends to make people feel quite sick. Bacterial pneumonia is treated with antibiotics, which kill the bacteria causing the infection.

Viral pneumonia is caused by a virus and often develops more gradually. The cough may be dry at first and the fever is usually lower. Viral pneumonia cannot be treated with antibiotics because antibiotics do not work against viruses. Instead, treatment focuses on rest, fluids, and managing symptoms while your body fights off the infection.

Sometimes a person has both bacterial and viral pneumonia at the same time, or bacterial pneumonia develops after a viral infection. Your doctor will determine which type you have based on your symptoms, the X-ray, and any test results. This matters because it changes how you will be treated.

Risk factors that make pneumonia more likely

You are at higher risk for pneumonia if you smoke, have asthma or chronic obstructive pulmonary disease (COPD), or have heart disease. Recent surgery, a weakened immune system from HIV or cancer treatment, and being over 65 also increase your risk. People with diabetes are more likely to develop pneumonia and to have more severe cases.

Recent viral infections—especially the flu—can damage your lungs and make them more vulnerable to pneumonia. Being bedridden or having difficulty swallowing also raises your risk because fluids or food particles can enter the lungs more easily. Alcohol use disorder and homelessness are also risk factors.

If you have any of these risk factors and develop respiratory symptoms, it is especially important to contact your doctor promptly rather than waiting to see if symptoms improve on their own.

What to do while waiting to see a doctor

If you suspect you have pneumonia but cannot see a doctor immediately, rest as much as possible and drink plenty of fluids—water, warm tea, or broth help loosen mucus and prevent dehydration. You can use over-the-counter pain relievers like acetaminophen or ibuprofen to reduce fever and ease chest discomfort, following the package directions for your age and weight.

Use a humidifier or breathe steam from a hot shower to help ease coughing. Avoid irritants like smoke and strong fumes. Do not try to suppress your cough with cough medicine if you are bringing up mucus—coughing helps clear your lungs. If your cough is dry and keeping you awake, a cough drop or over-the-counter cough suppressant may help.

Avoid close contact with others while you are sick, especially if you are coughing. Cover your mouth when you cough and wash your hands frequently to avoid spreading the infection to family members or coworkers.

Frequently Asked Questions

Can you have pneumonia without a fever?

Yes. Some people, especially older adults and those with weakened immune systems, can have pneumonia without running a fever. A persistent cough, shortness of breath, and fatigue can be present even without elevated temperature. This is one reason why a doctor's evaluation is important—symptoms alone do not always tell the full story.

Is pneumonia always caused by bacteria?

No. Pneumonia can be caused by bacteria, viruses, or fungi. Viral pneumonia is common and often follows a cold or flu. Bacterial pneumonia tends to come on more suddenly and make people feel sicker. Your doctor will determine the cause, which affects treatment—antibiotics work only for bacterial pneumonia.

How long does it take to recover from pneumonia?

Recovery time varies. Mild cases may improve within a week or two with rest and treatment, but the cough can linger for several weeks. More severe pneumonia takes longer to recover from and may require hospitalization. Even after you feel better, it is important to follow your doctor's instructions and take any prescribed medication for the full course.

Can you catch pneumonia from someone else?

The germs that cause pneumonia can spread from person to person through coughing and sneezing, but not everyone exposed will develop pneumonia. Your risk depends on the germ involved, how close you are to the sick person, and your own immune system. Washing your hands and avoiding close contact with sick people helps reduce transmission.

What is the difference between pneumonia and bronchitis?

Bronchitis is inflammation of the airways in your lungs, while pneumonia is an infection that causes fluid or pus to fill the air sacs. Both cause a cough, but pneumonia usually comes with fever, shortness of breath, and chest pain. A chest X-ray can show the difference—pneumonia shows cloudy patches where fluid has collected, while bronchitis does not.