In previous research, we found that Sestrin2 has a strong association with plasma atherogenicity and combats the progression of atherogenesis by regulating the AMPK-mTOR pathway. Metformin, an activator of AMPK, is widely used as a first-line therapy for diabetes, but its role in preventing atherosclerosis and cardiac outcomes is unclear. Hence, we aimed to assess the effect of metformin on preventing atherosclerosis and its regulatory role in the Sestrin2-AMPK -mTOR pathway in obese/diabetic rats. Animals were fed a high-fat diet to induce obesity, administered streptozotocin to induce diabetes, and then treated with metformin (150 mg/kg body weight) for 14 weeks. Aorta and heart tissues were analyzed for Sestrin2 status by western blotting and immunohistochemistry, AMPK and mTOR activities were investigated using western blotting, and atherogenicity-related events were evaluated using reverse transcription quantitative polymerase chain reaction and histology. Obese and diabetic rats showed significant decrease in Sestrin2 levels and AMPK activity, accompanied by increased mTOR activity in the heart and aorta tissues. Metformin treatment significantly restored Sestrin2 and AMPK levels, reduced mTOR activity, and restored the altered expression of inflammatory markers and adhesion molecules in obese and diabetic rats to normal levels. A histological analysis of samples from obese and diabetic rats showed atherosclerotic lesions both in aorta and heart tissues. The metformin-treated rats showed a decrease in atherosclerotic lesions, cardiac hypertrophy, and cardiomyocyte degeneration. This study presents further insights into the beneficial effects of metformin and its protective role against atherosclerosis through regulation of the Sestrin2-AMPK-mTOR pathway.