In this study, we revealed that ECM stiffness regulates the nuclear localization of ATF5 in pancreatic and lung cancer cells. This evidence concerns the gene ATF5 and lung carcinoma.