Antibiotic resistance is one of the biggest threats to global health. Sensing and treating bacterial infections earlier could help improve patients’ recovery, as well curb the spread of antibiotic-resistant microbes. Now, researchers have developed color-changing bandages that can sense drug-resistant and drug-sensitive bacteria in wounds and treat them accordingly.