Kaposi's sarcoma-associated herpesvirus (KSHV) latency is central to the evasion of host immune surveillances and induction of KSHV-related malignancies. The mechanism of KSHV latency remains unclear. Here, we show that the KSHV latent gene vFLIP promotes viral latency by inhibiting viral lytic replication. vFLIP suppresses the AP-1 pathway, which is essential for KSHV lytic replication, by activating the NF-B pathway. Thus, by manipulating two convergent cellular pathways, vFLIP regulates both cell survival and KSHV lytic replication to promote viral latency. These results also indicate that the effect of the NF-B pathway on KSHV replication is determined by the status of the AP-1 pathway and hence provide a mechanistic explanation for the contradictory role of the NF-B pathway in KSHV replication. Since the NF-B pathway is commonly activated during infection of gammaherpesviruses, these findings might have general implications for the control of gammaherpesviral latency.