The effects of Gd and Er on ignition-proof behavior of magnesium alloys were investigated. The XRD, SEM and EDS were used to study the ignition-proof performance, oxide products and oxide layer morphology of these alloys. The results indicate that the proper addition of Gd and Er can increase the ignition point of the magnesium alloy. The better ignition-proof property can be obtained after the addition of Er in the Mg-Gd alloy. The mechanism of ignition-proof of magnesium alloy containing Gd and Er are also discussed in this work.