NbMoSiC gradient films were successfully deposited on 316L stainless steel by adjusting sputtering power of carbon target, and their microstructure, mechanical and electrochemical properties were comprehensively investigated through SEM, XRD, XPS, Raman, nanoindenter and electrochemical workstation. The results show that the NbMoSiC gradient films exhibit a carbon composition gradient across the thickness direction, which impedes the continuous columnar growth and results in a compact and flawless microstructure. The films also possess multiphase structures of Nb2C, MoSi2, silicon and amorphous carbon, leading to a significant improvement in hardness value and elastoplasticity. Furthermore, the electrochemical experiments demonstrated a substantial reduction in the corrosion current density for the NbMoSiC gradient films (3.008 × 10−8 A/cm2) compared to bare 316L substrate (3.687 × 10−7 A/cm2) in artificial seawater medium. The charge transfer resistance of the gradient films (3.482 × 106 Ω cm2) has increased by an order of magnitude, indicating an enhanced inhibition effect on the ion transport during the corrosion reaction. The improved corrosion resistance of 316L stainless steel is mainly attributed to strong passivation ability and the dense microstructure formed by the carbon composition gradient structure.