The invention discloses an anode alloy material for a magnesium-air battery, a preparation method thereof, and a battery, and relates to the technical field of materials. The anode alloy material formagnesium air battery is prepared from the components in percentage by mass: 1.5% to 11.5% of Al, 0.5% to 6.5% of Ca, 0.2% to 6.0% of Bi, 0.1% to 4.0% of Ce, the limiting elements Fe less than or equal to 0.01%, Cu less than or equal to 0.01%, Ni less than or equal to 0.01%, and the balance of Mg. The preparation method of the anode alloy material for the magnesium air battery comprises the stepsof solid solution treatment, rolling, and annealing on casting blanks. The content of each element contained in the casting blanks is matched with the element content of the anode alloy material to beprepared. The anode alloy material can increase the hydrogen evolution overpotential of the magnesium anode, effectively inhibit the hydrogen evolution reaction. The material can make discharge potential relatively negative and the anode utilization rate high. The anode of the battery is made of the alloy materials prepared by the preparation method, and the performance of the alloy materials isgood.