The mechanical properties of the cell nucleus change to allow cells to migrate, but how chromatin modifications contribute to nuclear deformability has not been defined. Here, we demonstrate that a major factor in this process involves epigenetic changes that underpin nuclear structure. We investigated the link between cell adhesion and epigenetic changes in T-cells, and demonstrate that T-cell adhesion to VCAM1 via α4β1 integrin drives histone H3 methylation (H3K9me2/3) through the methyltransferase G9a. In this process, active G9a is recruited to the nuclear envelope and interacts with lamin B1 during T-cell adhesion through α4β1 integrin. G9a activity not only reorganises the chromatin structure in T-cells, but also affects the stiffness and viscoelastic properties of the nucleus. Moreover, we further demonstrated that these epigenetic changes were linked to lymphocyte movement, as depletion or inhibition of G9a blocks T-cell migration in both 2D and 3D environments. Thus, our results identify a novel mechanism in T-cells by which α4β1 integrin signaling drives specific chromatin modifications, which alter the physical properties of the nucleus and thereby enable T-cell migration.