Carrot (Daucus carota L.), a widely cultivated economically vegetable from the Apiaceae family, is grown globally. However, carrots can be adversely impacted by cadmium (Cd) pollution in the soil due to its propensity to accumulate in the fleshy root, thus impeding carrot growth and posing health hazards to consumers. Given the potential of hydrogen sulfide (H2S) to improve plant resistance against Cd stress, we treated germinating carrot seeds with varying concentrations of sodium hydrosulfide (NaHS), aiming to alleviate the toxic impacts of Cd stress on carrot seed germination. The results revealed that carrot seeds treated with a concentration of 0.25 mM NaHS displayed better seed germination-associated characteristics compared to seeds treated with NaHS concentrations of 0.1 mM and 0.5 mM. Further investigation revealed a rise in the expression levels of L-cysteine desulfhydrase and D-cysteine desulfhydrase, along with enhanced activity of L-cysteine desulfhydrase and D-cysteine desulfhydrase among the NaHS treatment group, thereby leading to H2S accumulation. Moreover, NaHS treatment triggered the expression of pyrroline-5-carboxylate synthase and pyrroline-5-carboxylate reductase and promoted the accumulation of endogenous proline, while the contents of soluble sugar and soluble protein increased correspondingly. Interestingly, since the application of exogenous proline did not influence the accumulation of endogenous H2S, suggesting that H2S served as the upstream regulator of proline. Histochemical staining and biochemical indices revealed that NaHS treatment led to elevated antioxidant enzyme activity, alongside a suppression of superoxide anion and hydrogen peroxide generation. Furthermore, high performance liquid chromatography analysis revealed that NaHS treatment reduced Cd2+ uptake, thereby promoting germination rate, seed vitality, and hypocotyl length of carrot seeds under Cd stress. Overall, our findings shed light on the application of NaHS to enhance carrot resistance against Cd stress and lay a foundation for exploring the regulatory role of H2S in plants responding to Cd stress.