With the increasing application scope of aluminum alloys in the marine field, exploring the surface anti-corrosion technologies of aluminum alloys is becoming more and more important. In current industries, thermal spraying is generally used to prepare AlZn coatings for surface protection. In this paper, AlZn coating and Al-Zn-Ce coating were prepared by flame spraying technology, and the effects of adding rare earth element Ce on the microstructure and corrosion resistance of AlZn coating were systematically studied by using OM, SEM, XPS, LCSM and electrochemical corrosion tests. The results show that the addition of Ce is conducive to promoting the mobility and solidification shrinkage of AlZn alloy melt, thereby increasing the density of the coating while decreasing porosity and roughness. Moreover, adding Ce improves the hardness and wear resistance of the AlZn coating. During immersion, adding a trace of Ce to the AlZn coating will affect the passivation process and the formation of the passivation film, endowing the coating with a strong passivation ability and thus improving the corrosion resistance of the coating.