Medscape is available in 5 Language Editions – Choose your Edition here.


Gram Stain 

  • Author: Setu K Patolia, MD, MPH; Chief Editor: Eric B Staros, MD  more...
Updated: Dec 11, 2015

Reference Range

Gram stain is the most common stain used in microbiology to identify bacteria. It is named after Christian Gram, who first developed the technique to identify the organism responsible for pneumonia.

A normal value is defined as no pathologic organism seen in the smear.



Gram-positive organisms are seen as blue/purple (see image below).

Gram-positive cocci. Gram-positive cocci.

Gram-negative organisms are seen as pink/red (see image below).

Gram-negative bacilli. Gram-negative bacilli.

Gram-variable organisms are those that cannot be grouped as either negative or positive.

The appearance of organisms that stain gram-positive or -negative means that the smear contains organisms. These organisms may be pathogenic or nonpathogenic. Further identification is required to interpret the results.


Collection and Panels

The specimen can be collected from any source (eg, sputum, wound, cerebrospinal fluid [CSF], pleural fluid, peritoneal fluid, urine, nose, rectum).

The specimen is spread on a slide and a thin smear should be prepared, as thick smears may diminish the accuracy of interpretation. There should be no areas with inconsistency or clumps.

Tray for staining slides. Tray for staining slides.

Slides can also be made from cultured specimens or tissues.

The staining procedure consist of 7 steps, as follows[1] :

  1. The smear is fixed with 95% methanol for 2 minutes or heat fixation technique
  2. After preparing the smear, the slide is stained for one minute with primary stain, which consists of crystal violet
  3. The slide is washed with flowing water for 2 seconds
  4. The slide is flooded with Gram iodine, which acts as a mordant, for one minute
  5. The slide is washed with flowing water for 2 seconds
  6. A 50-50 mixture of acetone and 95% ethanol is used as decolorizing agent for 15 seconds
  7. The slide is flooded with counterstain safranin for 30 seconds to 1 minute

After staining, the slide is examined under microscope with oil immersion. The organism is identified as gram-positive or -negative based on the color and as bacilli or cocci based on the shape. Bacilli are rod-shaped organisms, while cocci are spherical in shape.

A variation of Gram staining is called Atkin Gram stain, in which the primary stain is gentian violet and mordant is Atkin iodine. This mordant is more effective in retaining the primary stain. These make stain less susceptible to decolorization.




Gram-positive organisms have a higher content of peptidoglycan in their cell wall than gram-negative organisms. Approximately 40%-80% of the dry weight of gram-positive bacteria consists of peptidoglycan, while gram-negative bacteria have only a single layer of peptidoglycan.[2]

When cells are stained with crystal violet, crystal violet binds to the cell wall. When ethanol is used as decolorizing agent, gram-negative bacteria lose their outer membrane because of the higher content of lipid, allowing crystal violet complex to leak through the cell wall. In contrast, in gram-positive organisms, because of the higher content of peptidoglycan in the cell wall, crystal violet is trapped inside the cell. Thus, they stain a purple/blue color. Gram-negative organisms take the counterstain and stain pink/red.


Gram stain is used to identify the organism causing a disease or pathological condition.

Examples of gram-positive cocci include Staphylococcus and Streptococcus species.

Gram-positive bacilli include Corynebacterium, Clostridium, and Listeria species.

Gram-negative cocci include Neisseria gonorrhoeae, Neisseria meningitides, and Moraxella species.

Gram-negative bacilli include Escherichia coli, Pseudomonas species, Proteus species, and Klebsiella species.

Gram-variable organisms include Actinomyces species.


The smear should be thin and not clumped.

The decolorizing time may differ based on the thickness of the smear; thin smears require shorter decolorizing time than thick smears.

If the organism culture is old, it may lose the peptidoglycan cell wall, causing a gram-positive organism to appear as gram-negative or gram-variable.

Organisms without a cell wall (eg, Mycoplasma species) and small bacteria (eg, Chlamydia and Rickettsia species) do not stain with Gram stain.[3, 4]

Legionella species do not stain but are visualized from growth in a culture medium.

Mycobacteria usually do not stain with Gram stain.

False results may result from the following circumstances:

  • Patient receiving antibiotics before specimen collection
  • Very young or very old culture
  • Inexperience
  • Excessive heat fixation
  • Improper decolorization

Enhancement methods to visualize gram-negative organisms include the following[5] :

  • Staining organism darker with methylene blue
  • Contrasting background from organisms with tartrazine fast green
  • Cytocentrifuge technique

KOH staining can be used to help differentiate gram-negative organisms from gram-positive ones based on the viscosity and string out of the suspension.[6, 7]

Contributor Information and Disclosures

Setu K Patolia, MD, MPH Assistant Professor of Internal Medicine, Division of Pulmonary, Critical Care and Sleep Medicine, Director of Interventional Pulmonary, St Louis University School of Medicine

Setu K Patolia, MD, MPH is a member of the following medical societies: American College of Chest Physicians, American College of Physicians, American Thoracic Society, Society of Critical Care Medicine

Disclosure: Nothing to disclose.

Chief Editor

Eric B Staros, MD Associate Professor of Pathology, St Louis University School of Medicine; Director of Clinical Laboratories, Director of Cytopathology, Department of Pathology, St Louis University Hospital

Eric B Staros, MD is a member of the following medical societies: American Medical Association, American Society for Clinical Pathology, College of American Pathologists, Association for Molecular Pathology

Disclosure: Nothing to disclose.


Judy Lin, MD

Disclosure: Nothing to disclose.

  1. Halebian S, Harris B, Finegold SM, Rolfe RD. Rapid method that aids in distinguishing Gram-positive from Gram-negative anaerobic bacteria. J. Clin. Microbiol. 1981. 13(3):444-48.

  2. Murray PR, Baron EJ, Pfaller MA, Tenover FC, Yolken RH. Manual of clinical microbiology. 6th. 1995. 39-41.

  3. Bartelsman M, van Rooijen MS, Alba S, Vaughan K, Faber WR, Straetemans M, et al. Point-of-care management of urogenital Chlamydia trachomatis via Gram-stained smear analysis in male high-risk patients. Diagnostic accuracy and cost-effectiveness before and after changing the screening indication at the STI Clinic in Amsterdam. Sex Transm Infect. 2015 Apr 8. [Medline].

  4. Jahan F, Shamsuzzaman SM, Akter S. Diagnosis of common bacterial causes of urethritis in men by Gram stain, culture and multiplex PCR. Malays J Pathol. 2014 Dec. 36 (3):175-80. [Medline].

  5. Guembe M, Pérez-Granda MJ, Rivera ML, Martín-Rabadán P, Bouza E. Performing Gram stain directly on catheter tips: assessment of the quality of the observation process. Eur J Clin Microbiol Infect Dis. 2015 Jun. 34 (6):1091-5. [Medline].

  6. Powers EM. Efficacy of the Ryu. Nonstaining KOH Technique for rapidly determining Gram reactions of food borne and waterborne bacteria and yeasts. Applied and environmental microbiology. 1995. 61(10):3756-58.

  7. Winn Jr. WC, Allen SD, Janda WM, Koneman EW, Procop G., Schreckernberger PC, et al. Koneman’s color atlas and Textbook of Diagnostic Microbiology. 6. 2005. 184-186.

Tray for staining slides.
Gram-positive cocci.
Gram-negative bacilli.
All material on this website is protected by copyright, Copyright © 1994-2016 by WebMD LLC. This website also contains material copyrighted by 3rd parties.