Hundreds of trillions of bacteria make their home in the vertebrate gut. Though many of these microbes perform helpful duties for their host, others — the pathogens — are unwelcome visitors, causing disease. New research unveils a key survival circuit, which activates a signaling cascade, switching on or off a suite of genes necessary to circumvent the body’s multiple defense mechanisms and cause illness.