Lamin B1 curtails early human papillomavirus infection by safeguarding nuclear compartmentalization and autophagic capacity. Here, LMNB1 is linked to human papilloma virus infection.