Inferring the rate of homologous recombination within a bacterial population remains a key challenge in quantifying the basic parameters of bacterial evolution. Due to the high sequence similarity within a clonal population, and unique aspects of bacterial DNA transfer processes, detecting recombination events based on phylogenetic reconstruction is often difficult, and estimating recombination rates using coalescent model-based methods is computationally expensive, and often infeasible for large sequencing data sets. Here, we present an efficient solution by introducing a set of mutational correlation functions computed using pairwise sequence comparison, which characterize various facets of bacterial recombination. We provide analytical expressions for these functions, which precisely recapitulate simulation results of neutral and adapting populations under different coalescent models. We used these to fit correlation functions measured at synonymous substitutions using whole-genome data on Escherichia coli and Streptococcus pneumoniae populations. We calculated and corrected for the effect of sample selection bias, i.e., the uneven sampling of individuals from natural microbial populations that exists in most datasets. Our method is fast and efficient, and does not employ phylogenetic inference or other computationally intensive numerics. By simply fitting analytical forms to measurements from sequence data, we show that recombination rates can be inferred, and the relative ages of different samples can be estimated. Our approach, which is based on population genetic modeling, is broadly applicable to a wide variety of data, and its computational efficiency makes it particularly attractive for use in the analysis of large sequencing datasets.KEYWORDS bacteria; homologous recombination; population diversity; sample selection bias; sample ages; adapting populations; Bolthausen-Sznitman coalescent B ACTERIA can receive DNA fragments from their environment by different mechanisms, and integrate them into their genome in a set of processes collectively known as horizontal gene transfer (HGT) (Thomas and Nielsen 2005). While the importance of HGT in bacterial evolution is increasingly appreciated (Koonin and Wolf 2008;Shapiro et al. 2012;Oren et al. 2014;Ravenhall et al. 2015;Rosen et al. 2015), quantifying its impact across bacterial genomes, and in diverse environmental samples, remains a key challenge (Maynard Smith 1991;Soucy et al. 2015). In particular, a prevalent form of HGT involves homologous recombination of fragments that bear a high degree of sequence similarity to the recipient genome (Andam and Gogarten 2011;Williams et al. 2012). Such transfer events are particularly difficult to detect, since they leave no obvious marks, and are indistinguishable based on nucleotide composition, yet they are likely to represent the majority of HGT events in bacteria (Fraser et al. 2007).Three major mechanisms of HGT-transformation, conjugation, and transduction-mediate the passage of external DNA into bacte...