Bacteria on and inside leaves can influence forest tree health and resilience. The distribution and limits of a tree species' range can be influenced by various factors, with biological interactions among the most significant. We investigated the processes shaping the bacterial needle community across the species distribution of limber pine, a widespread Western conifer inhabiting a range of extreme habitats. We tested four hypotheses: (i) Needle community structure varies across sites, with site-specific factors more important to microbial assembly than host species selection; (ii) dispersal limitation structures foliar communities across the range of limber pine; (iii) the relative significance of dispersal and selection differs across sites in the tree species range; and (iv) needle age structures bacterial communities. We characterized needle communities from the needle surface and tissue of limber pine and co-occurring conifers across 16 sites in the limber pine distribution. Our findings confirmed that site characteristics shape the assembly of bacterial communities across the host species range and showed that these patterns are not driven by dispersal limitation. Furthermore, the strength of selection by the host varied by site, possibly due to differences in available microbes. Our study, by focusing on trees in their natural setting, reveals real needle bacterial dynamics in forests, which is key to understanding the balance between stochastic and deterministic processes in shaping forest tree-microbe interactions. Such understanding will be necessary to predict or manipulate these interactions to support forest ecosystem productivity or assist plant migration and adaptation in the face of global change.