Loss of STRN4 palmitoylation disrupted YAP nuclear localisation and suppressed the expression of Hippo pathway targets, thereby inhibiting cancer cell migration. Here, STRN4 is linked to cancer.