Elevated temperatures severely affect plant growth, reducing yield and quality. Melatonin (MT), a plant biomolecule, is known to enhance stress tolerance, but its role in heat resistance and underlying mechanisms require further exploration. This study investigates MT's regulatory effects on chlorophyll metabolism and photosynthesis in tomato seedlings under high-temperature stress (40°C). Tomato seedlings treated with 100 μmol MT showed improved physiological and photosynthetic performance under heat stress. MT application increased osmolytes (proline and soluble sugar), enhanced antioxidant enzyme activities [catalase (CAT), peroxidase (POD), ascorbate peroxidase (APX)], and reduced oxidative damage markers (H