•Stiff ECMs trigger ATF5 nuclear localization in cancer cell lines and tumor tissues. Here, ATF5 is linked to cancer.