The invention discloses a traditional Chinese medicine composition for invigorating the spleen and nourishing the stomach and a traditional Chinese medicine preparation, which belong to the field of traditional Chinese medicine. Its raw materials include: 52‑70 parts of Radix Astragali, 52‑70 parts of Red Dates, 52‑70 parts of Radix Pseudostellariae, 35‑48 parts of Fried Atractylodes Rhizoma Atractylodes Rhizome, 35‑48 parts of Poria cocos, 25‑35 parts of Radix Polygonatum, 35‑48 parts of Rehmannia glutinosa , 25‑35 parts of Ophiopogon japonicus, 25‑35 parts of Dendrobium, 25‑35 parts of Albizia juniper, 15‑22 parts of pinellia, 25‑35 parts of tangerine peel, 5‑8 parts of amomum, 5‑8 parts of white cardamom, 15 parts of evodia ‑22 parts, Woody Fragrance 15‑22 parts, Citrus aurantium 25‑35 parts, Bupleurum 20‑30 parts, Yuanhu 25‑35 parts, Curcuma 20‑30 parts, Salvia miltiorrhiza 25‑35 parts, Seabuckthorn 25‑35 parts , dandelion 20-30 parts, scutellaria baicalensis 20-30 parts, Sichuan coptis 5-8 parts; Fritillaria 20-30 parts, corrugated corrugated 35-48 parts, squid octopus 35-48 parts, white and 7-12 parts, Polygala 5-8 parts, mother-of-pearl 35-48 parts, Shichangpu 15-22 parts and roasted licorice 50-70 parts. The traditional Chinese medicine composition of the invention has the effects of invigorating the spleen and harmonizing the stomach, benefiting qi and resolving phlegm, regulating the temperature, regulating qi and relieving pain, and has good curative effects for treating chronic gastritis, peptic ulcer and improving mild to moderate anxiety and depression.