Yes, there are several tests for pneumonia, and doctors typically use more than one to confirm a diagnosis. The most common starting point is a chest X-ray combined with a physical exam, but blood tests, oxygen measurements, and lab cultures can all play a role depending on how sick you are.
What Happens During the Physical Exam
Before ordering any tests, your doctor will listen to your lungs with a stethoscope. Pneumonia produces distinctive abnormal sounds. The most telling are crackles (also called rales), which sound like rattling, bubbling, or clicking as you breathe in. Fine crackles are short and high-pitched, while coarse crackles are lower and last longer. Your doctor may also hear rhonchi, a continuous low-pitched sound sometimes described as snoring or gurgling, which tends to be more noticeable when you breathe out.
These sounds alone don’t confirm pneumonia, but they tell your doctor enough to decide what tests to order next. Your temperature, heart rate, and breathing rate also factor into that decision.
Chest X-Ray: The Standard Test
A chest X-ray is the primary tool for confirming pneumonia. The radiologist looks for white spots in the lungs called infiltrates, which signal an area of infection and inflammation. The X-ray also shows how much of the lung is affected and whether fluid has built up around it.
That said, chest X-rays aren’t perfect. They catch about 65% of pneumonia cases in critically ill patients. Lung ultrasound, increasingly used in emergency rooms and ICUs, detects pneumonia with roughly 93% sensitivity while maintaining similar accuracy for ruling it out. Ultrasound is faster, portable, and avoids radiation exposure, though it’s not yet the default in most outpatient settings.
Checking Your Oxygen Levels
A pulse oximeter, the small clip placed on your fingertip, measures how much oxygen your blood is carrying. This is one of the simplest and most important tests because it reveals how well your lungs are actually functioning. A normal reading is typically 95% or above. If your oxygen saturation drops to 92% or lower, that warrants a call to your doctor. A reading of 88% or below is a medical emergency.
Oxygen levels help determine whether you can recover at home or need to be admitted to the hospital. They also guide whether you’ll need supplemental oxygen during treatment.
Blood Tests
A complete blood count (CBC) is a common blood test ordered when pneumonia is suspected. It measures your white blood cell count, which typically rises when your body is fighting an infection. Most pneumonia patients show elevated white blood cells, but the results aren’t always straightforward. About 22% of patients with confirmed bacterial pneumonia have white blood cell counts in the normal range (5,000 to 10,000). More concerning is a very low count (5,000 or below), which occurred in about 7% of patients in one large study and was associated with nearly seven times the risk of dying within a week compared to those with moderately elevated counts.
Doctors may also check a blood marker called procalcitonin to help distinguish bacterial pneumonia from viral pneumonia. Levels at or above 0.5 are generally considered a signal that bacteria are involved and antibiotics are appropriate, while levels below 0.25 suggest antibiotics may not be needed. This test is especially useful when the cause of the infection isn’t obvious.
Sputum Culture
If your doctor wants to identify the specific organism causing your pneumonia, you may be asked to cough up a sample of mucus from deep in your lungs. This sample goes to a lab where it’s cultured to see what grows. Results typically take a few days because the lab needs at least 24 hours before analyzing the culture.
The quality of the sample matters. Saliva from your mouth won’t work. The sample needs to come from the lower airways, which means producing a deep, forceful cough. A poor-quality sample can lead to inaccurate results, so your doctor will consider that when interpreting findings.
Rapid Pathogen Panels
Newer molecular tests can identify the cause of pneumonia much faster than traditional cultures. One commonly used approach is a multiplex PCR panel, which can detect 18 bacterial pathogens, eight respiratory viruses, and seven markers of antibiotic resistance from a single sample. These panels offer higher sensitivity than standard lab cultures and return results faster, which helps your doctor choose the right antibiotic sooner rather than relying on a broad-spectrum guess.
When More Invasive Testing Is Needed
Most people never need anything beyond the tests described above. Bronchoscopy, a procedure where a thin camera is guided into your airways, is reserved for specific situations. It’s recommended when pneumonia doesn’t improve after 72 hours of antibiotic treatment, when you’re seriously ill, or when symptoms and abnormalities on imaging persist six weeks after finishing treatment. In younger patients without other health conditions, bronchoscopy is particularly useful because lingering pneumonia may point to an alternative diagnosis like a blocked airway or an unusual infection.
Bronchoscopy is not a routine part of pneumonia diagnosis. It’s a troubleshooting tool for cases that don’t follow the expected course.
What Testing Looks Like in Practice
If you walk into an urgent care or emergency room with a cough, fever, and shortness of breath, you’ll likely get a physical exam, a chest X-ray, a pulse oximetry reading, and possibly blood work within the first visit. For mild cases in otherwise healthy people, the chest X-ray and exam are often enough to start treatment. Sputum cultures, pathogen panels, and procalcitonin testing are more common when you’re sick enough to be hospitalized, when initial antibiotics aren’t working, or when there’s uncertainty about whether the infection is bacterial or viral.
The combination of tests your doctor orders depends on how severe your symptoms are, whether you have other health conditions, and how quickly you’re responding to treatment. There’s no single definitive test for pneumonia. Diagnosis works by layering evidence from multiple sources to build a clear picture of what’s happening in your lungs.

