Proceeds from website advertising help sustain Lab Tests Online. AACC is a not-for-profit organization and does not endorse non-AACC products and services.

Gram Stain

Print this article
Share this page:
Also known as: Gram's Stain
Formal name: Gram Stain

At a Glance

Why Get Tested?

To detect the presence and identify the general type of bacteria or sometimes fungi (microorganisms) in a sample taken from the site of a suspected infection; to generally classify bacteria grown in culture so that further identification tests can be performed and appropriate treatment given

When to Get Tested?

When your health care provider suspects that you have a bacterial (or sometimes fungal) infection; often whenever a culture is requested

Sample Required?

Pus, body fluid, sputum, or swab of cells taken from the site of an infection; a sample of bacteria or fungi grown and isolated in culture

Test Preparation Needed?


The Test Sample

What is being tested?

A Gram stain is a laboratory procedure used to detect the presence of bacteria and sometimes fungi in a sample taken from the site of a suspected infection. It gives relatively quick results as to whether bacteria or fungi are present and, if so, the general type(s).

The Gram stain involves applying a sample from the infected area onto a glass slide and allowing it to dry. The slide is then treated with a special stain and examined under a microscope by a trained laboratorian. Any bacteria that may be present are categorized by color and shape during the microscopic evaluation:

  • Color — typically bacteria may be either "Gram positive" (purple) or "Gram negative" (pink)
  • Shape — the most common shapes include round (cocci) or rod-shaped (bacilli)

Illustration of the differences between a positive and negative gram stain

Additional information may be obtained by observing the groupings of the bacteria on the slide, such as cocci that are present singly, in pairs, in groups of four, in clusters or in chains, or bacilli that are thick, thin, short, long, or have enlarged spores on one end. Any bacteria that are present within white blood cells (intracellular) are also noted.

The Gram stain color and the bacterial shape give clues as to what bacteria might be causing the infection. One example of gram-positive cocci is Staphylococcus aureus, the bacteria associated with staph infections. An example of gram-negative bacteria is Escherichia coli, the cause of many urinary tract infections.

Fungi (in the form of yeasts or molds) can also be initially recognized with the Gram stain, but viruses cannot be seen with a Gram stain.

Though Gram stains are useful as initial tests for detecting and identifying general types of bacteria or fungi, results are usually considered preliminary. Results of a culture and/or other tests such as antigen, antibody, or molecular testing for particular types of bacteria are necessary to confirm a diagnosis. Sometimes, susceptibility testing is necessary to determine which antibiotic will be most effective in treating the infection.

How is the sample collected for testing?

Several different types of samples may be collected for Gram stains. Some samples are collected using sterile swabs to obtain cells or exudate at the site of a suspected infection. Other samples, such as urine or sputum, may be collected in a sterile container. Some body fluids may be collected by needle and syringe. A swab may be used to collect a sample of bacteria grown and isolated in a culture.

NOTE: If undergoing medical tests makes you or someone you care for anxious, embarrassed, or even difficult to manage, you might consider reading one or more of the following articles: Coping with Test Pain, Discomfort, and Anxiety, Tips on Blood Testing, Tips to Help Children through Their Medical Tests, and Tips to Help the Elderly through Their Medical Tests.

Another article, Follow That Sample, provides a glimpse at the collection and processing of a blood sample and throat culture.

Is any test preparation needed to ensure the quality of the sample?

No test preparation is needed.

The Test

Common Questions

Ask a Laboratory Scientist

Form temporarily unavailable

Due to a dramatic increase in the number of questions submitted to the volunteer laboratory scientists who respond to our users, we have had to limit the number of questions that can be submitted each day. Unfortunately, we have reached that limit today and are unable to accept your inquiry now. We understand that your questions are vital to your health and peace of mind, and recommend instead that you speak with your doctor or another healthcare professional. We apologize for this inconvenience.

This was not an easy step for us to take, as the volunteers on the response team are dedicated to the work they do and are often inspired by the help they can provide. We are actively seeking to expand our capability so that we can again accept and answer all user questions. We will accept and respond to the same limited number of questions tomorrow, but expect to resume the service, 24/7, as soon as possible.

Article Sources

« Return to Related Pages

NOTE: This article is based on research that utilizes the sources cited here as well as the collective experience of the Lab Tests Online Editorial Review Board. This article is periodically reviewed by the Editorial Board and may be updated as a result of the review. Any new sources cited will be added to the list and distinguished from the original sources used.

Sources Used in Current Review

(© 2012) Cavanaugh D, Keen M, American Society for Microbiology. The Gram Stain: An Animated Approach. Available online at through Accessed September 2013.

(Updated July 22, 2103) Smith A, Hussey M, American Society for Microbiology. Gram Stain Protocols. Available online at through Accessed September 2013.

(Updated February 21, 2013) Patolia S, et al. Gram Stain. Medscape Reference article. Available online at through Accessed September 2013.

Uehara Y, et al. Impact of Reporting Gram Stain Results from Blood Culture Bottles on the Selection of Antimicrobial Agents. Am J Clin Pathol 2009 132:18-25. Available online at through Accessed September 2013.

Munson E, et al. Mechanisms To Assess Gram Stain Interpretation Proficiency of Technologists at Satellite Laboratories. J. Clin. Microbiol. November 2007 vol. 45 no. 11 3754-3758. Available online at through Accessed September 2013.

Forbes, B. et. al. (© 2007). Bailey & Scott's Diagnostic Microbiology, 12th Edition: Mosby Elsevier Press, St. Louis, MO. Pp 80-83.

Sources Used in Previous Reviews

Physician's Office Laboratory Microscopy Atlas, 3rd ed, 2007. Henderson & Murray. American Academy for Family Physicians Proficiency Testing.

Pagana, K. D. & Pagana, T. J. (© 2007). Mosby's Diagnostic and Laboratory Test Reference 8th Edition: Mosby, Inc., Saint Louis, MO. Pp 694, 707, 714, 883-884.

Wu, A. (© 2006). Tietz Clinical Guide to Laboratory Tests, 4th Edition: Saunders Elsevier, St. Louis, MO. Pp 1564-1565.

Forbes, B. et. al. (© 2007). Bailey & Scott's Diagnostic Microbiology, 12th Edition: Mosby Elsevier Press, St. Louis, MO. Pp 80-83.

Vorvick, L. (Updated 2009 August 9). Endocervical gram stain. MedlinePlus Medical Encyclopedia [On-line information]. Available online at Accessed February 2010.

Yuki Uehara, Y. et. al. (2009 September 18). Impact of Reporting Gram Stain Results from Blood Culture Bottles on the Selection of Antimicrobial Agents. Medscape Today from American Journal of Clinical Pathology [On-line information]. Available online at through Accessed February 2010.

Henry's Clinical Diagnosis and Management by Laboratory Methods. 21st ed. McPherson R, Pincus M, eds. Philadelphia, PA: Saunders Elsevier: 2007, Pp 1016-1017.