Skip to content
PetriKey

Study guide · 9 min read

Gram-Positive vs Gram-Negative: The Difference That Explains Everything Else

Gram-positive and Gram-negative are usually introduced as two colours, which makes them feel like an arbitrary label you have to memorise organism by organism. They are not. They are two genuinely different cell-wall architectures, and almost everything you learn afterwards - why the stain works, why lipopolysaccharide belongs to one side, why selective media are built the way they are, why the identification flowcharts branch differently - falls out of that one structural fact.

This guide sets the two architectures side by side, then works outwards: the staining mechanism, the downstream consequences, the study sets on each side, and the organisms that refuse to fit the split. If you learn the wall first, the rest stops being a list.

The structural difference in one paragraph

A Gram-positive cell wall is a thick, multi-layered mesh of peptidoglycan sitting directly outside the plasma membrane, threaded with teichoic and lipoteichoic acids. There is no second membrane. A Gram-negative cell wall is the opposite arrangement: a thin single-layer sheet of peptidoglycan sits in a periplasmic space, sandwiched between the plasma membrane below and a second, outer membrane above. That outer membrane carries lipopolysaccharide on its outer face and channel proteins called porins through its thickness.

Everything else is downstream. Thick exposed peptidoglycan versus thin peptidoglycan under an outer membrane is the entire difference, and it is worth being able to draw both from memory in about fifteen seconds.

Peptidoglycan
The sugar-and-peptide mesh that gives a bacterial cell its shape and rigidity.Thick and outermost in Gram-positives; thin and internal in Gram-negatives
Outer membrane
A second lipid bilayer outside the peptidoglycan, unique to Gram-negatives.Carries lipopolysaccharide and porins
Teichoic acid
Anionic polymers woven through Gram-positive peptidoglycan.A Gram-positive-only surface feature
Periplasmic space
The compartment between the two membranes of a Gram-negative cell.Where beta-lactamase concentrates in Gram-negatives

Why the colours come out the way they do

The Gram stain runs four reagents in sequence: crystal violet as the primary stain, iodine as a mordant that locks it into a large complex inside the cell, an alcohol or acetone decolouriser, and safranin as a counterstain. Every cell takes up crystal violet. Every cell that loses it takes up safranin. So the whole result is decided in one step - decolourisation.

In a Gram-positive cell, the thick peptidoglycan dehydrates and tightens when alcohol hits it, and the bulky crystal violet-iodine complex cannot escape. The cell stays purple, and the safranin that follows is simply not visible against it. In a Gram-negative cell, the alcohol dissolves the lipid outer membrane outright. With the barrier gone and only a thin peptidoglycan layer left, the complex washes straight out and the colourless cell picks up safranin, reading pink.

Because the result hinges on a single timed step, the two classic artefacts both come from that step. Over-decolourising makes Gram-positives read pink. Under-decolourising makes Gram-negatives read purple. Ageing cultures of Gram-positive organisms drift the same way as over-decolourisation, because the wall degrades and stops holding the complex - the standard explanation for a gram-variable smear.

What follows from the outer membrane

Once you accept that Gram-negatives have a second membrane, a large block of later material becomes predictable rather than memorised.

Lipopolysaccharide sits in that outer membrane, and its lipid A portion is what the endotoxin concept refers to. That is why endotoxin is described as a Gram-negative property and as structural rather than secreted - it is part of the wall, released when the cell is disrupted, not exported by a living cell. Exotoxins, by contrast, are actively secreted proteins and are produced by organisms on both sides of the stain. Getting that distinction the right way round is one of the most reliably tested points in the whole topic.

Porins are the other consequence. Small molecules have to cross the outer membrane through these channels, so a Gram-negative cell has a permeability barrier that a Gram-positive cell simply does not. That barrier is the reason Gram-negative work-ups can lean on selective media at all: media that suppress Gram-positive growth work because the two wall types respond differently to bile salts and dyes. It is also why efflux pumps and porin changes appear in the Gram-negative resistance vocabulary specifically.

The periplasm matters too. Beta-lactamase produced by a Gram-negative cell is concentrated in the periplasmic space, right where it can intercept molecules coming through the porins, whereas a Gram-positive cell secretes it into the surroundings where it is diluted. Same enzyme concept, different geometry, different consequence.

  • Lipopolysaccharide and lipid A - Gram-negative only, and the basis of the endotoxin concept.
  • Porins - Gram-negative only; the route small molecules take across the outer membrane.
  • Teichoic acids - Gram-positive only.
  • Exotoxins - secreted proteins, produced on both sides of the stain.
  • Selective media that suppress Gram-positives - work because of the outer-membrane difference.

The Gram-positive study set

The Gram-positive side is small enough to hold in your head as a shape, which is why most courses start there. It splits cleanly into cocci and rods, and the cocci split again by arrangement.

The cocci in clusters are the staphylococci - Staphylococcus aureus, Staphylococcus epidermidis, Staphylococcus saprophyticus. The cocci in chains are the streptococci and enterococci, and that group is subdivided by hemolysis on blood agar before anything else: Streptococcus pyogenes and Streptococcus agalactiae on the beta-hemolytic branch, Streptococcus pneumoniae and the viridans group on the alpha branch, enterococci on the non-hemolytic branch.

The rods divide by whether they form endospores. Bacillus and Clostridium species do; Listeria monocytogenes, Corynebacterium diphtheriae, Actinomyces and Cutibacterium do not. Endospore formation is a genuinely useful branch because it is a Gram-positive-only trait, so it never competes with anything on the other side of the stain.

The Gram-negative study set

The Gram-negative side is larger and organised differently, because arrangement is rarely informative. The first cut is shape.

Gram-negative diplococci is a short, high-value list: Neisseria meningitidis, Neisseria gonorrhoeae, and Moraxella catarrhalis. Gram-negative rods are the bulk of the category, and they are usually sorted by oxidase first and by lactose fermentation on selective media second. The oxidase-positive branch collects Pseudomonas aeruginosa, the Neisseria species, Vibrio, Campylobacter and Helicobacter. The oxidase-negative branch is dominated by the Enterobacterales - Escherichia coli, Klebsiella pneumoniae, Proteus mirabilis, Salmonella enterica, Shigella species, Enterobacter, Serratia, Citrobacter, Yersinia.

A third group is defined by being fastidious rather than by shape: Haemophilus influenzae, Bordetella pertussis and Legionella pneumophila are grouped together in most courses because their growth requirements, not their morphology, are the memorable feature.

The organisms that break the split

A meaningful number of clinically important bacteria do not sit on either side, and they are disproportionately represented in exam questions precisely because they are exceptions.

Mycobacterium species have a peptidoglycan wall but layer it with mycolic acids, producing a waxy surface that resists the Gram stain and requires an acid-fast stain instead. Nocardia sits in the same awkward space - weakly Gram-positive, partially acid-fast, and easy to miss on either stain alone. Mycoplasma and Ureaplasma have no cell wall whatsoever, which removes both the stain result and any wall-targeting vulnerability. Chlamydia species are obligate intracellular organisms that are not visualised on a routine Gram stain. The spirochetes - Treponema pallidum, Borrelia burgdorferi, Leptospira interrogans - are technically Gram-negative in wall structure but too thin to resolve by ordinary light microscopy after staining. Rickettsia, Ehrlichia, Anaplasma and Coxiella are obligate intracellular and conventionally shown with Giemsa-type stains.

The useful framing is that each exception exists for a reason you can state in one clause: too waxy, no wall, intracellular, too thin. Four reasons, and every exception on the list is one of them.

Too waxy
Mycolic acids block the stain; needs acid-fast methods.Mycobacterium tuberculosis, Mycobacterium leprae, Nocardia (partial)
No cell wall
Nothing for the stain to bind.Mycoplasma pneumoniae, Ureaplasma urealyticum
Obligate intracellular
Not seen on a routine Gram stain of a specimen.Chlamydia trachomatis, Rickettsia rickettsii, Coxiella burnetii
Too thin to resolve
Gram-negative wall, but below the practical limit of light microscopy here.Treponema pallidum, Borrelia burgdorferi, Leptospira interrogans

How to revise the split without flashcard-thrashing

The mistake is to build one enormous list of Gram-positive organisms and another of Gram-negative organisms and try to memorise both. That produces recognition without structure, which collapses under a question that gives you a stain description instead of a name.

A better approach is to learn the two wall diagrams first, then learn the four or five consequences that hang off the outer membrane, then attach organisms to the branch points rather than to the category. Ask yourself what test comes next after each branch, not what organism comes next. Browsing the Gram-positive and Gram-negative sets on this site works well for that, because each organism carries its own morphology and lab clues, so you can see which branch it actually falls out of rather than memorising it in isolation.

Finally, drill the exceptions as their own small set. Four reasons, roughly a dozen organisms. It is a much smaller job than it looks, and it removes the most common source of confident wrong answers.

Frequently asked questions

What is the actual difference between Gram-positive and Gram-negative bacteria?

Cell-wall architecture. Gram-positive cells have a thick, outermost peptidoglycan layer threaded with teichoic acids and no second membrane. Gram-negative cells have a thin peptidoglycan layer sitting in a periplasmic space beneath an outer membrane that carries lipopolysaccharide and porins.

Why do Gram-negative bacteria stain pink?

The alcohol decolourisation step dissolves their outer membrane. With that barrier gone and only a thin peptidoglycan layer remaining, the crystal violet-iodine complex washes out of the cell, so the cell is colourless when safranin is applied and takes up the pink counterstain instead.

Is endotoxin only found in Gram-negative bacteria?

The endotoxin concept refers to lipid A, the toxic portion of lipopolysaccharide, which is a structural component of the Gram-negative outer membrane - so yes, it is a Gram-negative feature. Exotoxins are different: they are secreted proteins and are produced by organisms on both sides of the stain.

Which bacteria are neither Gram-positive nor Gram-negative?

Organisms that fail the stain for one of four reasons: a waxy mycolic-acid wall (Mycobacterium, and partially Nocardia), no cell wall at all (Mycoplasma, Ureaplasma), an obligate intracellular lifestyle (Chlamydia, Rickettsia, Coxiella), or cells too thin to resolve by light microscopy (the spirochetes).

Do I need to memorise every organism on each side?

It is far more efficient to learn the two wall structures and the branch points that follow them, then attach organisms to branches. Questions usually hand you a stain description or a test result rather than a name, so a structure you can walk down beats a list you can only recognise.

Keep going

Original study summary for coursework. Sources checked: OpenStax Microbiology 2e and NCBI Bookshelf Medical Microbiology; reviewed 2026-07. Describes cell-wall structure and interpretation concepts only - not a laboratory protocol, and not for handling specimens or identifying patient isolates.

OpenStax: Microbiology 2e - prokaryotic cell walls and staining methods - sourceNCBI Bookshelf: Medical Microbiology - bacterial structure, lipopolysaccharide, and classification - source