The burying beetle Nicrophorus vespilloides buries the cadavers of small animals to use them as a food source for its offspring. However, the carcass is susceptible to microbial decomposition. Researchers show that the beetles replace harmful microorganisms with their own beneficial gut symbionts, thus turning a carcass into a nursery with a microbial community that even promotes larval growth.