BACKGROUND: Cattle have evolved genetic adaptations to a diverse range of agroecological zones, such as plateaus and arid zones. However, little is known about its genetic basis of adaptation to harsh environments within a short period of time after domestication. Here, we analyzed whole-genome sequence data from three indigenous cattle breeds (Anxi, Qaidam and Zhangmu) in northwest China and five worldwide cattle breeds (Angus, Holstein, Jersey, Gir and N'Dama) to explore their genetic composition and identify selective sweeps in the Chinese cattle breeds. RESULTS: Analyses of phylogenetic and population structure revealed that three indigenous cattle breeds share genomic components from Bos taurus and Bos indicus. A novel set of candidate genes was identified through comparative genomic analyses of cattle from contrasting environments based on SNP and copy number variation (CNV) data. These candidate genes are potentially associated with adaptive phenotypes, including high-altitude adaptability (e.g., ANGPT1, PPARGC1A, RORA), cold climate adaptation (e.g., TSHR, PRKG, OXCT1), and dryland adaptation (e.g., PLEKHA7, NFATC1, PLCB1). CONCLUSIONS: This study unravels the unique adaptive diversity of three Chinese indigenous cattle breeds, providing a valuable resource for future research on sustainable livestock breeding strategies to response to climate change.