Background: Intestinal microbiota plays an important role in regulating metabolism, physiology, and immune response of the host. L-Tryptophan (Trp) are metabolized by several genera of bacteria. It remains largely unknown whether Trp can regulate the composition and diversity of the intestinal microbiota and contribute to intestinal homeostasis.Methods: A total of 126 weaning piglets were fed a corn- and soybean meal-based diet supplemented with 0, 0.2, or 0.4% Trp for 4 weeks. The intestinal microbiota was measured by using bacterial 16S rRNA gene-based high-throughput sequencing methods. Metabolites of Trp and short-chain fatty acids (SCFAs) in the hindgut were determined by high-performance liquid chromatography and gas chromatography, respectively. The mRNA levels for aromatic hydrocarbon receptor (AhR), tumor necrotic factor-α (TNF-α), interleukin-8 (IL-8), and protein abundances of tight junction proteins were determined.Results: Compared with the control group, Trp supplementation enhanced piglet growth performance and markedly altered the intestinal microbial composition as evidenced by enhanced alpha and beta diversity in the microbiome (P Conclusion: Dietary Trp supplementation altered intestinal microbial composition and diversity, improved intestinal mucosal barrier function, activated AhR signaling, and downregulated expression of inflammatory cytokines in the large intestine of weaned piglets. These results indicate a crosstalk between dietary Trp and intestine in nutrition, microbial metabolism, and mucosal immunity.</p