Certain ants appear to alter their nest networks to prevent epidemics, offering inspiration for disease control interventions in the human world as well.