How to Classify Bacteria: Methods From Shape to Genes

Bacteria are classified using a combination of physical traits, chemical reactions, genetic sequences, and ecological characteristics. No single method captures the full picture, so microbiologists layer multiple approaches to identify and organize the thousands of known bacterial species. Understanding these methods helps make sense of how bacteria are named, grouped, and distinguished from one another.

Shape and Arrangement Under the Microscope

The most basic classification starts with what bacteria look like. Under a microscope, bacterial cells fall into a handful of common shapes: cocci (round or oval), rods (elongated, sometimes called bacilli), spirals, and comma-shaped cells. These shapes are consistent enough within a genus that they serve as a reliable first clue. Vibrio cholerae, for instance, always appears comma-shaped, while Treponema pallidum forms tight spirals. Some species grow as long, branching filaments rather than individual cells.

How cells cluster together matters just as much as their individual shape. Staphylococcus aureus forms irregular, grape-like clusters of round cells. Streptococcus species line up in chains. Other cocci pack into neat cubic packets or pair off in twos. Some rod-shaped bacteria also form chains, while others grow as isolated single cells. A trained microbiologist can narrow down the identity of an unknown bacterium significantly just from its shape and arrangement on a stained slide.

The Gram Stain: Sorting by Cell Wall

The Gram stain, developed in the 1880s, remains one of the most widely used classification tools. It divides nearly all bacteria into two major groups based on the structure of their cell walls. Gram-positive bacteria have thick walls rich in a mesh-like molecule called peptidoglycan. Gram-negative bacteria have thinner peptidoglycan layers but carry an additional outer membrane with a high lipid (fat) content.

During the staining process, all bacteria initially absorb a purple dye. A solvent is then applied that dissolves the lipid-rich outer layer of Gram-negative cells, washing out the purple dye and leaving them to pick up a pink counterstain instead. Gram-positive cells, with their thick walls, trap the purple dye inside when the solvent dehydrates and closes their pores. The result: Gram-positive bacteria appear purple or blue under the microscope, and Gram-negative bacteria appear pink or red. This single test immediately splits the bacterial world into two broad categories and guides which further tests to run.

Biochemical Tests

Once you know a bacterium’s shape and Gram reaction, biochemical tests help pin down the species. These tests check what enzymes a bacterium produces and what chemical reactions it can perform.

The catalase test is a good example. When you add hydrogen peroxide to certain bacteria, those that produce the enzyme catalase break it down into water and oxygen gas, producing visible bubbles. Staphylococcus aureus is catalase-positive (bubbles appear), while Streptococcus pyogenes is catalase-negative (no bubbles). That single reaction separates two major groups of round, Gram-positive bacteria.

The oxidase test checks whether bacteria carry a specific enzyme in their respiratory chain. Pseudomonas aeruginosa turns the test reagent purple (oxidase-positive), while Escherichia coli produces no color change (oxidase-negative). This test is particularly useful for distinguishing between two large families of Gram-negative rods. Other tests detect hydrogen sulfide production (shown by a black precipitate in the growth medium), the ability to break down specific sugars, or the production of particular waste products. Clinical labs often run panels of 10 to 20 biochemical tests simultaneously to build a metabolic fingerprint of an unknown organism.

Oxygen Requirements

Bacteria vary dramatically in how they handle oxygen, and this preference serves as another classification criterion. There are five standard categories:

  • Obligate aerobes need atmospheric oxygen levels (around 20%) to grow.
  • Microaerophiles grow best at oxygen concentrations well below normal atmospheric levels.
  • Facultative anaerobes are the most flexible, thriving with or without oxygen by switching between aerobic respiration and fermentation.
  • Aerotolerant anaerobes can survive around oxygen but don’t use it for energy, growing best without it.
  • Obligate anaerobes cannot tolerate oxygen at all and grow only in oxygen-free environments.

These categories have practical significance. Knowing that Clostridium species are obligate anaerobes, for instance, explains why they cause infections in deep wounds where oxygen is scarce.

Serological Classification

Some bacteria are classified by the specific molecules on their surface that trigger an immune response. The Lancefield grouping system, used for streptococci, sorts these bacteria by unique carbohydrate molecules embedded in their cell walls. Group A Streptococcus (the cause of strep throat) carries a carbohydrate with a distinctive sugar side chain that reacts with specific antibodies. This same sugar molecule is the target of rapid strep tests used in doctors’ offices.

Other Lancefield groups, labeled B through G and beyond, each carry a different surface carbohydrate. The system works because these surface molecules are consistent within a group, making antibody-based tests fast and reliable for clinical identification.

Genetic Classification With 16S rRNA Sequencing

Modern bacterial classification relies heavily on DNA analysis, and the gold standard for decades has been sequencing a specific gene called 16S rRNA. This gene is present in all bacteria, changes slowly over evolutionary time, and contains enough variation to distinguish between species. It functions as a molecular clock: the more different two bacteria’s 16S sequences are, the more distantly related they are.

The general rule is that two bacteria sharing less than 97% similarity in their 16S rRNA sequence represent different species. For confident species-level identification, labs typically look for 99% or greater similarity, ideally above 99.5%. But the gene has limits. Some clearly distinct species share nearly identical 16S sequences. Bacillus globisporus and Bacillus psychrophilus, for example, are over 99.5% similar in their 16S genes yet show only 23 to 50% relatedness when their entire genomes are compared. This is why 16S sequencing works well for placing bacteria into the right genus but sometimes struggles at the species level.

Whole-Genome Methods

As DNA sequencing has become cheaper and faster, comparing entire genomes has emerged as the most precise way to classify bacteria. The key metric is called average nucleotide identity, or ANI, which measures the overall DNA similarity between two organisms across their whole genomes rather than a single gene. The current consensus is that bacteria sharing 95 to 96% ANI belong to the same species. Some researchers have argued this threshold should be slightly higher, around 96.67%, to align better with older DNA comparison methods.

Whole-genome analysis resolves many of the ambiguities that single-gene sequencing cannot. It also reveals horizontal gene transfer, where bacteria swap genes with unrelated species, a phenomenon that complicates classification based on any single gene.

The Formal Taxonomic Hierarchy

All of these classification methods feed into a formal naming system governed by the International Code of Nomenclature of Prokaryotes (ICNP). Bacteria are organized into a hierarchy: domain, phylum, class, order, family, genus, and species. The subspecies is the lowest rank with official standing in nomenclature, though informal ranks like serovars (based on surface molecules) and phagovars (based on susceptibility to viruses) are widely used in practice.

To officially name a new bacterial species, researchers must publish the name in a specific journal, the International Journal of Systematic and Evolutionary Microbiology. They must also designate a type strain and deposit living cultures of that strain in at least two publicly accessible culture collections in different countries. The List of Prokaryotic Names with Standing in Nomenclature (LPSN) database tracks which names are validly published and serves as the go-to reference for current bacterial taxonomy.

Classification by Environment

Bacteria can also be grouped by the extreme conditions they tolerate. Thermophiles thrive at 50 to 80°C, while hyperthermophiles push beyond 80°C. Psychrophiles prefer temperatures below 15°C. Halophiles require high salt concentrations. Acidophiles and alkaliphiles occupy opposite ends of the pH spectrum. These ecological categories cut across the formal taxonomic hierarchy, grouping unrelated species by shared survival strategies rather than shared ancestry, but they’re useful for understanding which organisms to expect in a given environment.

In practice, identifying and classifying an unknown bacterium typically involves layering several of these approaches. A clinical lab might start with Gram staining and microscopy, run a panel of biochemical tests, then confirm with 16S sequencing or whole-genome analysis if needed. Each method adds resolution, narrowing the possibilities until a confident identification is reached.