Alicyclobacillus species inhabit diverse environments and have adapted to broad ranges of pH and temperature. However, their adaptive evolutions remain elusive, especially regarding the role of mobile genetic elements (MGEs). Here, we characterized the distributions and functions of MGEs in Alicyclobacillus species across five environments, including acid mine drainage (AMD), beverages, hot springs, sediments, and soils. Nine Alicyclobacillus strains were isolated from AMD and possessed larger genome sizes and more genes than those from other environments. Four AMD strains evolved to be mixotrophic and fell into distinctive clusters in phylogenetic tree. Four types of MGEs including genomic island (GI), insertion sequence (IS), prophage, and integrative and conjugative element (ICE) were widely distributed in Alicyclobacillus species. Further, AMD strains did not possess CRISPR-Cas systems, but had more GI, IS, and ICE, as well as more MGE-associated genes involved in the oxidation of iron and sulfide and the resistance of heavy metal and low temperature. These findings highlight the differences in phenotypes and genotypes between strains isolated from AMD and other environments and the important role of MGEs in rapid environment niche expansions.