Gdoc/Admin

How do antibiotics work, and how does antibiotic resistance evolve?

To use antibiotics more effectively, it’s important to know how different antibiotics work and how antibiotic resistance evolves and spreads.

Antibiotics are an essential type of medicine used to treat and prevent bacterial infections, but their use is threatened by growing levels of antibiotic resistance.

What are the different types of antibiotics, and how do they work? Moreover, how does antibiotic resistance develop and spread?

In this article, I visualize and briefly describe these mechanisms.

By understanding them more clearly, we’ll have a better appreciation of how resistance can be a threat; why bacteria might still be susceptible to antibiotics; and how to develop new antibiotics and technologies that can avoid resistance.

How do antibiotics work?

Bacteria compete with other bacteria for resources like nutrients and space. Some bacteria produce antibiotics to suppress or kill competitors, giving them an advantage.1 They target specific processes in bacterial cells that are critical for growth, reproduction, or stability.

Many antibiotics we use today come from nature — from bacteria that produce compounds to compete with each other — and we’ve used this to our advantage. But these bacteria are also in an arms race, and have developed ways to resist antibiotics.

Let’s look at these mechanisms more closely.

Different classes of antibiotics target different features of bacteria, as the diagram below shows. For example, beta-lactam antibiotics, like penicillin, block the production of the “peptidoglycan layer”, a key component of bacterial cell walls. This weakens the wall, causing the bacteria to burst.2

A different example is tetracyclines, which are effective against many Gram-positive and Gram-negative bacteria. Tetracyclines target “ribosomes”, which build proteins and are crucial to bacterial growth and survival.3

A diagram illustrating how different types of antibiotics work, featuring a simplified representation of a gram-positive bacterium. The bacterium is depicted with its cell wall and cell membrane labeled, along with internal components like DNA, mRNA, and ribosomes. Surrounding the bacterium are various categories of antibiotics, each with a brief description of their mechanisms and examples: 

- **Cell wall synthesis inhibitors**: Block the formation of the protective cell wall, causing the bacteria to burst. Examples include beta-lactams, glycopeptides, and bacitracin.
- **Cell membrane disruptors**: Damage the cell membrane, leading to leakage of essential contents. It lists enniatins and polymyxins.
- **Folate synthesis inhibitors**: Prevent the production of folate, vital for bacterial growth. Examples given are sulfonamides and diaminopyrimidines.
- **DNA gyrase inhibitors**: Halt the uncoiling of DNA necessary for reproduction and repair, including (fluoro)quinolones.
- **RNA synthesis inhibitors**: Block RNA production needed for protein synthesis, with examples like ansamycins and rifamycins.
- **Protein synthesis inhibitors**: Disrupt protein synthesis machinery essential for growth. Examples include tetracyclines and macrolides.

The diagram notes that gram-positive bacteria possess thick cell walls, making them susceptible to certain antibiotics. At the bottom, there is a source attribution indicating the information is adapted from Sanseverino et al (2018) and Hutchings, Truman and Wilkinson (2019) and licensed under a Creative Commons license.
Adapted from Sanseverino et al. (2018)4 and Hutchings, Truman, and Wilkinson (2019).5

How do bacteria develop resistance to antibiotics?

Unfortunately, bacteria can develop resistance to antibiotics. For example, they can produce enzymes called “beta-lactamases” that break down beta-lactam antibiotics.6 Bacteria can also produce proteins that pump tetracycline antibiotics out of their cells.7

To counter this, doctors often prescribe second- or third-generation antibiotics, which bacteria have less resistance to. They could also prescribe combination therapies, which include antibiotics and additional drugs to counter bacterial resistance, such as beta-lactams with beta-lactamase inhibitors. However, over time, bacteria can adapt to these as well.

The diagram below shows four pathways for antibiotic resistance to evolve.

As you can see in the top left of the illustration, bacteria can develop resistance through “de novo innovation” — like spontaneous DNA mutations or rearrangements. They can also acquire them from other bacteria through “horizontal gene transfer” — this includes conjugation (direct transfer), transduction (via phages), or transformation (taking up DNA from the environment).8

Resistant bacteria can also interact with other bacteria in their environment and shape their evolution. Sometimes, bacteria might be able to also survive if other nearby bacteria produce compounds that help them avoid resistance as well.

Finally, resistant bacteria can migrate between environments or places in the same host.

These mechanisms allow bacteria to adapt quickly and share resistance mechanisms, including between different species.

Diagram illustrating the pathways through which antibiotic resistance evolves and spreads in bacteria, categorized into migration, horizontal gene transfer (transduction, conjugation, and transformation), de novo innovation (mutation and structural rearrangement), and ecological interactions. Each mechanism is shown with examples, such as bacteriophages transferring DNA in transduction and bacteria acquiring plasmids through conjugation. Adapted from research by Célia Souque, Indra González Ojeda, and Michael Baym (2024), presented by Our World in Data.
Adapted from Célia Souque, Indra González Ojeda, and Michael Baym (2024).8

Resistance mechanisms can also come with costs for the bacteria: for example, producing enzymes like beta-lactamase or maintaining protein pumps can use up energy or resources, which can slow bacterial growth.8

If the benefits of surviving antibiotics outweigh the costs, resistant bacteria could dominate over time.

But in some bacterial species, resistance develops slowly, or not at all, due to the costs or evolutionary constraints. For example, syphilis remains susceptible to penicillin, and group A streptococcal infections are typically susceptible as well.9

There are several reasons that bacteria could continue to be susceptible. They might lack the genetic or metabolic ability to produce enzymes, pumps, or other resistance mechanisms without harming their ability to grow and reproduce. Or they might lack the ability to acquire resistance from other bacteria through horizontal gene transfer. These constraints can slow or prevent the emergence of resistance in certain bacterial species.10

Although resistance often evolves over days to weeks in labs, it takes longer to evolve in individual people (between days to months) and even longer to spread across populations (between weeks to years).8

The arms race between antibiotics and bacteria continues because antibiotics create selection pressure. Bacteria that develop resistance mechanisms may be more likely to survive, reproduce, and pass on their resistance genes.


Understanding these mechanisms helps us use antibiotics more effectively by choosing the most effective antibiotics against particular bacteria.

It also helps learn about resistance — we can see that antibiotic resistance is common and can be shared between bacteria. But antibiotics can still be effective, especially if they’re used carefully or if resistance comes with significant costs to bacteria.

Finally, we can learn from the arms race between bacteria and antibiotics in nature, such as by developing new technologies that make it very difficult for antibiotic resistance to evolve.11

Acknowledgments

I’m grateful to Edouard Mathieu and Max Roser for providing feedback on this article.

Continue reading on Our World in Data

Many antibiotics were developed during the “Golden Age of Antibiotics”. How did it happen, why has antibiotic development slowed down since then, and what can we do to reignite it?

Endnotes

  1. Aminov, R. I. (2009). The role of antibiotics and antibiotic resistance in nature. Environmental Microbiology, 11(12), 2970–2988. https://doi.org/10.1111/j.1462-2920.2009.01972.x

    Newman, D. J., & Cragg, G. M. (2016). Natural Products as Sources of New Drugs from 1981 to 2014. Journal of Natural Products, 79(3), 629–661. https://doi.org/10.1021/acs.jnatprod.5b01055

    Van Der Meij, A., Worsley, S. F., Hutchings, M. I., & Van Wezel, G. P. (2017). Chemical ecology of antibiotic production by actinomycetes. FEMS Microbiology Reviews, 41(3), 392–416. https://doi.org/10.1093/femsre/fux005

  2. Hutchings, M. I., Truman, A. W., & Wilkinson, B. (2019). Antibiotics: Past, present and future. Current Opinion in Microbiology, 51, 72–80. https://doi.org/10.1016/j.mib.2019.10.008

    Bush, K., & Bradford, P. A. (2016). β-Lactams and β-Lactamase Inhibitors: An Overview. Cold Spring Harbor Perspectives in Medicine, 6(8), a025247. https://doi.org/10.1101/cshperspect.a025247

  3. Hutchings, M. I., Truman, A. W., & Wilkinson, B. (2019). Antibiotics: Past, present and future. Current Opinion in Microbiology, 51, 72–80. https://doi.org/10.1016/j.mib.2019.10.008

    Grossman, T. H. (2016). Tetracycline Antibiotics and Resistance. Cold Spring Harbor Perspectives in Medicine, 6(4), a025387. https://doi.org/10.1101/cshperspect.a025387

  4. European Commission: Joint Research Centre, Sanseverino, I., Loos, R., Navarro Cuenca, A., Marinov, D. et al., State of the art on the contribution of water to antimicrobial resistance, Publications Office, 2018, https://data.europa.eu/doi/10.2760/771124

  5. Hutchings, M. I., Truman, A. W., & Wilkinson, B. (2019). Antibiotics: Past, present and future. Current Opinion in Microbiology, 51, 72–80. https://doi.org/10.1016/j.mib.2019.10.008

  6. Bush, K., & Bradford, P. A. (2016). β-Lactams and β-Lactamase Inhibitors: An Overview. Cold Spring Harbor Perspectives in Medicine, 6(8), a025247. https://doi.org/10.1101/cshperspect.a025247

  7. Grossman, T. H. (2016). Tetracycline Antibiotics and Resistance. Cold Spring Harbor Perspectives in Medicine, 6(4), a025387. https://doi.org/10.1101/cshperspect.a025387

  8. Souque, C., González Ojeda, I., & Baym, M. (2024). From Petri Dishes to Patients to Populations: Scales and Evolutionary Mechanisms Driving Antibiotic Resistance. Annual Review of Microbiology, 78(1), 361–382. https://doi.org/10.1146/annurev-micro-041522-102707

  9. Stamm, L. V. (2015). Syphilis: Antibiotic treatment and resistance. Epidemiology and Infection, 143(8), 1567–1574. https://doi.org/10.1017/S0950268814002830

    Brouwer, S., Rivera-Hernandez, T., Curren, B. F., Harbison-Price, N., De Oliveira, D. M. P., Jespersen, M. G., Davies, M. R., & Walker, M. J. (2023). Pathogenesis, epidemiology and control of Group A Streptococcus infection. Nature Reviews Microbiology, 21(7), 431–447. https://doi.org/10.1038/s41579-023-00865-7

  10. Bush, K., & Bradford, P. A. (2016). β-Lactams and β-Lactamase Inhibitors: An Overview. Cold Spring Harbor Perspectives in Medicine, 6(8), a025247. https://doi.org/10.1101/cshperspect.a025247

    Grossman, T. H. (2016). Tetracycline Antibiotics and Resistance. Cold Spring Harbor Perspectives in Medicine, 6(4), a025387. https://doi.org/10.1101/cshperspect.a025387

    Brouwer, S., Rivera-Hernandez, T., Curren, B. F., Harbison-Price, N., De Oliveira, D. M. P., Jespersen, M. G., Davies, M. R., & Walker, M. J. (2023). Pathogenesis, epidemiology and control of Group A Streptococcus infection. Nature Reviews Microbiology, 21(7), 431–447. https://doi.org/10.1038/s41579-023-00865-7

  11. Baym, M., Stone, L. K., & Kishony, R. (2016). Multidrug evolutionary strategies to reverse antibiotic resistance. Science, 351(6268), aad3292. https://doi.org/10.1126/science.aad3292

Cite this work

Our articles and data visualizations rely on work from many different people and organizations. When citing this article, please also cite the underlying data sources. This article can be cited as:

Saloni Dattani (2024) - “How do antibiotics work, and how does antibiotic resistance evolve?” Published online at OurWorldinData.org. Retrieved from: 'https://ourworldindata.org/how-do-antibiotics-work' [Online Resource]

BibTeX citation

@article{owid-how-do-antibiotics-work,
    author = {Saloni Dattani},
    title = {How do antibiotics work, and how does antibiotic resistance evolve?},
    journal = {Our World in Data},
    year = {2024},
    note = {https://ourworldindata.org/how-do-antibiotics-work}
}
Our World in Data logo

Reuse this work freely

All visualizations, data, and code produced by Our World in Data are completely open access under the Creative Commons BY license. You have the permission to use, distribute, and reproduce these in any medium, provided the source and authors are credited.

The data produced by third parties and made available by Our World in Data is subject to the license terms from the original third-party authors. We will always indicate the original source of the data in our documentation, so you should always check the license of any such third-party data before use and redistribution.

All of our charts can be embedded in any site.