19Organismal life history traits are ideally adapted to local environments when an organism has a 20 fitness advantage in one location relative to conspecifics from other geographies. Local 21 adaptation has been best studied across, for example, latitudinal gradients, where organisms 22
Significance statement 39Explanations of local adaptation have historically focused on how animal genotypes respond to 40 environmental selection. Although the impact of variation in host life histories on the composition 41 of the microbiota has been investigated for many associations, the scale and pattern of 42 microbial effects on host life history strategy are largely unknown. Here we demonstrate in the 43 fruit fly Drosophila melanogaster that microbiota effects on host life history strategy in the 44 laboratory are matched by patterns of microbiota composition in wild host populations. In 45 particular, microbiota composition varies with latitude and the effects of the microbiota on life 46 history traits are greater than host genetic adaptations. Together, these findings demonstrate 47