ResultsIn the cultivated peanut genome, a total of 16 AhTPS and 17 AhTPP genes were identified. AhTPS and AhTPP genes were observed in phylogenetic analysis, closely related to wild diploid peanuts, respectively. The evolutionary patterns of AhTPS and AhTPP genes were predominantly characterized by gene segmental duplication events and robust purifying selection. A variety of hormone-responsive and stress-related cis-elements were unveiled in our analysis of cis-regulatory elements. Distinct expression patterns of AhTPS and AhTPP genes across different peanut tissues, developmental stages, and treatments were revealed, suggesting potential roles in growth, development, and stress responses. Under low-temperature stress, qPCR results showcased upregulation in AhTPS genes (AhTPS2-5, AhTPS9-12, AhTPS14, AhTPS15) and AhTPP genes (AhTPP1, AhTPP6, AhTPP11, AhTPP13). Furthermore, AhTPS9, exhibiting the most significant expression difference under cold stress, was obviously induced by cold stress in cultivated peanut, and AhTPS9-overexpression improved the cold tolerance of Arabidopsis by protect the photosynthetic system of plants, and regulates sugar-related metabolites and genes.