The invention discloses a preparation method of a lithium ion battery and a supercapacitor electrode material. The preparation method comprises following steps: 1, two dimensional metal oxides and sulfides, and oxidized graphene are weighed at a certain mass ratio and are mixed to be uniform; 2, an obtained mixture is subjected to ball millilng so as to obtain a composite material formed via ordered stacking of metal oxides and sulfides/graphene, wherein the mass ratio of the metal oxides and sulfides to graphene is controlled to be x:1, 1<=x<=14, and the metal oxides and sulfides are MoS2, MoO3, V2O5, or VS2. According to the preparation method, in ball milling processing, oxidized graphene is reduced gradually, and peeling is realized gradually; peeling of the two dimensional metal oxides and sulfides is realized gradually; assembling of the oxidized graphene with the two dimensional metal oxides and sulfides is realized, so that transmission capability of charges in the two mediumsis increased, electrode material rate capability is improved; the existing of graphene is capable of increasing material flexibility, improving the volume effect resistance of the supercapacitor electrode material in charge and discharge process, and increasing electrode material cycling stability.