A few studies have investigated the relationship between melatonin (MT) and nitric oxide (NO) in regulating defensive responses. However, it is still unclear how MT and NO interact to regulate the biosynthesis of alkaloids and vincristine in leaves of Catharanthus roseus (L.) G. Don under Cd stress. Therefore, this context was explored in the present study. Results showed that Cd toxicity (200 µM) induced oxidative stress, decreased biomass, Chl a, and Chl b content, and increased the content of total alkaloid and vinblastine in the leaves. Application of both MT (100 µM) and sodium nitroprusside (200 µM SNP, as NO donor) enhanced endogenous NO content and accordingly increased metal tolerance index, the content of total alkaloid and vinblastine. It also upregulated the transcription of two respective genes (D4H and DAT) under non-stress and Cd stress conditions. Moreover, the MT and SNP treatments reduced the content of H2O2 and malondialdehyde, increased the activities of superoxide dismutase and ascorbate peroxidase, enhanced proline accumulation, and improved relative water content in leaves of Cd-exposed plants. The scavenging NO by 2-(4-carboxyphenyl)-4,4,5,5-tetramethylimidazoline-1-oxy l-3-oxide (cPTIO) averted the efects of MT on the content of total alkaloid and vinblastine and antioxidative responses. Still, the efects conferred by NO on attributes mentioned above were not signifcantly impaired by p–chlorophenylalanine (p-CPA as an inhibitor of MT biosynthesis). These fndings and multivariate analyses indicate that MT motivated terpenoid indole alkaloid biosynthesis and mitigated Cd-induced oxidative stress in the leaves of periwinkle in a NO-dependent manner