The invention relates to a preparation method of a silicon-based material by taking alloy as a reducing agent. The method comprises the steps of taking silicon dioxide as a precursor, mechanically mixing an alloy reducing agent and a low-melting-point salt, pressing a block, and performing sintering in a vacuum or inertia atmosphere at 150-600 DEG C for 2-10 hours; and washing the product with hydrochloric acid and water, and drying the product to obtain the silicon-based material, wherein the silicon dioxide is one of MCM-41, MCM-48, MCM-50 and SBA-15, the alloy reducing agent is one of magnesium alloy and aluminum alloy, the magnesium alloy is one of magnesium aluminum, magnesium lithium, magnesium calcium and magnesium sodium, the aluminum alloy is one of aluminum sodium, aluminum lithium, aluminum calcium and aluminum potassium, the low-melting-point salt is one of aluminum chloride, aluminum bromide , zinc chloride and zinc bromide, the mole ratio of alloy and the silicon dioxide is 2-4, and the mole ratio of the low-melting-point and the silicon dioxide is 3-10. The silicon-based material prepared by the method is small in particle size, is of a porous structure, can be used for a lithium ion battery negative electrode material or a portable hydrogen preparation material, and has very good application prospect.