Airborne microbes are affected by natural environmental factors and have become a global issue due to their potential threat to human health. To explore the effects of altitude on the communities of microbes and potential pathogenic bacteria, we sampled airborne microbes and soils at sites with different altitudes in Shigatse of Xizang. The results showed a significant difference in bacterial communities between air and soil and a decrease in the contribution of soil to airborne bacteria from the sites with a lower altitude to the sites with a higher altitude. The Chao1 indexes of airborne bacteria were significantly higher in the sites with a lower altitude compared to those with a higher altitude, and the bacterial Bray-Curtis distances between sites with a lower altitude were significantly lower than those between sites with a lower altitude and high altitude. These results indicated that altitude would affect the community patterns of airborne bacteria, and the transport of air would decrease the variations in airborne microbial communities between different sites. Proteobacteria, with 84%-91% of average abundance, predominated in the airborne bacterial communities, but different taxa were enriched in sites with different altitudes. For example, the genera of Flavobacterium and Lactobacillus were enriched in sites with a lower altitude and a higher altitude, respectively. A total of 78 potential bacterial pathogens were detected across all samples, and the relative abundance of them in bacterial communities ranged from 2.69% to 38.19%. These findings indicated that altitude would affect the community compositions of airborne bacteria and potential pathogenic bacteria and suggested the potential threat of airborne bacteria to human health. This study provided a scientific basis for better understanding the distributions of airborne microbes and for air quality improvement and disease prevention in China.