The invention discloses a medicinal composition for treating constipation. According to the medicinal composition, pentoxifylline and prucalopride or medicinally usable salts thereof are used as main active ingredients. The medicinal composition can obviously improve the intestinal transmission function and reduce the pressure of sphincter ani and an obvious synergistic effect is achieved after the two medicaments are combined. The medicinal composition has clear ingredients, a clear curative effect and a treatment effect of treating both symptoms and root causes of chronic constipation, particularly functional constipation, and thus has a broad medical application prospect.