Sechenov School
Home › Microbiology › Gram Stain

Gram Stain

For medical students2 min readUpdated 2026-10-10

Gram staining is a fundamental bacterial differentiation technique based on the chemical and structural differences of their cell walls. The ability of microorganisms to retain a specific dye divides them into two major groups, which is critical for microbiology.

Gram-positive (Gram+)Have a thick cell wall and stain a deep blue-purple color.
Gram-negative (Gram-)Have a thin cell wall and stain red or pinkish-red.
Cell Wall FoundationPeptidoglycan, consisting of glycan chains cross-linked by peptides.
Muramyl DipeptideA peptidoglycan breakdown product that acts as a potent immunomodulator.

Principle of Bacterial Differentiation

The classification of microorganisms via the Gram stain depends directly on their cell wall architecture.

Physicochemical Basis of the Method

The difference in final color is explained by the reaction of peptidoglycan to sequential treatment with chemical reagents, primarily alcohol.

  1. In Gram-positive bacteria, the wall is based on a robust, multilayered peptidoglycan. When treated with alcohol, this dense matrix tightly traps the crystal violet-iodine complex inside the cell. Therefore, the cells retain their primary blue-purple hue.
  2. In Gram-negative bacteria, the peptidoglycan content is critically low—accounting for only 5–10% of the wall mass. Alcohol exposure rapidly washes out the primary dye, completely decolorizing the cell. To visualize these bacteria, a counterstain (such as safranin or basic fuchsin) is applied, imparting a red color.

Peptidoglycan Biochemistry

Peptidoglycan is a complex polymer providing structural strength to the cell wall. Its molecular framework is formed by glycan chains consisting of alternating molecules of:

To make the wall monolithic, these glycan chains are interconnected by strong peptide cross-links.

Lysozyme Action and Immune Response

The body possesses a natural mechanism for degrading the bacterial wall using the enzyme lysozyme. Lysozyme acts by specifically cleaving the chemical bonds within the glycan chains of peptidoglycan.

The breakdown process of the bacterial wall plays a key role in immune activation. The primary cleavage product—muramyl dipeptide—is a potent immunomodulator that stimulates host defense responses.

Mnemonic

Gram-POSITIVE means POSITIVELY loaded with peptidoglycan (a thick wall that tightly holds the purple stain).

Frequently asked questions

What dyes are used as primary and counterstains in the Gram stain?

Crystal violet is used as the primary stain, and safranin or fuchsin as the counterstain.

  • Primary stain: Crystal violet, which forms a complex with iodine that is firmly retained by the peptidoglycan of Gram-positive bacteria.
  • Counterstain: Safranin or fuchsin, which is taken up by Gram-negative bacteria after they are decolorized by alcohol.
What steps are included in the standard bacterial Gram stain procedure?

The Gram stain procedure includes application of the primary stain with iodine, alcohol decolorization, and counterstaining.

  • Primary staining: Application of crystal violet and iodine to form a stained complex.
  • Decolorization: Treatment with alcohol, which washes the dye out of the Gram-negative cell wall.
  • Counterstaining: Use of safranin or fuchsin to color the decolorized cells red.
Why are Gram-positive bacteria not decolorized by alcohol?

They possess a thick, multilayered peptidoglycan network that traps the crystal violet-iodine complex tightly inside the cell after alcohol treatment.

Which dye gives Gram-negative bacteria their red color?

The red color is provided by a counterstain, such as safranin or fuchsin, which is absorbed by the cells after complete alcohol decolorization.

What components make up the glycan chains?

They consist of alternating residues of N-acetylglucosamine and N-acetylmuramic acid.

How does lysozyme affect bacteria?

The enzyme lysozyme cleaves chemical bonds directly within the peptidoglycan glycan chains, leading to cell wall degradation.

Go deeper

More topics in Microbiology

Molecular-Genetic Period in MicrobiologyDysbacteriosisAnti-Protozoan and Anti-Helminthic ImmunityHighly Dangerous and Quarantine InfectionsMicrobiology Laboratory OrganizationErgotismBacterial Growth and ReproductionMicrobiological Examination of FecesViral GeneticsGranulocytesDiagnostic AgentsModern Methods of ImmunodiagnosticsMicrobiology →