The invention discloses a new application of medicines or foods for preventing and curing the osteoporosis, relating to the technical field of medicines, wherein the medicines or foods for preventing and curing the osteoporosis are prepared by taking a vital energy benefiting and smart decoction as a main raw material, and the vital energy benefiting and smart decoction is prepared from ginseng or codonopsis pilosula, astragalus root, bugbane, roots of kudzu vine, fructus viticis, radix paeoniae alba, corktree and liquorice. Furthermore, the invention also relates to a new application of medicines or foods for preventing and curing the osteoporosis, wherein the medicines or foods for preventing and curing the osteoporosis are prepared by taking the adding or subtracting formula of the vital energy benefiting and smart decoction or a pharmaceutical composition prepared under the principle of the vital energy benefiting and smart decoction formula as main raw materials. Each raw material medicine can be singly powdered and then mixed, or mixed and then powdered for being directly processed to prepare oral preparation; and the raw material medicines can be singly extracted and then mixed, or mixed firstly and then extracted, to prepare any common pharmaceutical formulation with pharmaceutically acceptable accessories, such as pills, powders, capsules, tablets, medicinal granules, oral liquid and the like.