What pneumonia feels like and when to seek care

Pneumonia typically starts with a cough that produces mucus or phlegm, shortness of breath, and chest pain that worsens when you breathe deeply or cough. You may also have a fever, chills, and fatigue. Some people describe the chest pain as sharp or stabbing. The cough can last for weeks even after other symptoms improve.

The key difference between pneumonia and a regular cold or bronchitis is that pneumonia causes your lungs to fill with fluid or pus, which shows up on an X-ray. You cannot tell this is happening just by how you feel—you need a doctor to examine you and usually order imaging to confirm it. If you have a persistent cough with fever and chest discomfort, that is reason enough to see a doctor or urgent care clinic.

Seek immediate emergency care (call 911 or go to an emergency room) if you have severe shortness of breath, chest pain that feels like pressure, confusion, or lips or fingernails that look blue or gray. These are signs that pneumonia is affecting how much oxygen your blood is carrying.

Key Takeaways

  • A cough that produces mucus, fever, and chest pain that worsens with breathing are the most common signs of pneumonia, but only a doctor can confirm it with an X-ray.
  • Pneumonia can develop after a cold or flu, or it can start on its own, and symptoms may come on gradually or suddenly depending on the type.
  • Older adults, young children, people with chronic lung disease, and those with weakened immune systems are at higher risk for severe pneumonia.
  • Call 911 or go to an emergency room if you have severe shortness of breath, chest pressure, confusion, or bluish lips or nails.
  • A chest X-ray is the standard way to confirm pneumonia; a doctor cannot diagnose it by listening to your lungs alone.

How pneumonia develops and who is most at risk

Pneumonia happens when bacteria, viruses, or fungi get into your lungs and cause an infection. Your lungs fill with fluid or pus, which makes it harder for oxygen to reach your bloodstream. This is why shortness of breath is so common and why pneumonia can become serious quickly in certain people.

You are at higher risk if you are over 65, under 5 years old, have a chronic lung disease like asthma or COPD, have diabetes, have a weakened immune system (from HIV, chemotherapy, or certain medications), or recently had the flu or a cold. Smoking also increases your risk. If you fall into any of these groups and develop a cough with fever, do not wait to see a doctor.

Pneumonia can be bacterial, viral, or fungal. Bacterial pneumonia tends to come on suddenly with high fever and thick mucus. Viral pneumonia often develops after a cold or flu and may feel less severe at first but can still be serious. Fungal pneumonia is less common and usually only affects people with very weak immune systems. The type matters because treatment differs—antibiotics work for bacterial pneumonia but not viral.

Symptoms that appear early versus later

In the first few days, you might notice a dry cough that gradually starts producing mucus, low-grade fever, and mild shortness of breath. You may feel tired and achy, similar to the flu. Some people have chills or sweats. At this stage, many people think they have a bad cold and do not seek care yet.

As pneumonia progresses, the cough becomes more persistent, the fever may climb higher, and you may feel chest pain when you breathe or cough. Shortness of breath worsens, even with mild activity. You might feel confused or disoriented, especially if you are older. Your lips or fingernail beds may look pale or slightly blue. These are signs that your oxygen levels are dropping and you need medical attention right away.

The timeline varies. Some people feel sick for only a few days before symptoms peak; others have a gradual decline over a week or more. Do not wait for symptoms to get worse—if you have a cough with fever lasting more than a few days, or if you have chest pain and shortness of breath, contact a doctor or urgent care clinic.

What happens during a doctor's visit

A doctor will ask about your symptoms, how long you have had them, and whether you have been around anyone who was sick. They will listen to your lungs with a stethoscope—pneumonia often produces crackling or wheezing sounds—and check your oxygen level with a pulse oximeter (a small clip on your finger). They may also take your temperature and blood pressure.

A chest X-ray is the standard next step. It shows whether your lungs have fluid or pus in them and helps the doctor see how much of your lungs are affected. Sometimes a doctor will also order blood tests to identify whether the infection is bacterial, viral, or fungal, which determines what treatment you need. Sputum tests (coughing up a sample of mucus) are less common but may be done if the infection is severe or not responding to initial treatment.

Be honest about your medical history, any medications you take, whether you smoke, and whether you have been around anyone with pneumonia or tuberculosis. This information helps the doctor decide on the right treatment and whether you need to be hospitalized.

When pneumonia requires hospitalization

Most people with pneumonia can be treated at home with rest, fluids, and medication. However, hospitalization may be necessary if you are over 65, have severe shortness of breath, have oxygen levels below 92 percent, have confusion or altered mental state, have signs of sepsis (very high fever, rapid heartbeat, severe weakness), or have other serious health conditions like heart disease or kidney failure.

Children under 5 with pneumonia are also more likely to need hospital care. If you are pregnant, have a weakened immune system, or are on medications that suppress your immune response, your doctor may recommend hospitalization even if your symptoms seem mild.

In the hospital, you receive oxygen therapy, intravenous fluids, and antibiotics or antivirals depending on the cause. Doctors monitor your oxygen levels and vital signs continuously. Most people stay for three to seven days, though some with severe pneumonia stay longer.

Differences between pneumonia and similar illnesses

Pneumonia is often confused with bronchitis because both cause a cough and chest discomfort. The difference is that bronchitis inflames the airways but does not fill the lungs with fluid, so it does not show up on an X-ray and does not usually cause the same level of shortness of breath. Bronchitis cough is often dry at first, while pneumonia cough usually produces mucus.

A common cold or flu causes cough, fever, and fatigue, but the cough is usually dry or produces clear mucus, and shortness of breath is not typical. If your cough lasts more than a week, produces colored mucus, or is accompanied by chest pain and worsening shortness of breath, that points toward pneumonia rather than a simple viral infection.

Asthma can also cause shortness of breath and chest tightness, but it does not usually cause fever or a productive cough. If you have asthma and suddenly develop fever and a cough that produces mucus, pneumonia may be developing on top of your asthma, and you should see a doctor.

What to do if you think you have pneumonia

Contact your primary care doctor, an urgent care clinic, or a walk-in clinic. Describe your symptoms clearly: how long you have had the cough, whether it produces mucus, your fever (if you have taken your temperature), any chest pain, and how short of breath you feel. If you do not have a regular doctor, call your local health department or a nurse hotline to find a clinic near you.

Do not assume your symptoms will go away on their own. Pneumonia can worsen quickly, especially in older adults and people with other health conditions. If you are having trouble breathing, chest pain, or confusion, do not wait for an appointment—go to an urgent care clinic or emergency room.

While you wait to see a doctor, rest, drink plenty of fluids, and avoid smoke and air pollution. Do not use over-the-counter cough suppressants if your cough is productive (bringing up mucus)—coughing helps clear your lungs. Acetaminophen or ibuprofen can help with fever and body aches, but follow the dosing instructions on the package.

Frequently Asked Questions

Can you have pneumonia without a fever?

Yes, especially if you are older or have a weakened immune system. Some people with pneumonia have a normal or only slightly elevated temperature. This is why a persistent cough with shortness of breath and chest discomfort matters even without fever—these symptoms alone warrant a doctor's visit.

How long does it take to know if you have pneumonia?

A chest X-ray can confirm pneumonia within hours of your visit. Blood tests take a bit longer—usually 24 to 48 hours—to identify the type of infection. Your doctor may start treatment based on the X-ray results before the blood tests come back.

Is pneumonia contagious?

Bacterial pneumonia is usually not contagious, but viral pneumonia can spread to others through coughs and sneezes. If you have pneumonia, wash your hands frequently, cover your mouth when you cough, and avoid close contact with others, especially young children and older adults, until your doctor says it is safe.

What if I have pneumonia symptoms but my X-ray is normal?

Early pneumonia may not show clearly on an X-ray, or you may have a different condition causing similar symptoms. Your doctor may repeat the X-ray in a few days, order a CT scan, or run other tests. Continue describing your symptoms accurately so your doctor can narrow down the cause.

Can pneumonia go away without treatment?

Viral pneumonia sometimes improves on its own with rest and supportive care, but bacterial pneumonia requires antibiotics. Without treatment, bacterial pneumonia can become severe and life-threatening. Never assume pneumonia will resolve without seeing a doctor first.