The invention provides a medicated diet for improving functions of spleen and stomach and enhancing the immunoregulation capability and a preparation method of the medicated diet. The medicated diet comprises the following components: fructus jujubae, radix astragali preparata, ginseng, fried bighead atractylodes rhizome, poria cocos, fried semen coicis, agastache rugosus, radix paeoniae alba, fructus citrus sarcodactylis, fructus citri, Chinese yam, paederia scandens, caulis bambusae in taeniam, scorched medicated leaven, scorched malt, scorched hawthorn fruit, platycodon grandiflorum, radix aucklandiae, fructus aurantii, fructus amomi, pericarpium citri reticulatae, cassia twig, ginger, semen allii tuberose, radix saposhnikoviae, angelica sinensis, wolfberry fruit, rhizoma polygonati, lingzhi mushroom, rhodiola rosea, walnut meat, taraxacum, radix tinosporae, liquorice, brown granulated sugar and starch syrup. The medicated diet takes natural food materials, materials used as medicines and foods and materials used as health foods as the main raw materials, has the functions of invigorating spleen-stomach and replenishing qi, fortifying spleen and nourishing stomach, supporing Yang for consolidating superficies, reinforcing deficiency and strength, regulating qi function of human body, improving sub-health habitus and the like, can be used for improving functions of spleen and stomach and enhancing immunoregulation capability and has a good effect.