The surface of Tb0.3Dy0.7Fe2 alloys was mod-ified by microwave electron-cyclotron-resonance chemical vapor deposition(MW-ECR-CVD)and ion implantation technology,respectively.The microstructure and corrosion resistance of nitrided layers were investigated by means of optical microscope(OM),X-ray diffractomer(XRD),auger electron spectroscopy(AES),and electrochemical workstation.After modified by MW-ECR-CVD,the nitrogen concentration of the nitrided layers decreases gradually with the depth increasing,while the nitrogen concentration modified by ion implantation process exhibits Gaussian distribution.The self-corrosion electric potential of the sample modified by ion implantation is higher than that modified by MW-ECR-CVD,which reveals that the samples modified by ion implantation process have a better resistance to corrosion.The mag-netostrictions are assessed for the samples placed in the air for one year,which further confirms that the ion implan-tation process is more helpful to maintain the magnetostrictions.