Melatonin (MT) is reported as a kind of phytohormone, exerts various biological activities, mediating plant growth and development and responding to abiotic stresses. In the present research, we examined the possibility that MT could involve in the alleviation of cadmium (Cd) toxicity by reducing the accumulation of nitric oxide (NO). The research indicated that the addition of MT significantly increased the biomass and photosynthetic parameters of plants compared with the control treated under Cd stress. Besides, we found that compared with the control treatment, MT also reduced the level of Cd-induced nitric oxide, and at the same time, the enzyme activity related to NO synthesis and the expression of related genes were decreased. In addition, MT treatment significantly reduced the Cd content in Chinese cabbage seedlings compared with the control, which was partially reversed by the addition of SNP (NO donor). PTIO (NO scavenger) addition could reduce the Cd content when seedlings were exposed to Cd stress. At the same time, compared with the Cd stress, the concentration of Cd in MT-treated plants decreased significantly, and the expression levels of related transport genes IRT1 also decreased significantly. Taken together, these results further support the idea that under the stress of Cd, NO increases the expression of IRT1, thus further increasing the absorption of Cd and aggravating the stress of Cd in plants, while exogenously added MT can inhibit the synthesis of NO, reduce the content of Cd, and alleviate the stress caused by Cd.