SummaryInteractions between the microbiota and mammalian host are essential for effective defense against pathogenic infection; however, the microbial-derived cues that mediate this beneficial relationship remain unclear. Here, we find that the intestinal epithelial cell (IEC)-associated commensal bacteria, Segmented Filamentous Bacteria (SFB), promotes early protection against the bacterial pathogen, Citrobacter rodentium, independently of CD4+ T cells. Global analyses demonstrated that SFB induced histone modifications in IECs at sites enriched for the retinoic acid receptor (RAR) motif. Interestingly, SFB-colonized mice exhibited greater expression of RAR targets during infection relative to germ-free mice, suggesting SFB may enhance defense through retinoic acid (RA) signaling. Consistent with this, supplementing germ-free mice with RA decreased pathogen levels. Further, mice with impaired RA-responsiveness in IECs displayed increased susceptibility to C. rodentium infection. RA was elevated in the intestine of mice colonized with SFB, indicating that the presence of commensal bacteria can modulate intestinal RA levels. However, this regulation by SFB was not dependent on mammalian RA production. Sequence analyses suggested that RA-generating enzymes are expressed by a subset of commensal bacteria. Remarkably, RA was produced by intestinal bacteria including SFB, and inhibiting RA signaling blocked SFB-induced protection against C. rodentium infection. These data collectively reveal RA as an unexpected microbiota-derived metabolite that primes innate intestinal defense and suggests that pre- and probiotic approaches to elevate RA could prevent or combat pathogenic infection.