Correction to: Nature Reviews Microbiology https://doi.org/10.1038/s41579-022-00820-y, published online 21 November 2022.

In the version of the article initially published, there were minor errors in the text that have now been corrected. In Fig. 1, the three channels in the porin have been spaced out for clarity. In the second paragraph of the “Reduced permeability” section, the sentence “Generally, porins allow the influx of hydrophilic compounds <600 Da into the cell …” previously showed the unit as kDa. In the third paragraph of the “Target alteration, modification and protection” section, the phrase “whereby the rRNA target can be methylated by ribosomal methyltransferases” previously read “16S rRNA”. In the fifth paragraph of the “Modification of antibiotics by the transfer of a chemical group” section, the sentence “The chloramphenicol acetyltransferase (CAT) enzyme transfers an acetyl group from coenzyme A . . .” previously read “to coenzyme A”, and, in the same paragraph, “changing the conformation of the drug” previously read “changing the conformation of the protein”. In the seventh paragraph of the “Target bypass” section, “synthase” was misspelt as “synthetase”. These corrections have been made to the HTML and PDF versions of the article.