Constipation is a prevalent gastrointestinal disorder, with its prevalence showing an annual upward trend. There are many factors involved in the occurrence of constipation, such as abnormal smooth muscle contraction and disorders of gastrointestinal hormone secretion. Amomum villosum (A. villosum) has been proven to be effective in improving digestive system diseases, but there is no report on improving constipation. Therefore, we used network pharmacology prediction combined with animal experiments to explore the key active components of A. villosum and their pharmacological mechanisms. The results of network pharmacological prediction showed that β-sitosterol was the key laxative compound of A. villosum, which may play a laxative role by activating the adrenoceptor alpha 1 A-myosin light chain (ADRA1A-MLC) pathway. Further animal experiments showed that β-sitosterol could significantly shorten the time to first black stool; increase faecal weight, faecal number, and faecal water content; and promote gastrointestinal motility. β-sitosterol may promote intestinal motility by upregulating the expression of ADRA1A and myosin light chain 9 (Myl9) mRNA and protein in the colon, thereby activating the ADRA1A-MLC signalling pathway. In addition, it is possible to improve constipation symptoms by regulating serum neurotransmitters and gastrointestinal motility-related factors, such as the serum content of 5-hydroxytryptamine (5-HT) and acetylcholinesterase (AchE) and the mRNA expression of 5-hydroxytryptamine receptor 4 (5-HT4), stem cell factor (SCF), stem cell factor receptor (c-Kit) and smooth muscle myosin light chain kinase (smMLCK) in the colon. These results lay a foundation for the application of A. villosum and β-sitosterol in constipation.