# What is Gram staining?

> Written with AI · [Biotechnology: microbiology, bacteria, growth and fermentation](https://lessoons.com/en/microbiology) · Grade 10 · 2026-11-12 · https://lessoons.com/en/microbiology/what-is-gram-staining

Gram staining is a four-step method that sorts almost all bacteria into two groups by their cell wall. Crystal violet, then iodine, then alcohol, then safranin: gram-positive bacteria, with a thick peptidoglycan wall, stay purple, while gram-negative bacteria, with a thin wall and an outer membrane, lose the purple and turn pink. Hans Christian Gram devised it in 1884.

## The topic explained

### Two colors, two kinds of wall

Most bacteria are colorless under the microscope, so they are stained. Gram staining, devised by the Danish scientist Hans Christian Gram in 1884, is a differential stain: it colors different bacteria differently. At the end, gram-positive bacteria are purple and gram-negative bacteria are pink. The difference comes from their cell walls, so the color tells you something real about the cell, and together with its shape it is often the first step in identifying a bacterium.

### The four steps, and what each one does

The bacteria are spread thinly on a glass slide and fixed by gentle heat. Then come four solutions, always in this order. Crystal violet, the primary stain, colors every cell purple. Iodine, the mordant, binds the crystal violet into a larger complex that is harder to wash out. Alcohol, the decolorizer, is the step that decides: it washes the purple out of some cells and not others. Safranin, the counterstain, colors pink every cell that lost its purple; cells that kept the purple stay purple, because it hides the pink.

A common mistake is to think that gram-negative cells never took up the purple. They did, at step 1; they lost it at step 3. That is why timing matters: too long in alcohol and even gram-positive cells lose their color and look pink.

### Why the wall decides the color

Both kinds of bacteria have a cell membrane and a wall of peptidoglycan, a mesh of sugars and short amino acid chains. In a gram-positive cell the peptidoglycan is thick, many layers deep, and it traps the crystal violet and iodine complex when the alcohol dries and tightens it. In a gram-negative cell the peptidoglycan is thin and lies under an outer membrane made of fats. The alcohol dissolves that outer membrane and easily washes the dye out through the thin layer beneath it.

### Reading the slide, and why it matters

Read the color and the shape together. Purple spheres in clusters could be Staphylococcus aureus, a gram-positive bacterium; pink rods could be Escherichia coli, a gram-negative one. The stain is quick and cheap, so laboratories use it to narrow the possibilities before slower tests.

The wall also matters for antibiotics. Penicillin and its relatives stop bacteria from building peptidoglycan, and the outer membrane of gram-negative bacteria keeps many substances, some antibiotics among them, from reaching their target. This is one reason the two groups respond differently to some antibiotics. Choosing a treatment is a doctor's decision, made with further tests.

## Practice: Gram staining

For 10th grade biotechnology students. Answer each question from the sheet, then check your work against the answers.

1. **Put the four solutions of the Gram stain in order and give the role of each: safranin, alcohol, crystal violet, iodine.** — 1. Crystal violet, the primary stain, colors all cells purple. 2. Iodine, the mordant, binds it into a larger complex. 3. Alcohol, the decolorizer, washes the purple out of gram-negative cells. 4. Safranin, the counterstain, colors the decolorized cells pink.
2. **Fill in the color of the gram-negative cell after steps 3 and 4.** — After alcohol: colorless, because it lost the crystal violet. After safranin: pink.
3. **Name the layers marked A and B, and explain how each affects the result of the stain.** — A: the thick peptidoglycan of the gram-positive cell, which traps the crystal violet and iodine complex, so the cell stays purple. B: the outer membrane of the gram-negative cell, which alcohol dissolves, so the dye washes out through the thin peptidoglycan.
4. **Complete the reading diagram: what are purple cells, and what are pink cells?** — Purple cells are gram-positive, for example Staphylococcus aureus. Pink cells are gram-negative, for example Escherichia coli.
5. **A student forgot the alcohol step. What color will gram-negative bacteria be, and why?** — Purple. Without the decolorizer the crystal violet is never washed out, so every cell keeps it and the safranin cannot show. The gram-negative bacteria would wrongly look gram-positive.
6. **A student left the slide in alcohol for far too long. What could go wrong?** — Even gram-positive cells can lose the crystal violet, and after safranin they would look pink, so they would wrongly be read as gram-negative.
7. **Why can the outer membrane make gram-negative bacteria harder to stop with some antibiotics?** — The outer membrane is a barrier made of fats that keeps many substances, including some antibiotics, from reaching the peptidoglycan and the inside of the cell.

## Common questions

### Why is the stain called Gram with a capital G?

It is named after Hans Christian Gram, the Danish scientist who devised it in 1884. The groups are usually written in lower case: gram-positive and gram-negative.

### Do all bacteria stain clearly with the Gram stain?

No. Some bacteria have unusual walls, such as the waxy wall of the tuberculosis bacterium or no wall at all in mycoplasma, and need other stains. Very old cultures can also give mixed results.

### Is E. coli gram-positive or gram-negative?

E. coli is gram-negative: it has a thin peptidoglycan layer and an outer membrane, so it ends the stain pink.

### What does a mordant do?

A mordant fixes a dye more firmly in place. In the Gram stain, iodine binds crystal violet into a larger complex that the thick wall of gram-positive cells can hold on to.

### Can Gram staining tell you exactly which bacterium you have?

No. It sorts bacteria into two large groups and, with the shape, narrows the possibilities. Exact identification needs further tests, such as growth on special media, biochemical tests or reading the DNA.
