The phyllosphere and soil are two of the most important reservoirs of antibiotic resistance genes (ARGs) in terrestrial ecosystems. However, comparative studies on the biogeographic patterns of ARGs in these two habitats are lacking. Based on the construction of ARG abundance atlas across a > 4,000 km transect in eastern and northern Australia, we found contrasting biogeographic patterns of the phyllosphere and soil resistomes, which showed their distinct responses to the biotic and abiotic stresses. The similarity of ARG compositions in soil, but not in the phyllosphere, exhibited significant distance-decay patterns. ARG abundance in the phyllosphere was mainly correlated with the compositions of co-occurring bacterial, fungal and protist...