AISI 304 is used in many precision instruments for its excellent corrosion resistance and non-magnetism, but its low hardness and poor friction resistance limit its application. The purpose of this study was to investigate the effects of different phase structures of coatings containing W on the hardness and wear resistance of AISI304. The gradient coatings with different structures were prepared on the surface of AISI304 using CrW (85:15) target, Cr target, Zr target and N2 and C2H2 as working gases by multi-arc ion plating. The dry friction experiments were carried out on UMT-5 friction and wear tester under a load of 10N. The results show that four kinds of ceramic structure coatings with gradient changes of CrN and CrWN are formed on the matrix, and the interlayer boundary is obvious. The microhardness of AISI304 substrate increases from 237HV0.05 to the maximum 4060 HV0.05, increasing by nearly 1600%, and the coating thickness is linearly correlated with the microhardness. The COF decreases from 0.52 to the lowest 0.32, which decreases by 38%. The results revealed that the Cr/CrWN/CrWZrCN gradient coating can greatly improve the hardness and wear resistance of AISI 304.