← Common Core coursesBMS 114 · General Microbiology I
BMS 114 · Common Core (Tronc commun)Section 3.3 · The bacterial cell
Section 11 of 33

The cell wall and the Gram stain

Explain what the bacterial cell wall does, describe how Gram-positive and Gram-negative walls differ, work through the four steps of the Gram stain and explain why alcohol decolourises one wall but not the other, and use the result correctly as a rapid first step in meningitis and septic arthritis.

New to this course? How each section works
  1. Learn gives you one short idea at a time. Each idea starts with a single sentence, then explains it, gives an example, and asks you a small question you can answer straight away.
  2. Explore shows a diagram of the same ideas. Click the numbered parts to read what each one is.
  3. Check asks a few questions. Answer them all correctly to finish the section and unlock the next one.
  4. “Go deeper” is optional. It adds mechanism and extra detail for when you are ready — nothing you need for the checks is hidden there.
Why this matters

The Gram stain is the fastest answer a microbiology laboratory can give you, and in meningitis or septic arthritis the first antibiotic is chosen on it. To use that answer safely you must know what the stain is really reading: the architecture of the bacterial wall. A thick wall keeps the dye, a thin wall loses it, and the thin wall belongs to organisms that carry an endotoxin able to drop the blood pressure within hours. This section explains the structure, the chemistry of the stain, and the consequences at the bedside.

What you need to know first

You need the cell idea from earlier sections: a boundary, an interior and genetic material. Four words are defined below and used throughout — peptidoglycan, Gram-positive, Gram-negative and endotoxin. The membrane and the cytoplasm have already been described in section 3.2; here the focus is the envelope around them and the stain that reveals it.

Words to know (5)
Peptidoglycan
The mesh-like polymer of sugars and short peptides that gives the bacterial wall its strength and its shape. Penicillin weakens peptidoglycan while the bacterium is growing.
Gram-positive
Describing a bacterium whose thick peptidoglycan wall keeps the crystal violet–iodine complex, so it looks purple under the microscope. Staphylococcus aureus is Gram-positive.
Gram-negative
Describing a bacterium whose thin peptidoglycan wall loses the violet complex during decolourisation and then takes up the pink counterstain. Escherichia coli is Gram-negative.
Outer membrane
The second membrane outside the peptidoglycan layer of a Gram-negative bacterium, containing lipopolysaccharide and proteins. The outer membrane slows the entry of many antibiotics and dyes.
Lipopolysaccharide (endotoxin)
A large molecule of lipid and sugar embedded in the outer membrane of Gram-negative bacteria; released when the cell breaks up, it triggers fever and shock. Endotoxin from Gram-negative bacteria can cause septic shock.
One idea at a timeIdea 1 / 6

In one sentence The cell wall is a rigid outer layer that keeps the bacterium’s shape and stops it bursting in dilute surroundings.

The cell wall is the bacterium’s pressure vessel

A bacterium lives in surroundings that are usually more dilute than its own interior, so water moves into the cell by osmosis. Without a strong outer layer the cell would swell and burst. The cell wall is that outer layer: it gives the bacterium its shape — round, rod-shaped or spiral — and protects it against osmotic damage. It lies outside the cytoplasmic membrane. Its strength comes from a polymer called peptidoglycan, which forms a continuous mesh around the cell. Not every bacterium has a wall: the mycoplasmas have none, which is one reason they are fragile and take unusual shapes. Because human cells have no peptidoglycan, the wall is a safe target for drugs such as penicillin, which stop it being built while the bacterium is growing.

For example

Place a bacterium in pure water, and the wall is the only reason it does not fill up and burst like an over-inflated balloon.

Pause and check yourself

Why can a drug that blocks peptidoglycan kill a bacterium without harming the patient’s cells?

Show the answer

Because human cells have no peptidoglycan wall. The drug attacks a structure the bacterium must build in order to survive, while the patient’s own cells continue to work normally.

Read detailed explanations
The chemistry of peptidoglycan, and why alcohol can wash one wall clean

Peptidoglycan, also called murein, is a single giant molecule woven around the whole bacterium. Its backbone is made of two alternating aminosugars, N-acetylglucosamine and N-acetylmuramic acid, joined into long glycan strands. Short peptide chains hang from the muramic acid units, and neighbouring strands are tied together by cross-links between those chains; in Staphylococcus aureus a pentaglycine bridge joins them, and the enzyme that forms the bond is a transpeptidase anchored in the membrane. Penicillin and other beta-lactams imitate the end of the peptide chain, occupy the transpeptidase and prevent new cross-links, so a growing bacterium builds a wall full of holes and bursts. Lysozyme, the enzyme in tears and saliva, attacks the same layer from a different angle by cutting the bond between the two aminosugars. The Gram-positive wall is also threaded with teichoic acids, negatively charged polymers that help bind cations and are not found in Gram-negative organisms. The thickness of this mesh explains the stain. Alcohol dehydrates the peptidoglycan and shrinks it; in a thick wall the pores close and the bulky crystal violet–iodine complex is physically trapped, whereas a thin wall has too little material to close around it. In Gram-negative organisms the alcohol also dissolves the lipopolysaccharide-rich outer membrane and extracts lipid from it, so the dye leaves freely. That is why the decolourisation step, not the dye, decides the Gram reaction, and why the timing and the thickness of the film are the two variables a laboratory controls most carefully. It also explains Gram-variability: an old culture whose wall has begun to autolyse may hold the dye weakly and give an ambiguous result.

Why Gram-negative sepsis causes fever, low blood pressure and shock while Gram-positive infection often suppurates locally

When Gram-negative bacteria multiply in the bloodstream, the lipid A portion of their lipopolysaccharide is the signal that turns a local problem into a general one. Lipid A binds to receptors on monocytes and macrophages and makes them release cytokines — tumour necrosis factor, interleukin-1 and interleukin-6 — into the circulation. Those cytokines act on the hypothalamus to raise the body temperature, producing fever and rigors, and they make blood vessels dilate. Widespread vasodilatation lowers the systemic vascular resistance, so blood pressure falls even though the heart is beating faster; capillaries leak fluid into the tissues, and the combination of vasodilatation, leakage, microthrombosis and poor tissue perfusion produces septic shock. Lactate rises as tissues are starved of oxygen, and myocardial depression may follow. Endotoxin is not destroyed by boiling and is not neutralised by ordinary antibiotics; killing the bacteria can even release a further wave of it, which is why septic shock can worsen in the first hours of correct treatment. Gram-positive organisms can also cause severe bloodstream infection, but their typical local behaviour is different. Many of them — Staphylococcus aureus and Streptococcus pyogenes are the classic examples — provoke a walled-off collection of neutrophils and dead tissue, an abscess, and the pus stays localised until it is drained. They produce enzymes such as coagulase that clot plasma around the infection, and they often secrete exotoxins that act at a distance. The practical difference for the nurse is therefore the pattern to watch for: a Gram-negative infection may present with fever, falling blood pressure, rapid breathing and confusion while the original site looks unimpressive, whereas a Gram-positive infection often declares itself as a painful, swollen, discharging focus. Both require the same discipline — culture before antibiotics, prompt treatment, and repeated measurement of vital signs.

What can make a Gram stain uninterpretable

A Gram report is only as trustworthy as the smear it came from, and several quite different problems can make it impossible to read. The commonest laboratory variable is decolourisation: too much alcohol, or alcohol left too long, strips the crystal violet from Gram-positive cells as well, so everything looks Gram-negative; too little leaves the violet in Gram-negative cells, so everything looks Gram-positive. Both errors are controlled by running a known positive and a known negative reference slide alongside the patient’s specimen and by keeping the timing constant. Smear thickness matters as much: a thick, dense film holds the dye and decolourises unevenly, so parts of the same field disagree. A very scanty specimen — few organisms in a large volume of fluid — may simply contain nothing to see, especially in early meningitis, where the cerebrospinal fluid can look clear and the stain be negative even though the patient is infected; a negative stain never excludes infection. The organism itself can mislead. Gram-variable species, such as some Bacillus and Clostridium, and senescent cultures whose wall has begun to autolyse, stain weakly and inconsistently. Mycobacterium tuberculosis has a waxy, mycolic-acid-rich wall that resists the dyes and is not seen on an ordinary Gram stain at all; it needs the Ziehl–Neelsen method. Mycoplasma has no wall; spirochaetes such as Treponema pallidum are too thin to be resolved by bright-field light microscopy and need dark-ground or special stains. Previous antibiotics distort the picture by reducing numbers or changing the shape of the cells. The specimen’s own contents interfere too: blood, mucus, mucin, inflammatory debris and haemolysis can obscure organisms or leave precipitate that mimics them. Finally, the interpretation is only as good as the observer, which is why laboratories rely on trained staff, standard operating procedures, proficiency testing and a control slide with every batch. For the nurse, the messages are concrete: collect the specimen before antibiotics, send it without delay, label it fully, and treat a negative Gram stain as one piece of evidence rather than as proof that no infection exists.

Reading the stain in practice: morphology, presumptive diagnosis and the culture that is still needed

Once the colour is known, the second piece of information is morphology, and together they narrow the field far more than beginners expect. Gram-positive cocci in clusters suggest Staphylococcus; in chains, Streptococcus. Gram-positive rods in a wound may be diphtheroids or Clostridium. Gram-negative diplococci inside neutrophils in cerebrospinal fluid are highly suggestive of Neisseria meningitidis, and Gram-negative diplococci in a urethral smear suggest Neisseria gonorrhoeae. Gram-negative rods raise a wide differential that includes Escherichia coli, Klebsiella, Pseudomonas aeruginosa and many others, and the stain cannot separate them. Large Gram-positive rods with a central spore hint at Bacillus anthracis in the right context, but the spore does not identify it. This is why the stain is called presumptive: it supports a probable diagnosis and guides empirical therapy, while the definitive name comes from culture and identification. In the laboratory, identification may use biochemical reactions, antigen detection, serology, matrix-assisted laser desorption ionisation time-of-flight mass spectrometry, or molecular methods such as polymerase chain reaction and ribosomal RNA sequencing. Susceptibility testing then measures which drugs stop the isolate. Two habit points follow for the nurse. First, the Gram stain and the culture are complementary, not alternatives, so the specimen must be collected before the first antibiotic and transported in the right container without delay. Second, a preliminary report is not a final diagnosis: it should prompt the right treatment and the right precautions, and it should also prompt a question — does the patient fit the picture?

Explore the diagram

Look at the whole drawing first. Then select one numbered part and connect it to the idea you just read.

Two walls, one stain: why the Gram reaction happens

Compare the two envelopes layer by layer, then follow the four reagents downwards. The thick Gram-positive mesh traps the violet–iodine complex; the thin Gram-negative wall loses it once alcohol has dissolved the lipid-rich outer membrane that carries endotoxin.

New to diagrams? Read this first
  1. Look at the whole drawing once without clicking anything. Ask yourself only: what kind of picture is this (a comparison, a route, a sequence, a table)?
  2. Press Play, or use the arrows, to move through the numbered parts in order. The drawing stays still; only the highlight moves.
  3. Click a number, or its name in the list below, to read what that part is and why it matters. Use “Hide labels” when you want to test your memory.
More controls
100%

01 / 6Thick peptidoglycan layer

Two walls, one stain: why the Gram reaction happensCompare the two envelopes layer by layer, then follow the four reagents downwards. The thick Gram-positive mesh traps the violet–iodine complex; the thin Gram-negative wall loses it once alcohol has dissolved the lipid-rich outer membrane that carries endotoxin.The Gram stain reads the cell wallGram-positive wallThick peptidoglycanmany cross-linked layersCytoplasmvsGram-negative wallOuter membrane +lipopolysaccharide (LPS)Thin peptidoglycanPeriplasmic spaceCytoplasm1 · Crystal violetStains all cells2 · IodineMordant fixes dye3 · AlcoholDecolourisesthin wall only4 · SafraninPink counterstainGram-positive: violet staysThick wall traps the complexGram-negative: turns pinkThin wall loses the complexColour is read together with shape:cocci in clusters or chains, rods, diplococciCulture is still needed to name the species.

If the drawing is wider than this panel, scroll it sideways. Labels stay readable; the numbered explanations below show the same ideas.

Thick peptidoglycan layer

The Gram-positive envelope is dominated by many cross-linked layers of peptidoglycan, which makes the wall thick and rigid. When alcohol shrinks this mesh, the gaps close and the bulky crystal violet–iodine complex cannot escape, so the cell keeps the violet and is reported as Gram-positive.

Schematic comparison, not to scale: the real thickness of the peptidoglycan layer varies between species, and the four reagents are drawn as one sequence applied to both cell types. A Gram report is presumptive and must be confirmed by culture.

Key points to remember

  • The cell wall gives the bacterium its shape and protects it from osmotic lysis, and its strength comes from peptidoglycan.
  • Gram-positive walls have thick peptidoglycan; Gram-negative walls have thin peptidoglycan plus an outer membrane carrying lipopolysaccharide (endotoxin).
  • The stain is crystal violet, iodine, alcohol decolourisation and safranin; the alcohol step decides the result because it removes the dye from the thin, lipid-rich wall and not from the thick one.
  • The method is named after Hans Christian Gram and is used on fluids such as cerebrospinal fluid in meningitis and synovial fluid in septic arthritis; it is faster than culture but cannot name a species.
Go deeper

Worked example

From “Gram-negative bacilli in the joint” to a safe plan of care. A 62-year-old patient arrives with a hot, swollen, painful knee and a raised temperature. Septic arthritis is suspected, and you help obtain synovial fluid for Gram stain and culture. The fluid is thick and purulent. Within the hour the laboratory telephones: Gram-negative bacilli are seen. Use the structure of the wall and the steps of the stain to explain what has happened, what may follow, and what you must do next.

  1. Read what the stain actually says. The report gives two facts: the colour is Gram-negative and the shape is a rod. The pink colour is not the original dye at all; it is safranin taken up after the alcohol removed the violet. Gram-negative means a thin peptidoglycan layer with an outer membrane, so this organism carries endotoxin.
  2. Explain the mechanism to yourself and to the team. The alcohol dissolved the lipid-rich outer membrane and shrank the little peptidoglycan present, so there was no dense mesh to trap the violet–iodine complex. That is why the cell lost the colour that a Gram-positive cell would have kept.
  3. Act on the preliminary result without waiting for culture. Telephone or hand the report to the prescriber at once: Gram-negative bacilli in a joint guide the choice of an empirical antibiotic active against Gram-negative organisms. The specimen has already gone for culture and susceptibility, and the first dose must not be delayed.
  4. Anticipate the systemic consequence of endotoxin. Because endotoxin can cause fever, vasodilatation and a fall in blood pressure, monitor temperature, pulse, blood pressure, respiratory rate and urine output, and look at the whole patient rather than only the knee. Report any deterioration immediately.
  5. Continue the nursing role. Give antibiotics on time, keep the joint still and comfortable until drainage is arranged, handle the fluid as infectious, document the timeline, and explain to the patient that the stain is a first clue while the final answer will come from culture.

The knee is the visible problem, but the Gram-negative report is a warning about the whole patient. The wall structure explains both the colour on the slide and the risk of shock. The nurse who understands it collects the specimen correctly, watches the vital signs, and reports change early.

Common misconception

A frequent beginner error is to believe that a Gram-negative result means the infection is less serious because the pus looks less dramatic, or that a Gram-positive result excludes severe disease. The opposite danger is common: Gram-negative organisms carry endotoxin and can produce shock with few local signs, while Gram-positive organisms such as Staphylococcus aureus can cause devastating local destruction and occasionally toxic shock. A second error is to treat the Gram report as a final identification; it is a preliminary grouping that must be confirmed by culture.

Check your reasoning

Think of a patient whose infection was investigated with a Gram stain. What did the colour and the shape add, what did they not prove, and which nursing action protected the patient while the culture was still pending?

Reveal an answer

Take bacterial meningitis. A Gram stain of cerebrospinal fluid can show Gram-negative diplococci within the hour, which strongly suggests Neisseria meningitidis and justifies immediate treatment and droplet precautions. It does not prove the species, and it cannot give a susceptibility pattern, so culture and susceptibility testing still follow. While the culture is pending, the nursing actions that protect the patient are sending the fluid without delay, starting the prescribed antibiotic on time, isolating as required, and monitoring consciousness, temperature and vital signs for deterioration.

Where this comes from

  • BMS 114 General Microbiology I lecture notes (supplied) · “Cell wall” and “Gram stain for the cell wall”, lines 662–703, with the cell-envelope context at lines 599–610
  • Beyond the supplied notes — peptidoglycan chemistry and the mechanism of decolourisation · the alternating aminosugar backbone (N-acetylglucosamine and N-acetylmuramic acid), peptide cross-links, the transpeptidase reaction, the teichoic acids of the Gram-positive wall, and the physical trapping of the violet–iodine complex. The notes name peptidoglycan and list the four reagents at lines 663–679 but give no chemistry and no explanation of why alcohol differentiates the two groups.
  • Beyond the supplied notes — lipopolysaccharide, endotoxin and the clinical pattern of Gram-negative infection · lipid A, cytokine release, vasodilatation, microthrombosis and septic shock, contrasted with the walled-off suppuration and exotoxins of Gram-positive infection. The notes mention toxic lipopolysaccharides (endotoxins) at lines 671–672 without mechanism or clinical consequence.
  • Beyond the supplied notes — causes of an uninterpretable Gram stain · over- and under-decolourisation, smear thickness, Gram-variable and wall-deficient organisms, the Ziehl–Neelsen method for Mycobacterium, and the use of control slides. The notes describe the method at lines 675–689 without its limitations.

Lesson progress is saved on this device for the current learner. Practice answers stay separate and are not stored.

About this course and its sources

Bilingual lessons organised from the supplied BMS 114 General Microbiology I lecture notes (Mr Ngotelo F. Ambene, Mr Lyonga B. Lyonga & Mr Fumbui Louis Ngong). Diagrams are original educational schematics; sections that correct the notes or go beyond them say so in their sources. Nursing and French-language review are pending.