Niuhuang Shangqing Capsule (NHSQC) is a classical heat-pattern-related multi-herb traditional Chinese medicine formula. This study investigated its therapeutic effects and mechanisms in a mouse model of internal excess-heat pattern constipation using integrated metabolomics and gut microbiota multi-omics. Ultra-performance liquid chromatography-mass spectrometry (UPLC-MS) putatively annotated 201 compounds in NHSQC. A constipation model was established by combined administration of a hot-nature herbal extract and loperamide. NHSQC treatment significantly shortened the time to first black stool, increased fecal water content, and enhanced small intestinal transit rate. It upregulated colonic tight junction protein expression, improved serum gastrointestinal hormone profiles, increased goblet cell numbers, and reduced levels of inflammatory cytokines (IL-1, TNF-, IL-6). Furthermore, NHSQC modulated gut microbiota composition, altered fecal metabolite profiles, and preliminarily indicated the involvement of the FoxO signaling pathway in its protective effects. These findings provide pre-clinical evidence that NHSQC alleviates internal excess-heat pattern constipation through a multi-dimensional regulatory network involving multiple components, molecular targets, gut microbiota, and metabolic signaling including the FoxO pathway to restore intestinal function.