With current techniques, genetic alterations of herpesviruses are difficult to perform, mostly because of the large size of their genomes. To solve this problem, we have designed a system that allows the cloning of any gamma-herpesvirus in Escherichia coli onto an F factor-derived plasmid. Immortalized B cell lines were readily established with recombinant Epstein-Barr virus (EBV), demonstrating that the F factor-cloned EBV genome has all the characteristics of wild-type EBV. Because any genetic modification is possible in E. coli, this experimental approach opens the way to the genetic analysis of all EBV functions. Moreover, it is now feasible to generate attenuated EBV strains in vitro such that vaccine strains can be designed. Because we incorporated the genes for hygromycin resistance and green fluorescent protein onto the E. coli cloned EBV genome, the still open question of the EBV target cells other than B lymphocytes will be addressed.