The invention relates to a K2O-Na2O-Nb2O5-SiO2-B2O3 system glass ceramic material used for energy storage, and a preparation method thereof. The method comprises the following steps: mixing K2CO3, Na2CO3, Nb2O5, SiO2, H3BO3 and BaF2 according to a molar ratio of 15:15:30:4.2:(2-5), fusing, molding, annealing, and crystallizing to prepare the material. Alkali metal oxides in raw materials exist in the glass system as a network modifier to destroy the network structure of glass, so the formula of the glass is simplified, the cost is reduced, and the quantity of kinds of precipitated impure phases is fundamentally reduced; a fusion technology is adopted, so the raw materials highly and uniformly react, and the experiment operation is simple; annealing can effectively eliminate internal stress; and segment heat insulation is adopted in the crystallization treatment process, so a crystal phase completely grows, crystal precipitation is thorough, and obtaining of glass ceramic with fine internal crystal grins, high homogenization degree and high energy storage density is facilitated.