Fe-Al-N and Fe-C-N alloy layes were prepared on the surface of 45 steel by double-glow plasma aluminizing technology and plasma carbonitriding technology,respectively.The surface microhardness and phase composition of the two alloy layers were analyzed,and the microstructure of the surface,element distribution were observed.The results show that the surface hardness of the Fe-Al-N alloy layer formed on the surface of the 45 steel is as high as 750.27 HV0.1,which is much higher than the surface hardness of the Fe-C-N alloy layer,and it is 3-4 times of that of the matrix.The cross-sectional hardness distribution curves of the two alloy layers are gradient;the surface of the Fe-Al-N alloy layer is more even and dense,and the compound aggregation phenomenon is formed,showing better wear resistance.