Endocannabinoids are host-derived lipid hormones that fundamentally impact gastrointestinal (GI) biology. The use of cannabis and other exocannabinoids as anecdotal treatments for various GI disorders inspired the search for mechanisms by which these compounds mediate their effects, which led to the discovery of the mammalian endocannabinoid system. Dysregulated endocannabinoid signaling was linked to inflammation and the gut microbiota. However, the effects of endocannabinoids on host susceptibility to infection has not been explored. Here, we show that mice with elevated levels of the endocannabinoid 2-arachidonoyl glycerol (2-AG) are protected from enteric infection by Enterobacteriaceae pathogens. 2-AG directly modulates pathogen functi...