11Viruses are known to have some of the highest and most diverse mutation rates found 12 in any biological replicator, with single-stranded (ss) RNA viruses evolving the fastest, 13 and double-stranded (ds) DNA viruses having rates approaching those of bacteria. As 14 mutation rates are tightly and negatively correlated with genome size, selection is a clear 15 driver of viral evolution. However, the role of intragenomic interactions as drivers of 16 viral evolution is still unclear. To understand how these two processes affect the long-17 term evolution of viruses infecting humans, we comprehensively analyzed ssRNA, ssDNA, 18 dsRNA, and dsDNA viruses, to find which virus types and which functions show evidence 19 for episodic diversifying selection and correlated evolution. We show that selection mostly 20 affects single stranded viruses, that correlated evolution is more prevalent in DNA viruses, 21 and that both processes, taken independently, mostly affect viral replication. However, 22 the genes that are jointly affected by both processes are involved in key aspects of their life 23 cycle, favoring viral stability over proliferation. We further show that both evolutionary 24 processes are intimately linked at the amino acid level, which suggests that it is the 25 joint action of selection and correlated evolution, and not just selection, that shapes the 26 evolutionary trajectories of viruses -and possibly of their epidemiological potential.27