The invention discloses a traditional Chinese preparation applied to preventing and treating functional constipation, which is prepared by desertliving cistanche, radix rehmanniae recen, fructus aurantii, raw largehead atractylodes rhizome, radix glycyrrhizae preparata, semen cassiae, golden thread, baical skullcap root, herba cynomorii, myrrh, Indian buead, ginger and Chinese date by certain weight ratio through techniques such as dipping, alcohol extraction, boiling in water, concentration, moulding, etc. Therefore, traditional Chinese preparation including electuary, syrup, oral solution, granule, capsule and tablet can be obtained. The composition has the functions of replenishing, moistening the intestines and relieving constipation, can relieve the primary and secondary symptoms, replenishes and cures simultaneously and is effective in preventing and treating functional constipation.