The invention provides a medicinal and edible traditional Chinese medicine composition, which is composed of ginseng, bighead atractylodes rhizome, white poria, citrus chachiensis hortorum, hawthorn,liquorice, Chinese yam, rhizoma coptidis from Sichuan of China, coix seed, white hyacinth bean, amomum cardamomum kernel, agastache rugosus leaf, lotus seed, rhizoma alismatis, platycodon grandiflorum, gordon euryale seed powder and malt. The medicinal components in the formula have combined effects and can achieve the effects of tonifying qi and strengthening spleen, improving digestion and harmonizing stomach, regulating qi and excreting dampness and the like, and can not only be used for treating pregnancy spleen deficiency and vomiting or habitual abortion, but also be used for treating deficiency of spleen and stomach, poor appetite and loose stool, abdominal cavity and abdominal distension, nausea and vomiting, emaciation and weakness, light tongue quality and smooth pulse. The traditional Chinese medicine composition can also be used for treating digestive system diseases such as functional dyspepsia, chronic gastritis, ulcerative colitis and the like, and can be used for treating diseases of patients with deficiency of spleen and stomach and damp turbidity, such as infantile anorexia and chronic kidney, and also has a very good treatment effect on dyspepsia of cancer patients. In addition, the traditional Chinese medicine composition provided by the invention also has a certain hangover alleviating effect, which can replace hangover alleviating beverages or foods for eating.