Computational analyses of pathogen genomes are increasingly being used to unravel the dispersal history and transmission dynamics of epidemics. Here, we show how to go beyond historical reconstructions and use spatially-explicit phylogeographic and phylodynamic approaches to formally test epidemiological hypotheses. We focus on the spread and invasion of West Nile virus spread in North America that has been responsible for substantial impacts on public, veterinary and wildlife health. WNV isolates have been sampled at various times and locations across North America since its introduction to New York twenty years ago. We exploit this genetic data repository to demonstrate that factors hypothesised to affect viral dispersal and demography can be statistically tested. We find that WNV lineages tend to disperse faster in areas with higher temperatures and we identify temporal variation in temperature as a main predictor of viral genetic diversity through time. Finally, we compare inferred and simulated dispersal histories of lineages in order to assess the impact of migratory bird flyways on the rapid east-to-west continental spread of WNV. We find no evidence that viral lineages preferentially circulate within the same migratory flyway, suggesting a substantial role for non-migratory birds or mosquito dispersal along the longitudinal gradient. Our study demonstrates that the development and application of statistical approaches, coupled with comprehensive pathogen genomic data, can address epidemiological questions that might otherwise be difficult or unacceptably costly to answer.The evolutionary analysis of rapidly evolving pathogens, particularly RNA viruses, allows us to establish the epidemiological relatedness of cases through time and space. Such transmission information can be difficult to detect using classical epidemiological approaches. The development of spatially-explicit phylogeographic models 1, 2 , which place time-referenced phylogenies in a geographical context, can provide a detailed spatiotemporal picture of the dispersal history of virus lineages 3 . Recent advances in methodology have moved beyond simple reconstructions of epidemic history and instead attempt to analyse the impact of underlying factors on the dispersal dynamics of virus lineages 4-6 , giving rise to the concept of landscape phylogeography 7 .Similar improvements have been made to phylodynamic analyses that use flexible coalescent models to reconstruct virus demographic history 8,9 ; these methods can now provide insights into epidemiological or environmental variables that might be associated with population size change 10 . In this study we aim to go beyond historical reconstructions and formally test epidemiological hypotheses by exploiting phylodynamic and spatially-explicit phylogeographic models. We illustrate our approach by examining the spread of West Nile virus (WNV) across North America, an emergent virus lineage that is responsible for substantial impacts on public, veterinary, and wildlife health 11 .