HomeArticlesMolecular Biology

Biofilm Formation: How Bacteria Build a Fortress Together

Attachment, EPS, quorum-sensing autoinducers and why a mature biofilm shrugs off antibiotics that would kill the same cells alone.

mysimulator teamUpdated June 2026≈ 8 min read▶ Open the simulation

From free swimmers to a fortified colony

Most bacteria can live two very different lifestyles. As planktonic cells they swim freely, each one independent, exposed directly to whatever antibiotics, immune cells or nutrient scarcity the environment throws at them. As a biofilm they commit to a surface and each other, secreting a self-made matrix that turns a loose population into something closer to a primitive multicellular organism — and that transition, not any single mutation, is what makes biofilm infections and industrial fouling so hard to eliminate.

live demo · free-swimming cells aggregating into a biofilm colony● LIVE

The four stages

Biofilm formation follows a broadly conserved sequence. Attachment: cells reach a surface (passively, by flow, or actively, by swimming) and form a weak, reversible contact via van der Waals and electrostatic forces, which can become irreversible once surface adhesins (pili, fimbriae) engage. Microcolony formation: attached cells divide and recruit neighbours, and begin secreting extracellular polymeric substances (EPS) — a matrix of polysaccharides, proteins and extracellular DNA. Maturation: the microcolony thickens into a structured, often mushroom-shaped architecture with water channels running through it that function almost like a rudimentary circulatory system, delivering nutrients and removing waste to cells buried deep inside. Dispersal: in response to internal cues (nutrient depletion, accumulated waste) or external triggers, some cells revert to a planktonic state and swim off to seed new surfaces elsewhere, completing the cycle.

Quorum sensing: counting your neighbours chemically

None of this coordination requires central control, because bacteria coordinate chemically through quorum sensing. Each cell continuously releases small diffusible signal molecules — autoinducers: acyl-homoserine lactones (AHLs) in most gram-negative species, small peptides (autoinducing peptides, AIPs) in most gram-positive species. At low cell density these molecules diffuse away and stay dilute; as the local population grows, their concentration rises until it crosses a threshold that individual cells can detect through a dedicated receptor, at which point the whole local population switches, almost in unison, into an EPS-producing, biofilm-committed state.

low density:  [autoinducer] below threshold  →  genes OFF  (planktonic behaviour)
high density: [autoinducer] above threshold  →  genes ON   (EPS production, virulence factors,
                                                             biofilm-committed behaviour)

This is, functionally, a chemical census: a cell cannot count its neighbours directly, but by sensing the concentration of a molecule every neighbour is also releasing, the population estimates its own density and only commits to the costly, cooperative biofilm programme once there are enough cells present for that cooperation to pay off.

Why biofilms tolerate antibiotics so well

Biofilm bacteria are not usually genetically resistant in the way a drug-resistant mutant is — remove them and regrow them as single planktonic cells and they are often just as susceptible as before. Their tolerance instead comes from the biofilm state itself, through several compounding mechanisms: the EPS matrix physically slows drug diffusion into the deep layers; nutrient and oxygen gradients inside a thick biofilm leave a core of slow-growing or dormant cells that many antibiotics (which target active growth or division machinery) simply cannot kill effectively; and a small fraction of cells enter a distinct, reversible dormant state known as persister cells, which survive antibiotic exposure by essentially shutting down the processes the drug targets, then reawaken once the threat has passed. The combination routinely lets biofilm infections survive antibiotic concentrations 10 to 1000 times higher than would kill the same species growing planktonically.

Where it matters

Chronic wound and implant infections, dental plaque, catheter and medical-device colonisation, and industrial and marine biofouling on pipes, ship hulls and water systems are all the same underlying process — which is why disrupting quorum sensing signalling, rather than simply raising antibiotic doses, has become an active target for next-generation anti-biofilm strategies.

Frequently asked questions

Are bacteria in a biofilm genetically different from free-swimming bacteria of the same species?

Usually not. The same strain can switch between planktonic and biofilm behaviour depending on environmental and quorum-sensing cues, and cells extracted from a biofilm and regrown individually are often just as susceptible to antibiotics as before. The tolerance comes from the biofilm state itself — the matrix, gradients and persister cells — not from a permanent genetic change.

How does quorum sensing let bacteria 'know' how many neighbours they have?

Each cell continuously releases a small signalling molecule (an autoinducer) at a low, roughly constant rate. Because the local concentration of that molecule rises with local cell density, once enough cells are packed into an area the concentration crosses a threshold each cell can individually detect, letting a chemical readout stand in for a direct count of neighbours.

Why don't antibiotics penetrate a mature biofilm as well as they kill free-floating bacteria?

The self-secreted EPS matrix physically hinders drug diffusion into deeper layers, and steep nutrient and oxygen gradients inside a thick biofilm leave many cells slow-growing or dormant, which many antibiotics can't effectively kill since those drugs target active growth and division machinery. A subpopulation of dormant persister cells adds a further layer of tolerance on top of both effects.

Try it live

Everything above runs in your browser — open Biofilm Formation and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Biofilm Formation simulation

What did you find?

Add reproduction steps (optional)