How Bacteria Beat Antibiotics

An antibiotic is a targeted missile: it hits something bacteria have and we do not — a cell wall, a bacterial ribosome, the machinery that copies DNA. Against ordinary bugs it works beautifully. But resistance is evolution in fast‑forward. In a colony of billions, a few cells already carry a lucky mutation, or a resistance gene borrowed from another bug. The drug kills the many and spares the few — and those few multiply into a whole resistant population. Press play and watch a colony die; then meet one resistant survivor take over, an enzyme chop the drug apart, and a plasmid hand resistance to a neighbour.

Try this: start on Susceptible population and watch the colony vanish — then switch to Rare resistant mutant and watch that single survivor repaint the whole field red.

Diagram is illustrative — not to scale.
ANTIBIOTIC DOSE a β‑lactam (like penicillin) floods the tissue — molecules rain down onto the colony BACTERIAL COLONY Each rod is one bacterium · a real colony holds billions of these cells per millilitre β‑lactamase enzymes chop the drug here ↓ The drug does not “create” resistance — it kills the susceptible many and leaves the resistant few to multiply (selection).

Live colony readout

Live bacteria
0 cells (model colony)
Resistant fraction
0%
Antibiotic level
0.0 µg/mL · MIC ≈ 4
Dashed line = MIC, the level needed to kill (illustrative value).
Cells killed · gene transfers
0 killed  ·  0 plasmid jumps

What's happening

A colony of ordinary bacteria sits in the dish. Press play and watch the antibiotic go to work…
Pick a scenario to see selection, enzymes, or gene-sharing in action.
susceptible cell resistant cell antibiotic molecule β‑lactamase enzyme resistance plasmid (DNA)

The colony size, kill kinetics, and the antibiotic level (µg/mL) are an illustrative model scaled to fit one screen — a real colony holds billions of cells. Real are the mechanisms: susceptible cells die at the drug's target, a resistant mutant survives and is selected, β‑lactamase enzymes destroy β‑lactam drugs, and plasmids carry resistance genes between cells. MIC (minimum inhibitory concentration) is a real clinical measurement reported in µg/mL.


The Science in Plain Language

1. An antibiotic hits what bacteria have and you don't

Your cells and a bacterium's cells are built differently, and antibiotics exploit the difference. Penicillins and cephalosporins (the β‑lactams) jam the enzymes — the penicillin‑binding proteins — that stitch together the bacterial cell wall; without a wall the cell bursts under its own pressure. You have no cell wall, so the drug leaves you alone. Macrolides (azithromycin) and tetracyclines (doxycycline) gum up the bacterial ribosome, which is a slightly different shape from yours. Fluoroquinolones (ciprofloxacin) poison DNA gyrase, the enzyme bacteria use to copy their DNA. Sulfonamides and trimethoprim block the bacterial assembly line for folate, a vitamin bacteria must build themselves but you get from food. Four different bullseyes — wall, ribosome, DNA, folate — all present in the bug and absent (or different) in you.

2. Resistance is evolution in fast‑forward

Here is the part people get backwards: the antibiotic does not teach bacteria to resist it. Bacteria reproduce astonishingly fast — E. coli can double about every 20 minutes in ideal conditions, so one cell becomes billions overnight. Every time DNA is copied there is a tiny chance of a typo, and random resistance mutations arise at roughly one in a million to one in a billion cells per generation. In a colony of that many cells, a handful of resistant mutants are almost always already there before the first pill is swallowed. The drug then does something simple and ruthless: it kills the susceptible majority and leaves the rare survivors a wide‑open, competitor‑free space to multiply into. That is natural selection, sped up. Switch the animation to Rare resistant mutant and you can watch one red cell—out of a whole teal colony—become the whole colony.

3. The four tricks bacteria use to survive

Resistance is not magic; it is a small number of concrete tricks. (1) Pump it out. Efflux pumps such as the AcrAB‑TolC system act like bilge pumps, throwing the drug back out before it can act. (2) Destroy it. Enzymes chop the drug apart — the classic β‑lactamases snip the β‑lactam ring at the heart of penicillin. Newer ESBLs (extended‑spectrum β‑lactamases, like the CTX‑M family) defeat many cephalosporins, and carbapenemases (KPC, NDM‑1) even wreck the carbapenems we keep as last resort. (3) Change the target. If the drug can't bind, it can't work: MRSA carries the mecA gene, which builds an altered penicillin‑binding protein (PBP2a) that methicillin simply can't grab. (4) Lock the door. Gram‑negative bacteria can shut the porin channels (like OmpF) that let the drug in. Watch the Beta‑lactamase scenario to see trick #2 in action.

4. Bacteria share resistance sideways

If bacteria could only pass genes down to their offspring, resistance would spread slowly. They don't. Bacteria trade genes sidewayshorizontal gene transfer — most often by conjugation: one cell grows a tube called a pilus, docks onto a neighbour, and hands over a copy of a plasmid, a little loop of spare DNA that often carries several resistance genes stacked together. The neighbour is instantly resistant, and can pass the plasmid on again — sometimes even to a different species. This is why resistance can jump from a harmless gut bug to a dangerous one, and why it races through hospitals and farms. The Plasmid transfer scenario shows one resistant cell lighting up its neighbours, one bridge at a time.

5. Where superbugs come from

Every dose of antibiotic — in a person or an animal — is a selection event that favours resistant bugs. Globally, a large share of all antibiotics is used not to treat sick people but to raise livestock faster, and much human prescribing is unnecessary too. The result is the “superbugs” you read about: MRSA, CRE (carbapenem‑resistant Enterobacterales), VRE, multidrug‑resistant tuberculosis, and increasingly untreatable gonorrhoea (Neisseria gonorrhoeae). This is not a small problem: a widely cited global estimate (the GRAM study, published in The Lancet in 2022) attributed roughly 1.27 million deaths in 2019 directly to antibiotic‑resistant bacteria, with millions more associated. Meanwhile new antibiotics are slow and expensive to develop, so resistance is outpacing the pipeline.

6. How a lab actually knows a bug is resistant

“Resistant” isn't a guess — it's a measurement. When a lab grows a bug from your blood, urine, or a wound swab, it runs antibiotic susceptibility testing. In broth microdilution, the bug is grown against a ladder of drug concentrations, and the lowest one that stops visible growth is the MIC (minimum inhibitory concentration), reported in µg/mL — the same number the animation's gauge tracks. In the older disk diffusion (Kirby‑Bauer) method, paper disks soaked in drug sit on a lawn of bacteria and the clear zone of inhibition around each disk is measured in millimetres. Either way, the result is compared against published breakpoints and reported as S, I, or R — susceptible, intermediate, or resistant. That single letter tells the clinician which antibiotic will actually work, which is exactly why sending a culture before reaching for a broad‑spectrum drug matters so much.

7. The myth worth correcting: antibiotics do nothing to viruses

This is the single most useful thing on this page. Antibiotics kill bacteria. They have zero effect on viruses. Colds, most sore throats, flu, most sinus and chest infections, and the ordinary “stomach bug” are viral — an antibiotic can't touch them, won't shorten them, and won't make you feel better faster. What it will do is kill your helpful bacteria (raising the risk of C. difficile diarrhoea), expose you to side effects and allergic reactions, and select for resistant bugs you'll carry for months. Taking an antibiotic “just in case” for a virus is all cost and no benefit. If a clinician says “it's viral, you don't need an antibiotic,” that is good medicine, not them holding out on you.

8. What actually helps (and what doesn't)

You have real power here. Don't push for antibiotics when a clinician says an illness is viral. If you are prescribed one, take it exactly as directed and don't stop early on your own the moment you feel better — but equally, if you're told to stop, stop. Never save leftovers for next time and never share them or take someone else's; the right drug and dose depend on the specific bug and site. Get recommended vaccines and wash your hands — an infection you never catch needs no antibiotic. And ask your clinician whether a narrow‑spectrum drug or a shorter modern course is appropriate; shorter, more targeted courses put less selective pressure on your bacteria.

9. Why this is everyone's problem at once

Antibiotics are a shared resource, and resistance is a classic tragedy of the commons: each unnecessary course gives one person a tiny (often zero) benefit while spending a little of a resource that belongs to all of us — the ability to survive routine infections, childbirth, surgery, and chemotherapy. Because plasmids carry resistance between people, farms, and countries, the bug I select for today can infect you tomorrow. The good news is that the same fact makes prevention powerful: every antibiotic not wasted, every vaccine taken, every infection prevented, keeps these drugs working a little longer for everyone. Resistance is inevitable in the long run — but how fast it arrives is very much up to us.

↑ Back to the animation

Connections