Clinical Knowledge › Internal medicine › Infectious diseases › Basics of infectious diseases
Bacterial classification and Gram stain
Bacteria are classified in clinical practice by their Gram reaction, shape, arrangement, oxygen requirements, cell-wall features and whether they live inside cells. The Gram stain, devised in 1884, separates organisms with a thick peptidoglycan wall that retains the crystal violet–iodine complex (Gram-positive, purple) from organisms with a thin peptidoglycan layer and an outer lipopolysaccharide membrane that lose it on decolorisation and take up the red counterstain (Gram-negative, pink). It takes about ten minutes, costs very little and, read together with the specimen and the clinical picture, often predicts the likely organism hours to days before culture: Gram-positive cocci in clusters suggest staphylococci, cocci in chains streptococci or enterococci, intracellular Gram-negative diplococci Neisseria, and Gram-negative rods Enterobacterales or Pseudomonas. Some organisms stain poorly or not at all (mycobacteria, Mycoplasma, Chlamydia, Rickettsia, spirochaetes, Legionella) and need special stains, culture, serology or nucleic acid tests. The stain guides urgent empirical therapy and judges specimen quality, but it never replaces culture, identification (now often by MALDI-TOF) and susceptibility testing.
Patient case, mechanism, investigations, management, flashcards and exam-style questions.Open the lesson →

Key facts
- Gram stain sequence: fix, crystal violet, Gram's iodine (mordant), decolorise with acetone–alcohol (the critical step), counterstain with safranin
- Gram-positive = thick peptidoglycan with teichoic acids → purple; Gram-negative = thin peptidoglycan plus outer membrane containing lipopolysaccharide (endotoxin) → pink
- Gram-positive cocci in clusters = staphylococci (catalase positive); in pairs or chains = streptococci or enterococci (catalase negative)
- Gram-negative diplococci: Neisseria meningitidis, N. gonorrhoeae and Moraxella catarrhalis; intracellular diplococci in a urethral smear from a man with discharge strongly suggest gonorrhoea
- Organisms seen poorly or not at all: mycobacteria (acid-fast), Mycoplasma (no wall), Chlamydia, Rickettsia, Coxiella (obligate intracellular), spirochaetes (too thin) and Legionella
- Obligate anaerobes include Bacteroides, Clostridium, Fusobacterium and Actinomyces; Pseudomonas, Mycobacterium tuberculosis and Nocardia are obligate aerobes
- A good sputum sample shows more than 25 neutrophils and fewer than 10 squamous epithelial cells per low-power field
- CSF Gram stain detects organisms in roughly 60–90% of untreated bacterial meningitis; sensitivity falls after antibiotics, so a negative stain never excludes it
Differential diagnosis
| Condition | Clues | Key test |
|---|---|---|
| Gram-positive cocci in clusters | Staphylococcus aureus or coagulase-negative staphylococci; catalase positive | Coagulase test, MALDI-TOF, mecA/PBP2a for MRSA |
| Gram-positive cocci in pairs or chains | Streptococci (lancet-shaped pairs: pneumococcus) or enterococci; catalase negative | Haemolysis on blood agar, optochin, Lancefield grouping, MALDI-TOF |
| Gram-positive rods | Large with spores: Clostridium or Bacillus; small: Listeria or Corynebacterium; branching: Nocardia or Actinomyces | Culture, motility, modified acid-fast stain for Nocardia |
| Gram-negative diplococci | Kidney-bean pairs, often inside neutrophils: Neisseria; also Moraxella in sputum | Oxidase, culture on chocolate or selective agar, NAAT |
| Gram-negative coccobacilli | Haemophilus, Acinetobacter, Bordetella, Brucella | Culture with X and V factors (Haemophilus), MALDI-TOF |
| Gram-negative rods | Enterobacterales (lactose fermenters on MacConkey) or non-fermenters such as Pseudomonas (oxidase positive) | MacConkey agar, oxidase, MALDI-TOF, susceptibility testing |
| Yeast | Large oval budding Gram-positive cells with or without pseudohyphae (Candida) | Culture, species identification, antifungal susceptibility |
| Neutrophils but no organisms | Prior antibiotics, fastidious or intracellular organisms, or non-infective inflammation | Culture, PCR, special stains, serology |
Exam pearls
Guideline
IDSA/ASM Guide to Utilization of the Microbiology Laboratory for Diagnosis of Infectious Diseases (2024 update) and WHO Bacterial Priority Pathogens List (2024)
References
- Miller JM, Binnicker MJ, Campbell S, et al.. Guide to utilization of the microbiology laboratory for diagnosis of infectious diseases: 2024 update by the Infectious Diseases Society of America (IDSA) and the American Society for Microbiology (ASM). Clin Infect Dis 2024.
- Murray PR, Rosenthal KS, Pfaller MA.. Medical Microbiology, 9th edition. Elsevier, Philadelphia 2020.
- Carroll KC, Pfaller MA, Landry ML, et al. (eds). Manual of Clinical Microbiology, 12th edition. ASM Press, Washington DC 2019.
- Bennett JE, Dolin R, Blaser MJ (eds). Mandell, Douglas, and Bennett's Principles and Practice of Infectious Diseases, 9th edition. Elsevier, Philadelphia 2020.
- Coico R.. Gram staining. Curr Protoc Microbiol 2005.
- Singhal N, Kumar M, Kanaujia PK, Virdi JS.. MALDI-TOF mass spectrometry: an emerging technology for microbial identification and diagnosis. Front Microbiol 2015.
Related topics
By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.