This study aimed to investigate the protective effect of metformin on trabecular meshwork (TM) and explore its molecular mechanisms in vivo and in vitro. Ocular hypertension (OHT) mouse models were induced with dexamethasone and further treated with metformin to determine the intraocular pressure (IOP)-lowering effect. Cultured human TM cells (HTMCs) were pre-stimulated with tert-butyl hydroperoxide (tBHP) to induce oxidative damage and then supplemented with metformin for another 24 hr. The expression of fibrotic markers and integrin/Rho-associated kinase (ROCK) signals, including α-smooth muscle actin (α-SMA), transforming growth factor-β (TGF-β), fibronectin, integrin beta 1, ROCK 1/2, AMP-activated protein kinase, myosin light chain 1, and F-actin were determined by western blotting and immunofluorescence. Reactive oxygen species (ROS) content was analysed using flow cytometry. Transmission electron microscopy was performed to observe microfilaments in HTMCs. It showed that metformin administration reduced the elevated IOP and alleviated the fibrotic activity of aqueous humour outflow in OHT models. Additionally, metformin rearranged the disordered cytoskeleton in the TM both in vivo and in vitro and significantly inhibited ROS production and activated integrin/ROCK signalling induced by tBHP in HTMCs. These results indicated that metformin reduced the elevated IOP in steroid-induced OHT mouse models and exerted its protective effects against oxidative injury by regulating cytoskeleton remodelling through the integrin/ROCK pathway. This study provides new insights into metformin use and preclinical evidence for the potential treatment of primary open-angle glaucoma.