Find Information About:

Drugs & Supplements

Get information and reviews on prescription drugs, over-the-counter medications, vitamins, and supplements. Search by name or medical condition.

Pill Identifier

Pill Identifier

Having trouble identifying your pills?

Enter the shape, color, or imprint of your prescription or OTC drug. Our pill identification tool will display pictures that you can compare to your pill.

Get Started

My Medicine

Save your medicine, check interactions, sign up for FDA alerts, create family profiles and more.

Get Started

WebMD Health Experts and Community

Talk to health experts and other people like you in WebMD's Communities. It's a safe forum where you can create or participate in support groups and discussions about health topics that interest you.

  • Second Opinion

    Second Opinion

    Read expert perspectives on popular health topics.

  • Community


    Connect with people like you, and get expert guidance on living a healthy life.

Got a health question? Get answers provided by leading organizations, doctors, and experts.

Get Answers

Sign up to receive WebMD's award-winning content delivered to your inbox.

Sign Up

Lung Disease & Respiratory Health Center

Font Size

Pneumonia - Exams and Tests

Your doctor will usually diagnose pneumonia with:

  • Your medical history.
  • A physical exam.
  • A chest X-ray, which is almost always done to check for changes in the lungs that may mean pneumonia and to look for other causes of your symptoms. But an X-ray does not always show whether you have pneumonia, especially if it is done when you first get sick. In some cases, the X-ray results may:
    • Suggest the type of organism (bacterial, viral, or fungal) causing pneumonia.
    • Show complications of pneumonia, such as infection of the heart muscle or the sac surrounding the heart.
    • Show conditions that may occur with pneumonia, such as fluid in the chest cavity or a collapsed lung.
    • Reveal another condition, such as heart failure, lung cancer, or acute bronchitis.

Lab tests for pneumonia

The need for more tests often depends on how severe your symptoms are, your age, and your overall health. In general, the sicker you are, the more tests you may need. This is especially true for older adults and infants. One example of a test you may have is the arterial blood gas test.

Mucus test

If you are very ill, have severe shortness of breath, or have a condition that increases your risk (such as asthma or COPD), your doctor may test your mucus. Tests include a Gram stain and a sputum culture.

Rapid urine test

This test can identify some bacteria that cause pneumonia. This can help guide treatment for pneumonia.

HIV test

In people who have impaired immune systems, pneumonia may be caused by other organisms, including some forms of fungi, such as Pneumocystis jiroveci (formerly called Pneumocystis carinii). This fungus often causes pneumonia in people who have AIDS. Some doctors may suggest an HIV test if they think that Pneumocystis jiroveci is causing the pneumonia.

Other lung tests

If you have severe pneumonia, you may need other tests, including tests to check for complications and to find out how well your immune system is working.

    WebMD Medical Reference from Healthwise

    Last Updated: September 09, 2014
    This information is not intended to replace the advice of a doctor. Healthwise disclaims any liability for the decisions you make based on this information.
    Next Article:

    Today on WebMD

    man coughing
    You may not even know you have it.
    blood clot
    Signs of this potentially fatal complication.
    man coughing
    When a cold becomes bronchitis.
    human lungs
    Causes behind painful breathing, fluid buildup.

    chest x-ray
    Bronchitis Overview
    Copd Myth Fact Quiz
    Energy Boosting Foods

    woman coughing
    Lung xray and caduceus