Bacterial‐derived compounds from the intestinal microbiome modulate host mucosal immunity. Identification and mechanistic studies of these compounds provide insights into host–microbial mutualism. Specific Lactobacillus reuteri strains suppress production of the proinflammatory cytokine, tumor necrosis factor (TNF), and are protective in a mouse model of colitis. Human‐derived L. reuteri strain ATCC PTA 6475 suppresses intestinal inflammation and produces 5,10‐methenyltetrahydrofolic acid polyglutamates. Insertional mutagenesis identified the bifunctional dihydrofolate synthase/folylpolyglutamate synthase type 2 (folC2) gene as essential for 5,10‐methenyltetrahydrofolic acid polyglutamate biosynthesis, as well as for suppression of TNF production by activated human monocytes, and for the anti‐inflammatory effect of L. reuteri 6475 in a trinitrobenzene sulfonic acid‐induced mouse model of acute colitis. In contrast, folC encodes the enzyme responsible for folate polyglutamylation but does not impact TNF suppression by L. reuteri. Comparative transcriptomics between wild‐type and mutant L. reuteri strains revealed additional genes involved in immunomodulation, including previously identified hdc genes involved in histidine to histamine conversion. The folC2 mutant yielded diminished hdc gene cluster expression and diminished histamine production, suggesting a link between folate and histadine/histamine metabolism. The identification of genes and gene networks regulating production of bacterial‐derived immunoregulatory molecules may lead to improved anti‐inflammatory strategies for digestive diseases.