The invention relates to a corrosion-resistant and high-temperature-resistant sacrificial anode material and a preparation method thereof. The material comprises the following components of, in percentage by mass, 4%-6% of Zn, 0.035%-0.05% of In, 0.04%-0.1% of Sn, 0.3%-1.0% of Mg, 0.01%-0.02% of La, 0.01%-0.02% of Y, 0.01%-0.02% of Nd, less than or equal to 0.26% of impurities and the balance Al.During preparation, electrolytic primary aluminum is molten into an aluminum alloy solution, then blowing, refining, degassing, slag pulling out are conducted, Zn, In, Sn and Mg are added, smelting isconducted at 760-800 DEG C, and then cooling is conducted; heating is conducted to achieve 800-820 DEG C, an Al-La intermediate alloy, an Al-Y intermediate alloy and an Al-Nd intermediate alloy are added, and refining, degassing and slag pulling out are conducted at 840-860 DEG C; and finally, heat preservation is conducted at 700-720 DEG C for 60-80 minutes, and then cooling is conducted to achieve the room temperature.