<tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$hboxZrN_x/hboxZr$</tex> ceramic/metal coatings were deposited onto NiTi shape-memory alloy using plasma immersion ion implantation and deposition technique in order to prolong the service lifetime of NiTi implants in clinical application. The surface characteristics and microstructure were investigated by atomic force microscope, X-ray diffraction, and X-ray photoelectron spectrometry. The results showed that the coating surface has a mean roughness of 7.487 nm and root-mean-square roughness of 9.065 nm over the area the image and a cubic face-centered lattice of NaCl-type <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$hboxZrN_0.83$</tex> coating was obtained. The electrochemical test demonstrated that the <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$hboxZrN_0.83/hboxZr$</tex> coating can greatly improved the corrosion-resistant property in Hank's solution, which has a great significance for the biomedical application of NiTi alloy.