MedChunk
Medically reviewed

How Is Pneumonia Diagnosed?

Learn how pneumonia is diagnosed, from medical history and lung exams to chest X-rays, oxygen checks, blood tests, sputum tests, and extra testing when needed.

By Caleb Bennett Reviewed by Dr. Irene Medical review dateJan 26, 2026 10 min read

Pneumonia is diagnosed by combining a person’s symptoms and medical history with a physical examination, and often a chest X-ray. A clinician listens to the lungs, checks breathing and oxygen levels, and may order blood, mucus (sputum), or other tests to look for infection and its cause. Not everyone needs every test; the choice depends on symptoms, age, overall health, and how unwell the person appears.

How do doctors assess someone for pneumonia?

The diagnostic process usually begins with a conversation about symptoms and a physical examination. The clinician asks when the symptoms started, whether they are improving or worsening, and whether the person has had a recent respiratory infection, contact with someone who is ill, or a previous episode of pneumonia. Existing medical conditions, medications, smoking history, and recent hospital stays may also affect which tests are appropriate.

According to Mayo Clinic, the examination includes listening to the lungs with a stethoscope for abnormal breathing sounds, such as crackling. The clinician may also check the person's temperature, heart rate, breathing rate, and oxygen level. Symptoms that may prompt further investigation include a persistent cough, fever, shortness of breath, chest discomfort when breathing or coughing, and unusual tiredness. These findings are considered together rather than used individually to establish a diagnosis.

Is a chest X-ray necessary to diagnose pneumonia?

A chest X-ray is one of the main tests used when pneumonia is suspected. It creates an image of the lungs and may show areas of inflammation or changes associated with infection. The image can help the clinician determine where the affected areas are and how extensively the lungs may be involved.

The Cleveland Clinic explains that chest X-rays and, in selected cases, CT scans can help identify signs of pneumonia. However, an X-ray cannot usually identify the exact microorganism responsible. The image must therefore be interpreted alongside the person's symptoms, examination findings, and other test results.

Not every person with a cough needs a chest X-ray. The decision depends on the clinical findings, how unwell the person appears, whether another condition could explain the symptoms, and the testing available in that setting. A clinician may recommend imaging when the diagnosis is uncertain, symptoms are concerning, or more information about the lungs is needed.

What other tests are used to diagnose pneumonia?

Additional tests help assess how well the lungs are working, look for signs of infection, and sometimes identify the germ responsible. The tests selected depend on the clinical situation; a person with an uncomplicated illness may not need every investigation used in a hospital.

Pulse oximetry: How is blood oxygen measured?

Pulse oximetry estimates the amount of oxygen in the blood. A small sensor, usually clipped onto a finger, provides a reading without requiring a blood sample. Pneumonia can interfere with the movement of oxygen from the lungs into the bloodstream, so this measurement helps the clinician assess breathing function and determine whether further evaluation may be necessary.

MedlinePlus lists pulse oximetry among the tests that may be used during a pneumonia assessment, particularly when someone is seriously ill or receiving hospital care. The reading is considered alongside the person's breathing, examination, and other findings; it does not identify the cause of the infection by itself.

Blood tests: What can they reveal?

A blood test may be used to look for signs that the body is responding to an infection. For example, a complete blood count measures different types of blood cells, including white blood cells involved in the immune response. Other blood tests may be selected according to the person's condition and the questions the clinician is trying to answer.

Blood cultures may be requested in selected cases to look for bacteria in the bloodstream. They are more likely to be considered when illness is serious or there is concern that an infection may have spread beyond the lungs. Blood tests can provide useful information, but they do not always identify the specific cause of pneumonia.

Sputum tests: Can a mucus sample identify the infection?

Sputum is mucus brought up from the lower airways when a person coughs. If testing is needed, the person may be asked to cough a sample into a sterile container. A laboratory can examine the sample or use specific tests to look for microorganisms that may be causing the illness.

These tests can be particularly useful when pneumonia is severe, the person is hospitalized, or knowing the likely cause could affect treatment decisions. However, a suitable sample may be difficult to collect, and testing does not always identify the responsible germ. Results are interpreted with the rest of the clinical assessment.

Can a nose or throat swab help?

Sometimes, a clinician may request a nose or throat swab to test for a respiratory virus or another specific microorganism. The decision depends on the person's symptoms, the suspected cause, and whether identifying that organism would help guide care. Such tests complement the assessment rather than automatically replacing the examination or any imaging that may be needed.

When are CT scans and other advanced tests needed?

Most people do not need every available diagnostic test. More detailed investigations may be considered when the initial results do not clearly explain the illness, symptoms are not improving as expected, complications are suspected, or the person is seriously unwell.

According to Mayo Clinic, additional investigations can include the following:

  • Chest CT scan: Produces more detailed images of the lungs than a standard chest X-ray and may be useful when more information is needed.
  • Pleural fluid testing: If fluid has collected in the space around the lungs, a clinician may take a sample for laboratory analysis to investigate the cause.
  • Bronchoscopy: A procedure that uses a thin, flexible tube with a camera to examine the airways and, when necessary, collect samples.
  • Additional blood or respiratory tests: May be selected when the suspected infection, possible complications, or the person's clinical condition requires further investigation.

These tests are chosen for specific clinical reasons rather than performed routinely on everyone with suspected pneumonia. The clinician weighs the information already available against the questions that remain unanswered.

How is pneumonia distinguished from other respiratory illnesses?

Pneumonia can share symptoms with illnesses such as bronchitis, influenza, COVID-19, and other respiratory infections. Some heart and lung conditions can also cause cough or breathlessness. Because these illnesses can overlap in their presentation, clinicians look at the pattern and timing of symptoms, examination findings, medical history, and test results to decide which explanation is most likely.

A chest X-ray may help distinguish pneumonia from other causes of respiratory symptoms, while blood tests, sputum testing, or a respiratory swab may provide additional clues. No single finding necessarily answers every diagnostic question. If initial results are inconclusive, further testing or reassessment may be appropriate.

Does the diagnostic process differ for children and older adults?

Yes. The choice of tests and the urgency of assessment can depend on age, general health, and how the illness is affecting the person. Young children may need assessment based particularly on their breathing and overall condition, while older adults may require closer evaluation when they are unwell or have other medical conditions.

Older adults, people with serious symptoms, and those who need hospital care may undergo additional investigations. The NHS guidance on pneumonia notes that people may need a chest X-ray and blood tests as part of hospital assessment. The exact work-up is individualized rather than determined by age alone.

When should someone seek medical assessment?

A healthcare professional should assess symptoms that are persistent, getting worse, interfering with normal activities, or difficult to explain, particularly when cough occurs with fever, chest pain, or shortness of breath. Prompt assessment is important for young children, older adults, and people with significant underlying health conditions or weakened immune systems.

Severe difficulty breathing, blue or grey lips or skin, new confusion, or difficulty waking requires emergency medical attention. These signs can indicate a serious problem and should not be ignored while waiting for a routine appointment.

For most people, pneumonia is assessed through a combination of clinical history, examination, and, when indicated, chest imaging and targeted tests. Understanding what each test can and cannot show helps explain why clinicians sometimes need more than one piece of information before reaching a conclusion.

Frequently Asked Questions

Answers to common questions about the tests used to diagnose pneumonia.

Can pneumonia be diagnosed without a chest X-ray?

Yes, in some situations a clinician may make a clinical assessment without immediately ordering an X-ray. However, chest X-rays are commonly used when pneumonia is suspected because they can show changes in the lungs. Whether imaging is needed depends on the examination findings, symptoms, overall health, and clinical setting.

Can a blood test alone confirm pneumonia?

No. Blood tests can show signs of infection and, in selected cases, help identify bacteria in the bloodstream. They generally do not establish the diagnosis on their own. Clinicians interpret blood test results alongside symptoms, the physical examination, and imaging or other tests when needed.

How long does pneumonia diagnosis take?

The initial clinical assessment and some tests, such as pulse oximetry and chest X-rays, may be completed during the same visit. The time needed for laboratory results depends on which tests are ordered and the laboratory process. Some tests used to identify a specific microorganism take longer than the initial assessment.

Can pneumonia be missed on the first examination?

It can sometimes be difficult to establish the cause of respiratory symptoms during an initial assessment. Findings may be unclear or may overlap with those of other illnesses. If symptoms worsen, persist, or do not follow the expected course, a clinician may reassess the person and consider additional testing.

Do all people with pneumonia need sputum tests?

No. Sputum tests are generally selected when identifying the microorganism could help guide care, such as in some serious or hospitalized cases. Many people do not need a sputum test, and a sample does not always reveal the exact cause of the infection.

Citations

  1. Mayo Clinic — Pneumonia: Diagnosis and treatment
  2. Cleveland Clinic — Pneumonia: Causes, Symptoms, Diagnosis and Treatment
  3. MedlinePlus — Pneumonia
  4. NHS — Pneumonia
Share this article