Nanoplastics, are emerging pollutants, present a potential hazard to food security and human health. Titanium dioxide nanoparticles (Nano-TiO2), serving as nano-fertilizer in agriculture, may be important in alleviating polystyrene nanoplastics (PSNPs) toxicity. Here, we performed transcriptomic, metabolomic and physiological analyzes to identify the role of Nano-TiO2 in regulating the metabolic processes in PSNPs-stressed maize seedlings (Zea mays L.). The growth inhibition by PSNPs stress was partially relieved by Nano-TiO2. Furthermore, when considering the outcomes obtained from RNA-seq, enzyme activity, and metabolite content analyses, it becomes evident that Nano-TiO2 significantly enhance carbon and nitrogen metabolism levels in plants. In comparison to plants that were not subjected to Nano-TiO2, plants exposed to Nano-TiO2 exhibited enhanced capabilities in maintaining higher rates of photosynthesis, sucrose synthesis, nitrogen assimilation, and protein synthesis under stressful conditions. Meanwhile, Nano-TiO2 alleviated the oxidative damage by modulating the antioxidant systems. Interestingly, we also found that Nano-TiO2 significantly enhanced the endogenous melatonin levels in maize seedlings. P-chlorophenylalanine (p-CPA, a melatonin synthesis inhibitor) declined Nano-TiO2-induced PSNPs tolerance. Taken together, our data show that melatonin is involved in Nano-TiO2-induced growth promotion in maize through the regulation of carbon and nitrogen metabolism.