Skip to main content
v2026.11,858 entries · CC-BY 4.0
LAC HealthMedical & Research SuppliesReagents, PPE & instruments — chain-of-custody documented.Fast, traceable sourcing built for regulated research environments, from bench consumables to instrumentation.Shop lac.us CodeCASRAIlac.us

Differential Staining: How Gram and Acid-Fast Stains Separate Cells and What Each Result Cannot Tell You

Differential staining separates cell types by color. See how Gram and acid-fast stains work, what each cannot tell you, and the QC controls that catch errors.

Written and maintained by CASRAI Editorial Board

Last updated

Differential staining uses two or more dyes and a decolorizing step so that different cell types end up different colors on the same slide. The two workhorse examples are the Gram stain, which separates bacteria by cell-wall behavior, and acid-fast staining, which picks out organisms that resist decolorization by acid. Both are screening tools: they sort cells into groups, they do not name a species.

Definition and scope

A simple stain applies a single dye, so every cell takes the same color and the slide shows shape, size and arrangement. A differential stain adds a decolorizer and usually a second dye (a counterstain), so cells that hold the first dye look different from cells that lose it. The difference in color is the result.

This page covers the principle and the two differential stains most laboratories run on bacteria. Step-by-step bench procedures are in the dedicated guides: Gram stain procedure, reagents and results and Ziehl-Neelsen staining. Routine and special tissue stains are covered in histological staining.

How differential staining works in practice

The Gram stain

StatPearls describes the basic principle of Gram staining as the ability of the bacterial cell wall to retain the crystal violet dye. The reagent set is crystal violet as the primary stain, Gram’s iodine as the mordant, an acetone and ethanol (50:50) decolorizer, and basic fuchsin as the counterstain. Gram-positive organisms appear purple or blue and gram-negative organisms appear pink or red. The same source links the difference to cell-wall composition: gram-positive organisms have higher peptidoglycan content, gram-negative organisms have higher lipid content, and the decolorizing solvent dissolves the lipid layer of gram-negative cells so they lose the primary stain.

The acid-fast stain

Acid-fastness is the ability to resist decolorization by acids during staining. In the Ziehl-Neelsen method, carbolfuchsin is applied with heat, acid alcohol removes the stain from cells that are not acid-fast, and a methylene blue counterstain colors the background, so acid-fast bacilli appear red on a blue field (StatPearls, Acid Fast Bacteria). The CDC, WHO and partner agencies’ laboratory training program puts it the same way: tubercle bacilli retain the primary stain even after strong acid, so in Ziehl-Neelsen staining the acid-fast organisms appear red.

What each stain separates, and what it cannot tell you

The comparison below keeps the limits of each result next to the result itself.

Stain What separates the cells Typical result What it cannot tell you
Gram stain Cell wall retains or loses crystal violet after decolorizing Gram-positive purple or blue; gram-negative pink or red Species or resistance (less specific than molecular techniques); organisms with no cell wall, such as Mycoplasma, are not helped by it; Chlamydia and Rickettsia are too small to assess well
Ziehl-Neelsen (acid-fast) Cells resist decolorization by acid alcohol Acid-fast bacilli red on a blue background Only indicates that acid-fast organisms or structures are present; reported sensitivity and specificity for pulmonary tuberculosis are up to 70% and 97.1%; cannot separate drug-resistant from susceptible TB, which needs culture and susceptibility testing

Two further points from the same sources make the table less tidy than a textbook color chart. Some organisms are gram-variable and do not group cleanly as positive or negative, Actinomyces species being the StatPearls example. And acid-fast is not unique to mycobacteria: StatPearls notes that bacterial endospores and the head of sperm are also acid-fast structures.

Where it matters for labs and clinics: a quality-control checklist

Control and reagent practices matter as much as technique. The CDC, WHO, IUATLD, PAHO, INDRE and APHL Acid-Fast Direct Smear Microscopy: A Laboratory Training Program (July 2000) sets out these points for acid-fast smears:

  • Include a positive and a negative control slide every day, and run quality control on each new batch of stain.
  • Give every reagent an expiration date and discard expired reagents.
  • Filter carbol fuchsin before use, and discard the stain if precipitate is still present.
  • Read a red negative control as incomplete decolorization, and a positive control showing no acid-fast bacilli as defective reagents or a wrong procedure.

The same document lists how one smear can fail in opposite directions. False positives come from unfiltered fuchsin, reused containers or positive slides, contaminated immersion oil and inadequate decolorization. False negatives come from a poor specimen, excessive decolorization and reading fewer than 100 fields. Decolorization is therefore the step to watch: inadequate decolorization appears among the false-positive causes and excessive decolorization among the false-negative causes. StatPearls adds that errors in smear thickness, staining, heating and reading also produce false results.

Related reading on fluorescent acid-fast screening is in auramine-rhodamine staining, and the wider discipline is introduced in what is microbiology.

Common misunderstandings

  • A Gram result is not an identification. It narrows the possibilities and guides the next test; StatPearls states it is less specific than advanced molecular techniques.
  • Pink does not always mean gram-negative, and purple does not always mean gram-positive. Gram-variable organisms such as Actinomyces do not group cleanly as either.
  • A positive acid-fast smear is not a tuberculosis diagnosis by itself. The stain only shows acid-fast organisms or structures are present.
  • Acid-fast and gram-positive are different properties. They test different things: retention of crystal violet after a solvent wash versus resistance to acid decolorization.

FAQ

What is the difference between simple and differential staining?

A simple stain uses one dye and colors all cells alike. A differential stain uses a decolorizing step and usually a counterstain so that different cell types appear in different colors.

Why is a counterstain used?

The counterstain colors the cells that lose the primary stain during decolorization. In the Gram stain basic fuchsin turns decolorized gram-negative cells pink or red, and in the Ziehl-Neelsen stain methylene blue gives the non-acid-fast background a blue color.

Is acid-fast the same as gram-positive?

No. Gram staining depends on how the cell wall retains crystal violet after decolorizing with solvent, while acid-fastness is resistance to decolorization by acid. Each stain answers a different question about the same bacteria.

Sources

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · free to try

Ask about Differential Staining: How Gram and Acid-Fast Stains Separate Cells and What Each Result Cannot Tell You

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →