Chronic low-grade inflammation (CLGI) is associated with obesity and is one of its pathogenetic mechanisms. Lipopolysaccharide (LPS), a component of Gram-negative bacterial cell walls, is the principal cause of CLGI. Studies have found that capsaicin significantly reduces the relative abundance of LPS-producing bacteria. In the present study, TRPV1-knockout (TRPV1-/-) C57BL/6J mice and the intestinal epithelial cell line Caco-2 (TRPV1-/-) were used as models to determine the effect of capsaicin on CLGI and elucidate the mechanism by which it mediates weight loss in vivo and in vitro. We found that the intragastric administration of capsaicin significantly blunted increases in body weight, food intake, blood lipid, and blood glucose in TRPV1-/- mice fed a high-fat diet, suggesting an anti-obesity effect of capsaicin. Capsaicin reduced LPS levels in the intestine by reducing the relative abundance of Proteobacteria such as Helicobacter, Desulfovibrio, and Sutterella. Toll-like receptor 4 (TLR4) levels decreased following decreases in LPS levels. Then, the local inflammation of the intestine was reduced by reducing the expression of tumor necrosis factor (TNF)-α and interleukin (IL)-6 mediated by TLR4. Attenuating local intestinal inflammation led to the increased expression of tight junction proteins zonula occludens 1 (ZO-1) and occludin and the restoration of the intestinal barrier function. Capsaicin increased the expression of ZO-1 and occludin at the transcriptional and translational levels, thereby increasing trans-endothelial electrical resistance and restoring intestinal barrier function. The restoration of intestinal barrier function decreases intestinal permeability, which reduces the concentration of LPS entering the circulation, and reduced endotoxemia leads to decreased serum concentrations of inflammatory cytokines such as TNF-α and IL-6, thereby attenuating CLGI. This study sheds light on the anti-obesity effect of capsaicin and its mechanism by reducing CLGI, increasing our understanding of the anti-obesity effects of capsaicin. It has been confirmed that capsaicin can stimulate the expression of intestinal transmembrane protein ZO-1 and cytoplasmic protein occludin, increase the trans-epithelial electrical resistance value, and repair intestinal barrier function.