Note: This page explains how medicines work; it isn't medical advice. If you're ill, talk to a doctor, nurse or pharmacist.
How do antibiotics work? The short answer
Antibiotics are medicines that fight infections caused by bacteria. They work in one of two ways: they kill the bacteria, or they stop them from growing and multiplying.16
The clever part is how they pick their target. Your body is made of cells too, so a medicine that harmed every cell would harm you. Antibiotics work by attacking things that bacterial cells have but human cells don't.7 Penicillin, for example, stops bacteria from building a cell wall, and your cells don't have a wall at all.
What are antibiotics?
Bacteria are tiny living things, each one a single cell far too small to see without a microscope. They live inside your body, on your skin and all around you. Most are harmless and some are helpful, but some cause infections such as strep throat and urinary tract infections (UTIs).212
Many antibiotics were first found in nature. They are compounds made by bacteria and fungi (such as moulds) to kill or hold back competing microbes.8 Today some are natural products and some are partly or fully made in a lab.12 There are hundreds of different antibiotics, but most fall into six main groups, such as the penicillins and the cephalosporins.10
How do antibiotics kill bacteria? Three main targets
Bacteria and human cells differ in several ways: many bacteria have a cell wall, and bacteria also use their own kinds of machinery to build proteins and to copy their DNA.7 Each of those differences is a target.
Sources for the table: 711
Penicillin and the cell wall
Many bacteria are wrapped in a stiff cell wall, a bit like a strong net around a balloon. The inside of a bacterium is under pressure, and the wall holds it in. As a bacterium grows, it keeps building its wall by linking small molecules together.711
Penicillin and the other beta-lactam antibiotics block that linking step. Without a solid wall to support it, the pressure inside becomes too much and the membrane bursts.7
no wall links → weak spots → burst
Jamming the ribosomes
Ribosomes are the machines that build proteins, and proteins do almost all of a cell's work. Bacteria and people both have ribosomes, but they are shaped differently. Macrolide antibiotics block only the bacterial kind. A bacterium that can't build proteins can't survive.7
Breaking the DNA
Before a bacterium divides, it copies its DNA. Quinolone antibiotics make the DNA strands break during copying and stop the breaks from being repaired. Without intact DNA, the bacterium can't live or reproduce.711
Kill or stop: two kinds of antibiotic
Some antibiotics kill bacteria outright. Others mainly stop bacteria from growing and multiplying, so your body's natural defences can clear the rest.13 Either way, the number of bacteria causing the infection goes down.
Who invented antibiotics? Fleming's clear ring
On 3 September 1928, Scottish scientist Alexander Fleming came back from holiday to his lab in London and began sorting through dishes of Staphylococcus bacteria. One dish had a blob of mould growing on it, and the area right around the mould was clear of bacteria.89 The mould was a Penicillium, and Fleming named the bacteria-killing substance it made penicillin.9
Fleming couldn't purify it, though. From 1939, Howard Florey, Ernst Chain and their team at Oxford University turned penicillin into a real medicine, and the first patient was treated in February 1941.8 During the Second World War, US labs worked out how to grow the mould in huge tanks; one of the best strains came from a mouldy cantaloupe melon bought at a market in Peoria, Illinois.8 The mass production of penicillin in the 1940s began the era of antibiotics.811 Fleming, Florey and Chain shared the 1945 Nobel Prize in Physiology or Medicine.9
More discoveries followed: streptomycin in 1943, which worked against tuberculosis where penicillin didn't; the cephalosporins in the 1950s; and the quinolones in the 1960s.11
Why don't antibiotics work on viruses?
Colds, flu, most sore throats and most chest colds are caused by viruses, and antibiotics don't work on them.1 Viruses are very different from bacteria (are viruses alive?). A virus has no cell wall and no ribosomes of its own. It can't copy itself alone; it has to get inside your cells and use their parts to make copies.14 That leaves an antibiotic with nothing to attack.
This is why doctors don't prescribe antibiotics for a cold, even if the mucus is thick, yellow or green.1 Antibiotics won't make you feel better if you have a virus, and their side effects can still cause harm.1 Some bacterial infections, such as many sinus infections and some ear infections, also get better without them.1 If you want to know how the body prepares for viruses instead, see how vaccines work.
Source for the table: 1
How fast do antibiotics work?
It depends on the antibiotic and on the infection it's treating. Many people start to feel better within a few days.12 Symptoms often ease before the infection is completely gone, so feeling better isn't a sign to stop on your own.12 You may also still be infectious after starting antibiotics: the NHS says it can take anywhere from 48 hours to 14 days to stop being infectious, depending on the infection.10
After the last dose, antibiotics stay in your system for anywhere from a few hours to several days, depending on the medicine, the dose and your age.12
How to take antibiotics
If a doctor decides an antibiotic is the best treatment, the CDC's advice is simple:12
- Take them exactly as prescribed. Follow the instructions on the label, or from your doctor or pharmacist.10
- Don't share them, and don't take antibiotics prescribed for someone else.
- Don't save them for later. Taking the wrong medicine for a future illness can delay the right treatment. Ask a pharmacist how to dispose of leftovers.
- Tell a healthcare professional about side effects, such as rash, nausea, diarrhoea or dizziness. Serious allergic reactions are rare but need urgent help.110
Antibiotics also kill some of the friendly bacteria that normally live in your body and help protect you, which is one reason they can upset your stomach.37
What is antibiotic resistance?
Antibiotic resistance happens when bacteria change so that the drugs designed to kill them no longer work. The bacteria aren't killed and keep growing.3 It's the bacteria that become resistant, not your body.2
Resistance is a naturally occurring process.2 It works like this:34
- Variation. Most bacteria reproduce by dividing every few hours. Each time they copy their DNA, small random changes (mutations) can appear. Bacteria can also pick up genes from each other.
- Selection. When an antibiotic arrives, most of the bacteria die. Any that happen to carry a change that helps them survive live on.
- Inheritance. The survivors multiply and pass the resistance on in their DNA, so the next crowd of bacteria is harder to treat.
This is natural selection, the same process behind evolution, happening fast enough to watch. Every time antibiotics are used, they can add to resistance, which is why using them only when they're needed matters.2 The CDC estimates that about 47 million antibiotic courses a year in US doctors' offices and emergency departments are for infections that don't need them, like colds and flu: about 28% of all antibiotics prescribed there.2
Resistant infections can be difficult, and sometimes impossible, to treat.35 In the US, the threats in the CDC's resistance report add up to more than 3 million infections and 48,000 deaths a year.3 Worldwide, about one in six bacterial infections is already resistant to antibiotics, and the World Health Organization counts antimicrobial resistance among the world's top ten global health threats.15 It matters for more than infections: joint replacements, organ transplants and cancer treatment all rely on antibiotics that work.2
The good news is that everyone can help: use antibiotics only when a healthcare professional says you need them, take them exactly as prescribed, and prevent infections in the first place by washing your hands, staying home when you're sick and getting recommended vaccines.12
Common misconceptions
"Antibiotics will help my cold or flu." Colds and flu are caused by viruses, and antibiotics don't work on viruses.
1
"My body becomes resistant to antibiotics." It's the bacteria that become resistant, not you.
2
"Antibiotics only kill the bad bacteria." They can also kill the friendly bacteria that help protect you.
37
"I feel better, so I can keep the rest for next time." Take antibiotics exactly as prescribed, and never save them for later or share them.
1
"Something strong enough to kill bacteria must harm my cells the same way." Antibiotics are aimed at parts only bacteria have, like the cell wall.
7
Curious about the cells themselves? See why cells divide and how bacteria reproduce.
FAQ
How do antibiotics work, in simple words?
Antibiotics are medicines that kill bacteria or stop them from growing and multiplying. They work by attacking parts that bacterial cells have but human cells don't, such as the cell wall or the bacterial type of ribosome (protein builder). That's how they can harm bacteria while leaving your own cells alone.
How do antibiotics kill bacteria?
Different antibiotics attack different targets. Penicillin and its relatives stop bacteria from building their cell walls, so the pressure inside makes them burst. Macrolides such as erythromycin jam bacterial ribosomes so the bacteria can't make proteins. Quinolones break bacterial DNA while it is being copied. Some antibiotics kill bacteria outright; others stop them multiplying so your immune system can clear them.
How fast do antibiotics work?
It depends on the antibiotic and the infection. Many people start to feel better within a few days. Feeling better doesn't always mean the infection is gone, so keep taking the medicine exactly as your doctor or pharmacist tells you. You may also still be infectious for a while after starting; the NHS says this can be anywhere from 48 hours to 14 days.
Why don't antibiotics work on colds and flu?
Colds and flu are caused by viruses, not bacteria. A virus has no cell wall and no ribosomes of its own: it gets inside your cells and uses their parts to copy itself. So an antibiotic has nothing to hit. Taking antibiotics for a virus won't help you feel better, and their side effects can still cause harm.
What is antibiotic resistance?
Antibiotic resistance is when bacteria change so that an antibiotic no longer kills them. It happens by natural selection: bacteria that happen to carry a helpful change survive, multiply and pass it on. It is the bacteria that become resistant, not your body. The WHO calls antimicrobial resistance one of the world's top ten global health threats.
Do antibiotics start killing bacteria immediately?
You usually won't feel the difference straight away. Antibiotics travel through your bloodstream to the infection, and it takes time for the bacteria to be cleared and your symptoms to ease. Many people start to feel better within a few days, depending on the medicine and the infection. Keep taking it exactly as prescribed, even once you feel better.
What not to do while on antibiotics?
The CDC advises: take them exactly as prescribed, don't share them with others, don't save them for later, and don't take antibiotics prescribed for someone else. Some antibiotics don't mix well with other medicines or alcohol, so read the leaflet and ask a pharmacist if you're unsure. Tell a healthcare professional about any side effects.
Sources
- CDC, Healthy Habits: Antibiotic Do's and Don'ts
- CDC, Antimicrobial Resistance Questions and Answers
- CDC, About Antimicrobial Resistance
- NIH / NIAID, Causes of Antimicrobial (Drug) Resistance
- NHS, Antibiotic resistance
- MedlinePlus (NIH National Library of Medicine), Antibiotics
- Genetic Science Learning Center, University of Utah, What is an Antibiotic?
- American Chemical Society, Discovery and Development of Penicillin (National Historic Chemical Landmark)
- Science History Institute, Alexander Fleming
- NHS, Antibiotics
- Encyclopaedia Britannica, Antibiotic
- Cleveland Clinic, Antibiotics
- MSD Manual Consumer Version, Overview of Antibiotics
- NIH / National Human Genome Research Institute, Virus (glossary)
- World Health Organization, Regional Office for Africa: antimicrobial resistance, one of the world's top ten global health threats and AMR: the invisible threat