Our findings elucidate a DNA methylation-dependent switch in ZEBRA’s transactivation function that enables ZEBRA to bind AP-1 sites and promote viral latency early during infection and subsequently, under appropriate conditions, to trigger EBV lytic replication by binding meZREs. Here, JUN is linked to infection.