The invention discloses a method for preparing a hollow antimony-based binary alloy composite nanofiber material based on electrostatic spinning and potassium storage application of the hollow antimony-based binary alloy composite nanofiber material. According to the method, PAN and PMMA are taken as precursors, after antimony trichloride, CNT, nickel acetate, stannous chloride and cobalt chlorideare dissolved into DMF according to a certain proportion to form a spinning solution, the spinning solution is transferred into a disposable injector, electrostatic spinning is carried out in electrostatic spinning equipment, and a nanofiber membrane is obtained. After vacuum drying, the fiber membrane is put into a tubular furnace, the temperature is increased to 230-300 DEG C at a low temperature increase rate, heat preservation is carried out for a certain time, pre-carbonization is carried out, then the temperature is increased to 600-800 DEG C at a large temperature increase rate, carbonization is carried out, and a sample obtained after carbonization is marked as XSb (X = Ni, Sn, Co)/CNT/PC. A carbon framework provides a three-dimensional conductive network, the PMMA is pyrolyzed togenerate a hollow channel, alloy particles are embedded in the inner and outer surfaces of carbon fibers, by means of the CNT, the overall conductivity of the material is improved in the carbon fibers, and therefore the material shows excellent comprehensive electrochemical performance when used as a potassium ion battery electrode material.