Bacteria, similar to most organisms, have a love–hate relationship with metals: a specific metal may be essential for survival yet toxic in certain forms and concentrations. Metal ions have a long history of antimicrobial activity and have received increasing attention in recent years owing to the rise of antimicrobial resistance. The search for antibacterial agents now encompasses metal ions, nanoparticles and metal complexes with antimicrobial activity (‘metalloantibiotics’). Although yet to be advanced to the clinic, metalloantibiotics are a vast and underexplored group of compounds that could lead to a much-needed new class of antibiotics. This Review summarizes recent developments in this growing field, focusing on advances in the development of metalloantibiotics, in particular, those for which the mechanism of action has been investigated. We also provide an overview of alternative uses of metal complexes to combat bacterial infections, including antimicrobial photodynamic therapy and radionuclide diagnosis of bacterial infections.