Background/Aims: Epstein-Barr virus (EBV) BFLF2, the homologue of herpes simplex virus 1 (HSV-1) UL31, is crucial for the efficient viral DNA packaging and primary egress across the nuclear membrane. However, we still do not know its subcellular transport mechanisms. Methods: Interspecies heterokaryon assays were utilized to detect the nucleocytoplasmic shuttling of BFLF2, and mutation analysis, plasmid transfection and fluorescence microscopy assays were performed to identify the functional nuclear localization sequence (NLS) and nuclear export sequence (NES) of BFLF2 in live cells. Furthermore, the nuclear import and export of BFLF2 were assessed by confocal microscopy, co-immunoprecipitation and immunoblot assays. Results: BFLF2 was confirmed to shuttle between the nucleus and cytoplasm. Two predicted NESs were shown to be nonfunctional, yet we proved that the nuclear export of BFLF2 was mediated through transporter associated with antigen processing (TAP), but not chromosomal region maintenance 1 (CRM1) dependent pathway. Furthermore, one functional NLS, 22RRLMHPHHRNYTASKASAH40, was identified, and the aa22-23, aa22-25, aa28-30 and aa37-40 had an important role in the nuclear localization of BFLF2. Besides, the nuclear import of BFLF2 was demonstrated through Ran-, importin α7-, importin β1- and transportin-1-dependent mechanism that does not require importin α1, α3 and α5. Conclusion: These works are of significance for the further study of the functions of BFLF2 during EBV infection, as well as for further insights into the design of new antiviral drug target and vaccine development against EBV.