The rapid recombination of photogenerated carriers and strong photocorrosion have considerably limited the practical application of CdS in the field of photocatalysis. Loading a cocatalyst has been widely utilized to largely enhance photocatalytic activity. In the present work, a WC@C cocatalyst was prepared by a novel molten salt method and explored as an efficient noble-metal-free cocatalyst to significantly enhance the photocatalytic hydrogen evolution rate of CdS nanorods. The WC@C/CdS composite photocatalyst with a 7 wt% content of WC@C showed the highest photocatalytic hydrogen evolution rate of 8.84 mmol g-1 h-1, which was about 21 and 31 times higher than those of CdS and 7 wt% Pt/CdS under visible light irradiation. A high apparent quantum efficiency (AQY) of 55.28% could be achieved under 420 nm monochromatic light. Furthermore, the photocatalytic activity of the 7 wt% WC@C/CdS photocatalyst exhibited good stability for 12 consecutive cycles of the photocatalytic experiment with a total reaction time of 42 h. The excellent photocatalytic performance of the photocatalyst was attributed to the formation of a Schottky junction and the loading cocatalyst, which not only accelerated the separation of the photogenerated carrier but also provided a reactive site for hydrogen evolution. This work revealed that WC@C could act as an excellent cocatalyst for enhancing the photocatalytic activity of CdS nanorods.