Guide
What Are Antibiotics and How Do They Work?
Before antibiotics existed, a small cut or a chest infection could turn deadly. Today, antibiotics can treat many bacterial infections, although the right medicine and length of treatment depend on the infection. Antibiotics are medicines that kill bacteria or stop them from growing. They changed medicine forever, and they save millions of lives every year. But they have limits. They do not work on colds or flu, because those are caused by viruses, not bacteria. And using them too often can make bacteria harder to kill. To use antibiotics well, it helps to know what they do, where they came from, and why they must be used with care.
The short answer: Antibiotics kill bacteria or stop them growing. They do not work on viruses such as colds or flu. Penicillin was discovered by Alexander Fleming in 1928, and overuse can lead to resistance.
What antibiotics do
Bacteria are tiny living germs that can cause infections such as strep throat, pneumonia and some ear infections. Antibiotics attack bacteria in different ways. Some break the wall around the bacterial cell, so the cell leaks and dies. Others block the bacterium from making proteins or copying its DNA, so it cannot grow or divide. Different antibiotics work in different ways, and a doctor chooses an antibiotic based on the likely cause of the infection, the person's health and, when needed, test results.
The clever part is that antibiotics target parts of bacteria that human cells do not have, or that work differently in our cells. That is why they can kill the germs while leaving most of our own cells unharmed. Viruses are different. A virus is not a cell at all. A virus enters or attaches to our cells and uses them to make copies of itself, so antibiotics have no bacterial structures to attack. That is why antibiotics do not treat colds or flu, and they do not help most sore throats, which are caused by viruses.
A chance discovery in 1928
The first antibiotic was found by accident. In 1928, a Scottish scientist named Alexander Fleming was growing bacteria in shallow dishes in his London laboratory. One dish had become contaminated with mould. Fleming noticed that the bacteria near the mould had died, while the bacteria farther away were still growing. The mould, a type called Penicillium, was making something that killed bacteria.
Fleming named the substance penicillin, but he and his team did not develop it into a practical treatment for people. In the late 1930s and early 1940s, a team led by Howard Florey and Ernst Chain developed ways to purify and test penicillin, and it was first given to a patient in 1941. It worked so well against serious infections that it changed medicine. Since then, scientists have developed many different antibiotics, which are used to treat a wide range of bacterial infections.
Why resistance grows
Bacteria can change over time. When antibiotics are used, most bacteria die, but a few may survive because they carry changes in their genes that protect them. Those survivors can multiply, and some can pass resistance genes to other bacteria. Over time, an antibiotic that once worked well may stop working. This is called antibiotic resistance, and health experts around the world see it as a serious problem.
Resistance grows faster when antibiotics are used too often or in the wrong way. Taking an antibiotic for a cold does not help the cold, but it can kill susceptible bacteria and allow resistant bacteria to survive and spread. Some infections are already hard to treat because the bacteria resist common antibiotics. One well-known example is MRSA, a type of staph bacterium that is resistant to several antibiotics. That is why doctors only prescribe antibiotics when they are really needed.
What to remember
Antibiotics are medicines that kill bacteria or stop them growing. They work by attacking parts of bacteria that our own cells do not have. They do not work on viruses, so they cannot cure a cold or the flu. Penicillin was discovered by Alexander Fleming in 1928 and developed into a treatment for patients by a team led by Howard Florey and Ernst Chain in the early 1940s.
The most important rule is simple: use antibiotics only when they are prescribed for you, and follow the instructions from your doctor or pharmacist. Do not share them with others, and do not save leftover pills for later. Using them the right way helps them keep working, for you and for everyone else. If you are unsure whether an illness needs an antibiotic, ask your doctor or pharmacist.
Last reviewed 2 December 2026 by Masood Ur Rehman, PharmD.