The invention discloses a gluten-free functional food and a preparation method thereof, which solve the problem of lack of functional food for improving nutrients of a human body, enhancing immunity,invigorating Qi and tonifying the spleen, and increasing bone density for a patient with celiac sprue in the prior art. The gluten-free functional food is prepared from the following components of 30to 60 parts of gluten-free component, 5 to 30 parts of spleen-tonifying and Qi-invigorating component, 5 to 30 parts of intestine-regulating component and 5 to 30 parts of bone-protecting component, wherein the gluten-free component is prepared from quinoa, tartary buckwheat, black rice, millet, coix seed, and pea protein; the spleen-tonifying and Qi-invigorating component is prepared from ginsengradix et rhizome, rhizoma polygonati, rhizoma dioscoreae, poria cocos, radix puerariae, mulberry fruit, fructus hordei germinatus, fructus citrus sarcodactylis, and semen euryales; the intestine-regulating component is prepared from barley seedling and fructo-oligosaccharide; the bone-protecting component is prepared from collagen and casein phosphopeptides. The gluten-free functional food has the advantages that the gluten is not contained, and multiple beneficial substances are contained; the multi-path and multi-target synergistic effect is realized; the functions of regulating the intestine and stomach, invigorating Qi and tonifying the spleen, increasing bone density, improving nutrients of the human body and enhancing immunity are realized; the safety and validity are realized.