The invention discloses a functional food composition with a function of assisting in improving memory. The functional food is characterized by being prepared from the following raw materials in parts by weight: 3000 to 5000 parts of rhizoma curcumae longae, 5000 to 7000 parts of rhizoma dioscoreae, 1000 to 3000 parts of fructus lycii, 2000 to 4000 parts of fructus alpiniae oxyphyllae, 1000 to 3000 parts of semen sesami nigrum, 2000 to 4000 parts of radix ginseng, 2000 to 4000 parts of semen persicae, 0.3 to 0.6 part of vitamin A, 0.01 to 0.015 part of vitamin B6, 0.005 to 0.007 part of vitamin B12, 0.1 to 0.3 g of vitamin C, 0.002 to 0.006 part of vitamin D and 60 to 80 parts of vitamin E. The invention further discloses a preparation method of the functional food. The raw material medicines are prepared according to the parts by weight, and are prepared into an oral dosage form through impurity removal, purification, airing, crushing, granulation or tabletting or other processes. According to the traditional Chinese medicine and food homology theory and network pharmacology big data analysis formula, the traditional Chinese medicine composition has the effects of soothing the nerves, promoting intelligence, tonifying and tonifying qi and has the function of improving memory.