Here, we present the nematode Caenorhabditis elegans as a versatile host model to study microbial interaction.