How Antibiotics Work
A 7-minute read
Antibiotics kill bacteria or stop them from reproducing: but they do nothing against viruses. Understanding how they work explains why the growing problem of antibiotic resistance threatens to reverse a century of medical progress.
In 1928, Alexander Fleming returned from holiday to find something strange growing in a petri dish he’d accidentally left open. A mold called Penicillium had contaminated his Staphylococcus culture: and wherever the mold grew, the bacteria had died. Fleming had stumbled onto the first antibiotic, a discovery documented by the Nobel Prize archive. But today, that miracle is under threat.
The short answer
Antibiotics work by targeting things that bacteria need but human cells don’t: or by exploiting differences between bacterial and human biology. Some antibiotics punch holes in bacterial cell walls, causing the bacteria to burst. Others interfere with bacterial DNA replication, protein production, or the chemical reactions bacteria need to survive. The key point: antibiotics are designed to kill bacteria or stop them from reproducing. They have zero effect on viruses, which operate completely differently inside your cells.
The full picture
What bacteria are (and why they’re different from viruses)
Bacteria are single-celled organisms: living cells with their own machinery for growth, reproduction, and metabolism. They have cell walls, DNA, and the ability to divide on their own. Viruses, by contrast, are not truly alive. They can’t reproduce on their own. They hijack your own cells, using your cellular machinery to make copies of themselves.
This fundamental difference is why antibiotics can kill bacteria without killing your own cells. Antibiotics target structures and processes that exist in bacteria but not in human cells (or exist in very different forms).
How antibiotics actually work
Antibiotics don’t work as one thing. They work in several different ways, and each mechanism targets a specific bacterial vulnerability.
Cell wall interference is how penicillin and related antibiotics work. Bacteria have rigid cell walls that keep them from bursting under the pressure of their internal fluids. These antibiotics block the enzymes that build the cell wall. Without a functional wall, the bacteria’s internal pressure causes them to literally pop. This is particularly effective against actively growing bacteria, which are constantly building new cell wall material.
Protein synthesis disruption targets the bacterial ribosome: the machine that builds proteins. Human ribosomes and bacterial ribosomes are structurally different. Antibiotics like tetracycline and erythromycin bind to bacterial ribosomes and block protein production. Without proteins, bacteria can’t grow or reproduce.
DNA manipulation includes several approaches. Some antibiotics, like fluoroquinolones, prevent bacteria from unwinding and copying their DNA: without DNA replication, the bacteria can’t divide. Others, like sulfonamides, block the chemical reactions bacteria need to make DNA building blocks. Rifampin works by blocking RNA production, preventing bacteria from reading their own genetic instructions.
Cell membrane disruption works by poking holes in the bacterial cell membrane, which bacteria need to survive. Without an intact membrane, bacteria lose their ability to regulate what enters and exits the cell.
Narrow-spectrum vs. broad-spectrum antibiotics
Not all antibiotics are equal in their targeting.
Narrow-spectrum antibiotics target specific types of bacteria. They’re like precision weapons: effective but limited. Doctors prefer them when they know what type of bacterium is causing an infection, because they’re less likely to disrupt the beneficial bacteria in your gut.
Broad-spectrum antibiotics are more like carpet bombing. They kill or inhibit a wide range of bacteria, including many that are actually helpful. Doctors reach for these when the infection is severe or when they don’t yet know what type of bacterium is causing the problem. The tradeoff is more collateral damage to your microbiome.
Why your gut microbiome matters
Your body is full of bacteria: trillions of them, most living harmlessly (or helpfully) in your gut. These beneficial bacteria help digest food, produce certain vitamins, and keep harmful bacteria in check.
When you take broad-spectrum antibiotics, they don’t discriminate. They kill the harmful bacteria causing your infection and the beneficial bacteria in your gut. This can cause diarrhea, yeast infections, and other issues. In some cases, it can allow harmful bacteria like Clostridioides difficile (C. diff) to overgrow and cause serious illness.
This is why doctors sometimes recommend taking probiotics (beneficial bacteria) after a course of antibiotics, to help repopulate the gut with healthy microbes.
The rise of antibiotic resistance
This is the big one. The World Health Organization calls antibiotic resistance one of the biggest threats to global health.
Here’s how it happens: bacteria reproduce extremely quickly: some can divide every 20 minutes. With each generation, random mutations occur. Most mutations are neutral or harmful. But occasionally, a mutation makes a bacterium slightly less vulnerable to an antibiotic.
When you take antibiotics, the drug kills most bacteria: the susceptible ones. But any bacteria with even a small resistance advantage survives. These survivors then reproduce, passing on their resistance genes. Over time, and with repeated exposure to antibiotics, populations of resistant bacteria emerge.
The problem is accelerated by misuse: taking antibiotics when they aren’t needed (for viral infections), not completing prescribed courses, and using antibiotics in agriculture to promote growth in livestock (a practice now banned in many countries but still widespread).
MRSA (methicillin-resistant Staphylococcus aureus) is one famous example. What was once an easily treatable infection now sometimes requires last-resort antibiotics or even surgery. Carbapenem-resistant Enterobacteriaceae (CRE), sometimes called “nightmare bacteria,” are resistant to nearly all known antibiotics and have mortality rates up to 50%.
The pipeline for new antibiotics is thin. Developing antibiotics isn’t very profitable for pharmaceutical companies: they want drugs people take for decades, not for a week-long course. Most major pharmaceutical companies have exited antibiotic research entirely.
Why it matters
Before antibiotics, a simple cut could kill you. Pneumonia was often fatal. Childbirth carried enormous risk of infection. Life expectancy was significantly lower, not because we couldn’t cure diseases, but because we couldn’t treat the bacterial infections that often caused death.
The often-cited projection from the O’Neill AMR review suggests antimicrobial resistance could cause 10 million deaths annually by 2050 without intervention. Already, at least 1.27 million deaths worldwide are directly attributable to antibiotic-resistant bacteria, according to a large Lancet analysis.
Every time antibiotics are used unnecessarily, or when patients don’t complete their courses, the pool of resistant bacteria grows. The antibiotics we’ve relied on for decades are gradually becoming useless. Without action, we risk returning to a world where a scraped knee or routine surgery can be fatal.
Common misconceptions
“Antibiotics work against any infection.” They don’t. Antibiotics target bacteria. They have no effect on viruses, which cause the common cold, flu, most sore throats, and most cases of bronchitis. Taking antibiotics for viral infections contributes to resistance without helping you.
“If I feel better, I can stop taking antibiotics.” Stopping early leaves surviving bacteria in your body. These are often the ones with some resistance. Finishing the full course ensures all susceptible bacteria are killed, reducing the chance that resistant strains survive and multiply.
“Natural alternatives work just as well.” While some natural substances have antimicrobial properties, they’re not a replacement for proven antibiotics. Garlic, honey, and other remedies might have mild effects, but they’re not calibrated to treat serious bacterial infections. Relying on them for conditions that need real antibiotics can be dangerous.
“Antibiotic resistance only affects people who take a lot of antibiotics.” Resistant bacteria spread between people, animals, and the environment. Even if you’ve never taken antibiotics, you can be infected with a resistant bacterium that evolved in someone else, in livestock, or through contaminated water.