Increased matrix stiffness significantly attenuates the inhibitory effect of metformin on HCC invasion and metastasis, and a common pathway of PTEN/PI3K/Akt/MMPs activated by mechanical stiffness signal and inactivated by metformin contributes to matrix stiffness-caused metformin resistance. This evidence concerns the gene PTEN and hepatocellular carcinoma.