Vancomycin-resistant bacteria sense a glycopeptide antibiotic challenge and remodel their cell wall precursor peptidoglycan terminus from d-Ala-d-Ala to d-Ala-d-Lac, reducing the binding of vancomycin to its target 1000-fold and accounting for the loss in antimicrobial activity.