The viral replication cycle is controlled by information transduced through both molecular and mechanical interactions. Viral infection mechanics remains largely unexplored, however, due to the complexity of cellular mechanical responses over the course of infection as well as a limited ability to isolate and probe these responses. Here, we develop an experimental system consisting of herpes simplex virus type 1 (HSV-1) capsids bound to isolated and reconstituted cell nuclei, which allows direct probing of capsid–nucleus mechanics with atomic force microscopy (AFM). Major mechanical transformations occur in the host nucleus when pressurised viral DNA ejects from HSV-1 capsids docked at the nuclear pore complexes (NPCs) on the nuclear membrane. This leads to structural rearrangement of the host chromosome, affecting its compaction. This in turn regulates viral genome replication and transcription dynamics as well as the decision between a lytic or latent course of infection. AFM probing of our reconstituted capsid–nucleus system provides high-resolution topographical imaging of viral capsid docking at the NPCs as well as force volume mapping of the infected nucleus surface, reflecting mechanical transformations associated with chromatin compaction and stiffness of nuclear lamina (to which chromatin is tethered). This experimental system provides a novel platform for investigation of virus–host interaction mechanics during viral genome penetration into the nucleus.