Kaposi's sarcoma-associated herpesvirus (KSHV) is a gammaherpesvirus that can cause several cancers, such as Kaposi sarcoma and primary effusion lymphoma (PEL). We and others have recently demonstrated that Forkhead box (FOX) transcription factors can be dysregulated by KSHV, and they can affect KSHV infection. Herein, we focus on dissecting the role of two FOXK subfamily members, FOXK1 and FOXK2, in the KSHV life cycle. FOXK proteins are key host regulators of cellular functions, yet their role in KSHV infection remains unknown. Here, we demonstrated that both FOXK proteins are essential for efficient KSHV lytic reactivation in PEL cells. FOXK1 and FOXK2 are unique as they are the only FOX proteins that contain a Forkhead-associated (FHA) domain. The FHA domain is a specialized protein binding domain that recognizes a short linear serine/threonine-rich (S/T) motif. Through an unbiased motif survey, we found that KSHV viral protein ORF45 and its gammaherpesvirus homologs contain a putative FHA-binding motif. ORF45 is an immediate early tegument protein, vital for lytic reactivation and virus production. We demonstrated that ORF45 uses its novel conserved motif to interact with the FHA domain containing FOXK factors in the nucleus of infected cells. A single-point mutation of the conserved threonine residue in the motif within ORF45 abolished the ORF45-FOXK1/2 interaction. Our data indicates that FOXK proteins interact with ORF45 homologs encoded by murine gammaherpesvirus 68 (MHV68) and Rhesus macaque rhadinovirus (RRV), and that the FHA domains of FOXK proteins are sufficient for their interactions, highlighting a conserved mechanism.IMPORTANCEThe dysregulation of Forkhead transcription factors contributes to many different human diseases, including cancers, but their impact on herpesvirus lifecycle and pathogenesis is less understood. Our study uncovers a critical pro-lytic function of the FOXK subfamily and its requirement for KSHV lytic reactivation in PEL. We found that FOXK proteins bind to a key immediate early KSHV protein ORF45 using its novel short linear S/T motif. Notably, even though ORF45 homologs in gammaherpesviruses are highly diverse, we identified a similar S/T short linear motif in ORF45 homologs and also showed an evolutionary conserved interaction between FOXK proteins and ORF45 homologs of MHV68 and RRV. Our study provides a basis for future studies in animal models to evaluate the role of FOXK proteins and the impact of their interactions with ORF45 in gammaherpesvirus infection and pathogenesis. Targeting these interactions could allow a novel way to limit gammaherpesvirus infections.