Periodic DNA patrolling underlies diverse functions of Pif1 on R-loops and G-rich DNA.