Skip navigation

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

URL of this page: //medlineplus.gov/ency/article/003765.htm

Sputum Gram stain

A sputum Gram stain is a laboratory test used to detect bacteria in a sputum sample. Sputum is the material that comes up from your air passages when you cough very deeply.

The Gram stain method is one of the most commonly used methods to rapidly identify the type of bacteria in a bacterial infection, including pneumonia.

How the Test is Performed

A sputum sample is needed.

  • You will be asked to cough deeply and spit any substance that comes up from your lungs (sputum) into a special container.
  • You may be asked to breathe in a mist of salty steam. This makes you cough more deeply and produce sputum.
  • If you still do not produce enough sputum, you might have a procedure called bronchoscopy.
  • To increase the accuracy, this test is sometimes done 3 times, often 3 days in a row.

The sample is sent to a lab. The lab team member places a very thin layer of the sample onto a glass slide. This is called a smear. Stains are placed on the sample. The lab team member looks at the stained slide under a microscope, checking for bacteria and white blood cells. The color, size, and shape of the cells help identify the bacteria.

How to Prepare for the Test

Drinking fluids the night before the test may help your lungs produce phlegm. It makes the test more accurate if it is done first thing in the morning.

If you are having a bronchoscopy, follow your provider's instructions on how to prepare for the procedure.

How the Test will Feel

There is no discomfort, unless a bronchoscopy needs to be performed.

Why the Test is Performed

Your health care provider may order this test if you have a persistent or prolonged cough, or if you are coughing up material that has a foul odor or unusual color. The test may also be done if you have other signs and symptoms of respiratory disease or infection.

Normal Results

A normal result means that few to no white blood cells and no bacteria were seen in the sample. The sputum is clear, thin, and odorless.

What Abnormal Results Mean

An abnormal result means that bacteria are seen in the test sample. You may have a bacterial infection. A culture is needed to confirm the diagnosis.

Risks

There are no risks, unless bronchoscopy is performed.

Alternative Names

Gram stain of sputum

Images

References

Dockrell DH, Ho A, Gordon SB. Community-acquired pneumonia. In: Broaddus VC, Ernst JD, King TE, et al, eds. Murray and Nadel's Textbook of Respiratory Medicine. 7th ed. Philadelphia, PA: Elsevier; 2022:chap 46.

Plourde AR, Beavis KG. Specimen collection and handling for diagnosis of infectious diseases. In: McPherson RA, Pincus MR, eds. Henry's Clinical Diagnosis and Management by Laboratory Methods. 24th ed. Philadelphia, PA: Elsevier; 2022:chap 66.

Review Date 12/4/2022

Updated by: Jatin M. Vyas, MD, PhD, Associate Professor in Medicine, Harvard Medical School; Associate in Medicine, Division of Infectious Disease, Department of Medicine, Massachusetts General Hospital, Boston, MA. Also reviewed by David C. Dugdale, MD, Medical Director, Brenda Conaway, Editorial Director, and the A.D.A.M. Editorial team.

Related MedlinePlus Health Topics