Ultraviolet (UV) radiation is a major cause of photoaging that can induce DNA damage, oxidative stress, and cellular aging. Metformin (MF) can repair DNA damage, scavenge reactive oxygen species (ROS), and protect cells. However, the mechanism by which MF inhibits cell senescence in chronic skin damage induced by UVA is unclear. In this study, human foreskin fibroblasts (HFFs) treated with UVA were used as an in vitro model and UVA-induced skin photoaging in Kunming mice was used as an in vivo model to investigate the potential skin protective mechanism of MF. The results revealed that MF treatment attenuated UVA-induced cell viability, skin aging, and activation of the PI3K/AKT/mTOR signaling pathway. Furthermore, MF treatment alleviated the mitochondrial oxidative stress and decreased mitophagy. Knockdown of Parkin by siRNA increased the clearance of MF in senescent cells. The treatment of Kunming mice with MF at a dose of 10 mg/kg/day significantly reduced UVA-induced skin roughness, epidermal thinning, collagen degradation, and skin aging. In conclusion, our experimental results suggest that MF exerts anti-photoaging effects by inhibiting mitophagy and the PI3K/AKT/mTOR signaling pathway. Therefore, our study improves the current understanding of the protective mechanism of MF against photoaging.