The rise of β-lactam resistance necessitates new strategies to combat bacterial infections. We purposefully engineered the β-lactam prodrug AcephPT to exploit β-lactamase activity to selectively suppress resistant bacteria producing extended-spectrum-β-lactamases (ESBLs). Selective targeting of resistant bacteria requires avoiding interaction with penicillin-binding proteins, the conventional targets of β-lactam antibiotics, while maintaining recognition by ESBLs to activate AcephPT only in resistant cells. Computational approaches provide a rationale for structural modifications to the prodrug to achieve this biased activity. We show AcephPT selectively suppresses gram-negative ESBL-producing bacteria in clonal populations and in mixed microbial cultures, with effective selectivity for both lab strains and clinical isolates expressing ESBLs. Time-course NMR experiments confirm hydrolytic activation of AcephPT exclusively by ESBL-producing bacteria. In mixed microbial cultures, AcephPT suppresses proliferation of ESBL-producing strains while sustaining growth of β-lactamase-non-producing bacteria, highlighting its potential to combat β-lactam resistance while promoting antimicrobial stewardship.