The invention relates to a traditional Chinese medicine composition for treating constipation, wherein the raw materials of the medicine and the weight ratio are as follows: 10-30 parts of Cynomorium cynomorium, 5-25 parts of Jinjin Rod, 5-20 parts of Fritillaria ovale, and 5-20 parts of Suanzaoren 25 parts, 5-25 parts of stick grass, 5-25 parts of red door orchid, 5-20 parts of poplar branch, 5-25 parts of hair bee seed, 5-25 parts of black pagoda root, 5-25 parts of agaric cauliflower, 5‑25 parts of Radix Ginseng, 5‑20 parts of Lanshi Caoguo, 5‑25 parts of Taiwan Begonia, 5‑20 parts of Ox Gallbladder, 5‑25 parts of Brassica Seed, 5‑20 parts of Castor Bean, 5‑25 part of Small Grass 5-25 parts of asparagus leaves, 5-20 parts of fan fern, 5-25 parts of sea leeks, 5-25 parts of chinensis, and 5-15 parts of licorice. The traditional Chinese medicine composition of the present invention has scientific compatibility and refined prescriptions, has the effects of invigorating the spleen and stomach, nourishing the liver and kidney, nourishing yin and moistening dryness, nourishing the middle and replenishing qi, eliminating food stagnation, moistening the intestines and defecating, and has remarkable curative effect in treating constipation. The effect is reliable.