R-loops are RnA-DnA hybrid sequences that are emerging players in various biological processes, occurring in both prokaryotic and eukaryotic cells. in viruses, R-loop investigation is limited and functional importance is poorly understood. Here, we performed a computational approach to investigate prevalence, distribution, and location of R-loop forming sequences (RLfS) across more than 6000 viral genomes. A total of 14637 RLFS loci were identified in 1586 viral genomes. Over 70% of RLfS-positive genomes are dsDnA viruses. in the order Herpesvirales, RLfS were presented in all members whereas no RLfS was predicted in the order Ligamenvirales. Analysis of RLfS density in all RLfS-positive genomes revealed unusually high RLfS densities in herpesvirus genomes, with RLfS densities particularly enriched within repeat regions such as the terminal repeats (tRs). RLfS in tRs are positionally conserved between herpesviruses. Validating the computationally-identified RLFS, R-loop formation was experimentally confirmed in the TR and viral Bcl-2 promoter of Kaposi sarcomaassociated herpesvirus (KSHV). These predictions and validations support future analysis of RLFS in regulating the replication, transcription, and genome maintenance of herpesviruses. Recent advances in the field of genomics have revealed widespread occurrence of non-canonical nucleic acid-forming structures, such as Z-DNA 1 , hairpin loops 2,3 , and G-quadruplexes (guanine-rich sequences that attain specific four-stranded conformations) 4 , in various genomes including viruses 5. These structures likely play important roles in the replication strategies used by a particular virus. For instance, Z-DNA structures in the simian virus 40 enhancer regions activate transcription 1. Hairpin structures at the termini of the adeno-associated virus genome promote persistent DNA circles and concatemers during recombination processes that occur in the infected host cell 2,3. G-quadruplexes are present in several viral genomes e.g., human immunodeficiency virus (HIV-1), Epstein-Barr virus (EBV), and human papillomavirus (HPV) (reviewed in 4 and function in various aspects of the replication cycles of these viruses. Another non-canonical nucleic acid structure called an R-loop or RNA:DNA structure is preferentially formed within G-rich sequences and possesses greater thermodynamic stability than the original DNA:DNA duplex 6. R-loops have been experimentally observed in a wide range of organisms, from bacteria to mammals 6,7 , where they function in transcription 8 , telomere maintenance 9 , genome instability 10,11 , and epigenetic regulation 12. They are also associated with certain diseases, such as Prader-Willi syndrome 13 , ataxia with oculomotor apraxia 14 , amyotrophic lateral sclerosis 15 , spinal muscular atrophy 16,17 , motor neuron disorders 18 , cancers 19 and many others 20. R-loops, have been predicted by computational approaches in various organisms 21-23 and demonstrated by direct experimental evidence, however, genome-scale identification of R-loops in t...