Production of metallo-β-lactamases (MBLs) in bacterial pathogens is an important cause of resistance to the ‘last-resort’ carbapenem antibiotics. Development of effective MBL inhibitors to reverse carbapenem resistance in Gram-negative bacteria is still needed. We herein report X-ray structure-guided optimization of 1H-imidazole-2-carboxylic acid (ICA) derivatives by considering how to engage with the active-site