In China, apple production areas are largely from the coastal to inland areas and across varied climate zones. However, the relationship among soil micro-organisms, environmental factors and fruit quality has not been clearly confirmed in orchards. Here we attempted to identify the variation of soil bacteria in the main apple producing regions and reveal the relationship among climatic factor, soil properties, soil bacterial community and fruit quality. Sixty soil samples were collected from six main apple producing areas in China. We examined the soil bacteria using bacterial 16S rRNA gene amplicon profiling. The results show that the soil bacterial diversity of apple orchards varied from the Bohai Bay Region to the Loess Plateau Region. Proteobacteria, Acidobacteria and Actinobacteria were the predominant taxa at the phylum level for all six areas. In the Bohai Bay and the Loess Plateau region, which are the two largest apple producing areas, Proteobacteria and Actinobacteria had the highest relative abundance, respectively. Furthermore, soil bacterial diversity showed positive correlation with the mean annual temperature (MAT), soil organic matter (SOM) and pH. Excluding a direct effect on the apple fruit quality, MAT exerted an indirect influence through soil SOM and pH to alter the relative abundance of dominant taxa and shift the bacterial diversity, which affects the apple fruit titratable acids and soluble solids. Geographic variables underlie apple orchard soil bacterial communities vary according to spatial scale. Environmental factors exert an indirect effect on apple fruit quality via shaping soil bacterial community. This study provides a list of bacteria associated with environmental factors and the ecological attributes of their interactions in apple orchards, which will improve our ability to promote soil bacterial functional capabilities in order to reduce the fertilizer input and enhance the fruit quality.