Bacteriophages initiate infection by releasing their double-stranded DNA into the cytosol of their bacterial host. However, what controls and sets the timescales of DNA ejection? Here we provide evidence from stochastic simulations which shows that the topology and organization of DNA packed inside the capsid plays a key role in determining these properties. Even with similar osmotic pressure pushing out the DNA, we find that spatially ordered DNA spools have a much lower effective friction than disordered entangled states. Such spools are only found when the tendency of nearby DNA strands to align locally is accounted for. This topological or conformational friction also depends on DNA knot type in the packing geometry and slows down or arrests the ejection of twist knots and very complex knots. We also find that the family of (2, 2k+1) torus knots unravel gradually by simplifying their topology in a stepwise fashion. Finally, an analysis of DNA trajectories inside the capsid shows that the knots formed throughout the ejection process mirror those found in gel electrophoresis experiments for viral DNA molecules extracted from the capsids.DNA knotting | Monte Carlo simulations B acteriophages are viruses which infect bacteria. They mostly rely on a remarkably simple infection strategy: after landing on the host cell wall, they release their genetic material into its cytoplasm and hijack the cell protein networks to aid capsid formation and phage replication. For double-stranded DNA (dsDNA)-based phages the infection is initiated by the very large pressure (âź10 atm) (1) to which the DNA is subject inside the capsid, where it is packaged to almost crystalline density by a powerful molecular motor (2). Because of the opposing osmotic pressure from the macromolecules in the bacterial cytosol, the later stages of the DNA ejection process in vivo often rely on the host cellular machinery to finalize the viral genome delivery.Although existing theories have stressed the importance of salt-induced interactions and electrostatics on the ejection time (3, 4) these usually underestimate the conformational entropy contribution to the packaging or ejection force by exclusively considering one optimized, ordered DNA arrangement. The impact of highly variable DNA-packing conformations on the ejection process is thus not accounted for a priori.To better understand the impact that DNA spatial arrangement has on its ejection kinetics we consider the ordering effects of local DNA-DNA interactions. We concentrate in particular on the known tendency of contacting dsDNA strands to align at a small angle with respect to each other (regardless of the 3â˛-5Ⲡorientation in each of the strands). Increasing evidence shows that this cholesteric interaction is not only important for the formation of cholesteric phases in concentrated solutions of DNA (5-8) but can favor the spool-like DNA arrangements of viral DNA (9-11) inside small capsids. Moreover it can control the complexity of DNA self-entanglement in the form of knots (10,(12)(13)(14...