The Gram stain is a laboratory test that sorts bacteria into two broad groups — Gram-positive and Gram-negative — based on their cell walls. It is often one of the first results available and helps clinicians choose initial antibiotics. [1]
How the Gram stain works
Bacteria are stained with crystal violet dye. Gram-positive bacteria have a thick peptidoglycan wall that holds the purple dye. Gram-negative bacteria have a thin wall and an outer membrane, lose the purple color and appear pink after a counterstain. [1]
Examples
Gram-positive: Staphylococcus aureus (including MRSA), streptococci and enterococci. Gram-negative: E. coli, Klebsiella, Pseudomonas aeruginosa and Acinetobacter. Some bacteria, such as Mycobacterium tuberculosis, do not stain well and need other tests.
Why it matters for antibiotics
The outer membrane of Gram-negative bacteria blocks many antibiotics. Drugs such as vancomycin, linezolid and daptomycin act on Gram-positive bacteria, while aztreonam, colistin and aminoglycosides mainly target Gram-negative bacteria. Broad-spectrum drugs act on both.
Limits of the test
A Gram stain gives a quick clue but not the species or its resistance. Culture and susceptibility testing are needed to confirm the best treatment. [1]
Shapes and arrangements under the microscope
| Gram stain result | Shape | Arrangement | Examples |
|---|---|---|---|
| Gram-positive | Cocci (round) | Clusters | Staphylococcus |
| Gram-positive | Cocci | Chains or pairs | Streptococci, S. pneumoniae, enterococci |
| Gram-positive | Rods | Single or chains | Clostridioides, Listeria, Bacillus |
| Gram-negative | Rods | Single | E. coli, Klebsiella, Pseudomonas |
| Gram-negative | Cocci | Pairs | Neisseria |
| Gram-negative | Coccobacilli | Variable | Haemophilus, Acinetobacter |
Shape and arrangement add useful clues. For example, Gram-positive cocci in clusters in a blood culture suggest staphylococci. [1]
How results guide early treatment
When a blood culture turns positive, the Gram stain result is often reported within hours, before the species is identified. Clinicians use it to adjust initial antibiotics: for example, adding MRSA-active treatment for Gram-positive cocci in clusters, or ensuring broad Gram-negative coverage for Gram-negative rods in a seriously ill patient. Treatment is then refined when identification and susceptibility results are available. [1]
The Gram-negative outer membrane and resistance
The outer membrane contains porins, channels that allow some antibiotics to enter. Bacteria can reduce or alter porins and use efflux pumps to push drugs out, which contributes to multidrug resistance. Many Gram-negative bacteria also produce beta-lactamases, enzymes that break down penicillins, cephalosporins and sometimes carbapenems. [1]
Common pitfalls
Contaminants from skin, such as coagulase-negative staphylococci, can appear in blood cultures and look like infection. Old cultures, prior antibiotics or poor staining can produce “Gram-variable” results. The Gram stain is therefore interpreted with the patient’s condition and repeat cultures. [1]
Frequently Asked Questions
Are Gram-negative bacteria more dangerous?
Not always, but many highly resistant hospital bacteria are Gram-negative, and their outer membrane limits treatment options.
How fast is a Gram stain?
Results are often available within hours of a sample reaching the laboratory.
Does the Gram stain show antibiotic resistance?
No. Resistance is identified by susceptibility testing or molecular tests after the bacterium grows or is detected. [1]
Key Takeaways
The Gram stain separates bacteria by cell-wall structure. Gram-negative bacteria have an outer membrane that blocks many antibiotics, so the result guides initial treatment until culture and susceptibility results arrive.
Related Articles
References
- MedlinePlus. Gram Stain: MedlinePlus Medical Test. https://medlineplus.gov/lab-tests/gram-stain/