How pneumonia is diagnosed
Doctors diagnose pneumonia using a combination of three things: what you tell them about your symptoms, what they hear and feel when they examine your chest, and imaging or lab tests. There is no single test that proves pneumonia on its own. Instead, doctors piece together the picture from multiple sources to confirm the diagnosis and figure out what kind of pneumonia you have.
The process usually starts with your medical history and a physical exam. Your doctor will ask how long you have had a cough, whether you are bringing up mucus, if you have chest pain when you breathe, and whether you have a fever. Then they will listen to your lungs with a stethoscope and check your oxygen level with a pulse oximeter—a small device that clips onto your finger.
Key Takeaways
- A chest X-ray is the most common test for pneumonia and shows whether fluid or infection is present in your lungs.
- Your doctor will listen to your lungs with a stethoscope during the exam, as pneumonia often produces abnormal sounds.
- Blood tests and sputum cultures help identify which germ is causing the pneumonia so doctors can prescribe the right antibiotic.
- A pulse oximeter measures oxygen in your blood; low oxygen levels suggest your lungs are not working well.
- CT scans are ordered only when pneumonia is severe or when the diagnosis is unclear after other tests.
Chest X-ray: the standard imaging test
A chest X-ray is the most common test for pneumonia. You stand in front of a machine, take a deep breath, and hold it for a few seconds while the machine takes a picture of your lungs. The whole process takes less than five minutes and involves a small amount of radiation—less than you receive from natural sources over several months.
On the X-ray, pneumonia shows up as areas of white or gray that look cloudy or consolidated. These areas represent fluid or pus filling the air sacs in your lungs. The radiologist (a doctor who reads images) will describe where in your lungs the infection appears and how much of the lung is affected. This information helps your doctor decide how serious the pneumonia is and whether you need hospital care.
Sometimes a second X-ray is taken from the side to give a clearer picture of exactly where the infection is located. If your doctor suspects pneumonia but the first X-ray looks normal, they may repeat it a few days later, because early pneumonia can be hard to see on imaging.
Blood tests and sputum cultures
Blood tests serve two purposes: they check your white blood cell count (which rises when your body is fighting infection) and they can identify the specific germ causing pneumonia. A lab technician draws blood from your arm into a small tube, usually during your first visit.
A sputum culture is a test of the mucus you cough up. You will be asked to cough deeply and spit into a sterile cup. The lab grows the sample in a culture—essentially letting the bacteria or virus multiply so it can be identified. This test takes several days to return results, but it tells your doctor exactly which antibiotic will work best. If you are very sick or hospitalized, your doctor may order a sputum culture before starting antibiotics, so the results are not affected by treatment.
Blood cultures—where blood is placed in a special container to grow any bacteria present—are ordered when pneumonia is severe or when your doctor suspects the infection has entered your bloodstream. This is less common but more serious, and the results guide which antibiotics are used.
Listening to your lungs with a stethoscope
When your doctor places a stethoscope on your chest and back, they are listening for sounds that suggest pneumonia. Normal lungs are quiet or make soft whooshing sounds as air moves in and out. Pneumonia often produces crackling sounds (like the sound of Velcro being pulled apart) or wheezing, because fluid in the air sacs disrupts normal airflow.
Your doctor may also tap gently on your chest and listen to the sound it makes. Healthy lung tissue sounds hollow, but areas filled with fluid sound dull or flat. These physical findings, combined with your symptoms and X-ray results, help confirm the diagnosis.
It is important to know that a normal stethoscope exam does not rule out pneumonia. Some people with pneumonia have few or no abnormal sounds, especially early in the illness. This is why imaging is usually needed to confirm the diagnosis.
Oxygen level testing
A pulse oximeter is a small clip that attaches to your finger and measures how much oxygen is in your blood. Normal oxygen levels are 95 percent or higher. Pneumonia can lower this number because infected lungs cannot transfer oxygen into the bloodstream as efficiently.
If your oxygen level is low, your doctor may order an arterial blood gas test, which involves drawing blood from an artery (usually in your wrist) rather than a vein. This test measures oxygen, carbon dioxide, and acid levels in your blood and gives a more detailed picture of how well your lungs are working. It is usually done only if you are hospitalized or very ill.
CT scans and other advanced tests
A CT scan (computed tomography) is a more detailed imaging test than an X-ray. It takes many thin-slice pictures and combines them into a three-dimensional image of your lungs. CT scans are not routine for pneumonia—they are ordered when the diagnosis is unclear, when pneumonia is severe, or when your doctor suspects complications like an abscess (a pocket of pus) or fluid around the lungs.
A CT scan takes longer than an X-ray (usually 10 to 15 minutes) and involves more radiation. Some CT scans use contrast dye, which you swallow or receive through an IV to make certain structures show up more clearly. Your doctor will tell you if contrast is needed and whether you should avoid food or drink beforehand.
Other tests, like bronchoscopy (where a thin tube is passed down your airway to collect samples) or ultrasound, are ordered only in specific situations—for instance, if you are not improving with antibiotics or if your doctor suspects a complication.
What happens after testing
Once your doctor has the results, they will discuss the findings with you and explain what type of pneumonia you have, if known. Bacterial pneumonia is usually treated with antibiotics; viral pneumonia is managed with supportive care (rest, fluids, fever management) because antibiotics do not work against viruses. Your doctor may start antibiotics before all test results are back if pneumonia is suspected, because waiting for culture results can delay treatment.
If you are treated at home, your doctor will tell you what symptoms to watch for that mean you need to return or go to the hospital—such as worsening shortness of breath, confusion, or chest pain. If you are hospitalized, tests may be repeated to track how well you are responding to treatment.
Frequently Asked Questions
Can pneumonia be diagnosed without an X-ray?
Doctors can suspect pneumonia based on symptoms and a physical exam, but an X-ray is almost always needed to confirm it. Some people have symptoms that sound like pneumonia but have a different condition, and the X-ray clarifies what is actually happening in your lungs.
How long do test results take?
A chest X-ray result is usually available within hours. Blood tests take a day or two. Sputum and blood cultures take three to five days because the lab must wait for bacteria to grow. Your doctor may start treatment before culture results return if pneumonia is suspected.
What if my X-ray is normal but I still feel sick?
Early pneumonia can be hard to see on an X-ray, so your doctor may repeat it in a few days. Alternatively, they may start treatment based on your symptoms and physical exam findings while waiting for the second X-ray or for culture results to identify the germ.
Do I need a CT scan if I have pneumonia?
Most people with pneumonia do not need a CT scan. It is ordered when pneumonia is severe, when you are not improving with antibiotics, or when your doctor suspects complications. Your doctor will explain if they think a CT scan is necessary in your case.
What does it mean if bacteria grow in my blood culture?
A positive blood culture means the infection has entered your bloodstream, which is more serious than pneumonia confined to the lungs. This requires hospitalization and stronger or longer antibiotic treatment. Your doctor will discuss what this means for your care plan.