Pneumonia is typically diagnosed through a combination of a physical exam, a chest X-ray, and blood tests. No single test confirms pneumonia on its own. Instead, your doctor pieces together findings from listening to your lungs, reviewing imaging, and sometimes running lab work to identify the specific germ causing the infection.
What Happens During the Physical Exam
The first step is a hands-on evaluation. Your doctor will listen to your lungs with a stethoscope, checking for abnormal sounds that signal fluid or inflammation in the air sacs. Pneumonia produces a distinctive pattern of coarse crackles, low-pitched popping sounds that occur throughout each breath in. These differ from the wheezing heard in asthma or the sounds of other lung conditions.
Beyond the stethoscope, your doctor may perform a few additional checks. One involves placing hands on your chest while you say “ninety-nine” out loud. Pneumonia causes one side of the chest to vibrate more intensely than the other because the infected, fluid-filled lung tissue transmits sound differently than healthy, air-filled tissue. Another test has you say the letter “E” while the doctor listens through the stethoscope. If it sounds like the letter “A” instead, that’s a classic sign of consolidation, meaning a section of your lung has filled with fluid or pus.
Your doctor will also check your temperature, heart rate, breathing rate, and oxygen levels. A small clip-on device called a pulse oximeter measures how much oxygen your blood is carrying. Normal readings fall between 95% and 100%. A reading of 92% or lower is a concern, and anything at 88% or below requires immediate attention.
Chest X-Ray: The Key Imaging Test
A chest X-ray is the standard way to confirm pneumonia. It shows white or hazy patches in the lungs where infection has caused fluid to accumulate. The X-ray also helps your doctor see how much of the lung is affected, whether one or both sides are involved, and whether there are complications like fluid collecting around the lungs.
This is also one of the main ways doctors distinguish pneumonia from bronchitis, which can feel similar. Bronchitis infects the airways leading to the lungs, while pneumonia infects the air sacs themselves. Bronchitis won’t show the characteristic white patches on an X-ray. If your symptoms include high fever (potentially up to 105°F), shortness of breath, chest pain when coughing, or confusion, those point more toward pneumonia than bronchitis, which tends to produce a mucus-heavy cough with milder, cold-like symptoms.
Blood Tests That Help Confirm the Diagnosis
Blood work serves two purposes: confirming that an infection is present and gauging how serious it is. The most common tests measure your white blood cell count and inflammation markers.
White blood cell count rises when your body fights infection, but it’s not a reliable standalone indicator. Only about 62% of pneumonia patients have an elevated count at the time they’re first seen. That means more than a third of people with confirmed pneumonia have a normal white blood cell count when they walk in the door.
C-reactive protein (CRP), a marker of inflammation, tends to be more consistently elevated. In hospitalized pneumonia patients, CRP levels average around 136 mg/L on the first day, far above the normal range of under 10 mg/L. Three out of four patients show levels above 100 mg/L at admission. If you’ve already started antibiotics before being tested, your CRP may read lower, averaging around 107 mg/L compared to 152 mg/L in those who haven’t taken any yet.
Telling Bacterial From Viral Pneumonia
Knowing whether bacteria or a virus is causing your pneumonia matters because antibiotics only work against bacteria. Several tests help make this distinction.
A blood marker called procalcitonin is one of the more useful tools. Levels above 0.25 ng/mL suggest a bacterial infection and support starting antibiotics. Levels between 0.1 and 0.25 ng/mL make a bacterial cause less likely, and antibiotics are generally not recommended in that range. This test helps doctors avoid prescribing antibiotics for viral pneumonia, where they’d do nothing but contribute to resistance.
Multiplex respiratory panels are newer tests that can detect common bacterial and viral causes of pneumonia simultaneously. They work by identifying genetic material from the germs and return results in one to two hours. These panels can pick up bacteria like Streptococcus pneumoniae and Haemophilus influenzae alongside viruses like influenza and RSV, giving your doctor a much clearer picture of what’s causing the infection.
Sputum Culture: Identifying the Specific Germ
If your doctor suspects bacterial pneumonia, you may be asked to provide a sputum sample. This is mucus coughed up from deep in your lungs, not saliva. You’ll typically rinse your mouth with water first, then take a deep breath and cough forcefully into a sterile cup. Sometimes a healthcare provider will tap on your chest to help loosen mucus, or have you breathe in a salty mist to trigger a deeper cough.
If you can’t produce enough sputum on your own, a procedure called bronchoscopy may be used. You’ll receive medicine to relax and numb your throat, and then a thin, flexible tube with a camera is guided through your mouth or nose into your airways. A small brush or suction device collects the sample directly.
The sample is placed in a dish with nutrients that encourage bacterial growth. Results typically take a few days, though some slower-growing bacteria can take weeks. A Gram stain, often done alongside the culture, provides a faster preliminary look at the type of bacteria present. Sputum cultures are not typically used when a viral infection is suspected.
Urine Tests for Specific Bacteria
Rapid urine tests can detect certain types of pneumonia-causing bacteria without waiting for a culture to grow. The most well-known checks for Legionella, the bacterium responsible for Legionnaires’ disease. This test specifically detects the most common strain (serogroup 1) and has a specificity of 95% to 100%, meaning a positive result is highly reliable. Sensitivity ranges from 70% to 100%, so a negative result doesn’t completely rule it out. A similar urine test exists for Streptococcus pneumoniae, the most common bacterial cause of community-acquired pneumonia. Both tests return results quickly, often within hours.
How Pneumonia and Bronchitis Are Told Apart
This distinction comes up frequently because the two conditions share symptoms like cough, fatigue, and fever. The key differences are location and severity. Bronchitis affects the bronchial tubes, the larger airways leading to your lungs. Pneumonia reaches deeper, infecting the tiny air sacs responsible for transferring oxygen into your bloodstream.
Pneumonia symptoms tend to hit harder and last longer. Shortness of breath, high fever with chills and sweating, chest pain that worsens with coughing, and confusion are all more characteristic of pneumonia. Bronchitis leans toward a persistent cough producing yellow-green mucus, a sore throat, body aches, and a mild fever. It’s also worth knowing that bronchitis can progress into pneumonia if the infection spreads deeper into the lungs. Worsening symptoms or new difficulty breathing after a bronchitis diagnosis are signs this may be happening.
What to Expect From the Testing Process
Most pneumonia evaluations start with a physical exam and chest X-ray, which together can confirm or rule out pneumonia within a single office or emergency room visit. If the X-ray shows pneumonia, blood tests and possibly a sputum culture follow. Multiplex panels and urine antigen tests return results within hours. Traditional sputum and blood cultures take days because the bacteria need time to grow in the lab.
For mild cases in otherwise healthy adults, a doctor may diagnose pneumonia based on the exam and X-ray alone and start treatment without waiting for culture results. More extensive testing is typically reserved for people who are hospitalized, have severe symptoms, or aren’t improving with initial treatment. The goal of additional testing in those cases is to pinpoint the exact germ so that treatment can be adjusted to target it directly.