In this study, we genotyped 939 unrelated healthy individuals to investigate the genetic polymorphisms of 38 Y chromosome short tandem repeats(Y-STRs) loci included in the Yfiler™ Platinum kit in the Hui population of Shaanxi Province. Comprehensive population comparisons were performed using analysis of molecular variance(AMOVA), multidimensional scaling(MDS), and molecular evolutionary genetics analysis(MEGA) to explore population relationships. The allele frequencies of the single-copy loci ranged from 0.001 to 0.940 (DYS645), while those of the multi-copy loci ranged from 0.001 to 0.138 (DYS527). The highest genetic diversity (GD) value was observed for DYS385 (0.9723), and the lowest for DYS645 (0.1138). A total of 849 distinct haplotypes were identified among the 939 Hui individuals, with 808 (95.2 %) being unique. Haplotype diversity (HD), haplotype match probability, and discriminatory power (DC) in the Shaanxi Hui population were 0.9996, 0.0015, and 0.9041, respectively. Interpopulation comparisons based on Rst genetic distance values, phylogenetic trees, and MDS indicated that the Shaanxi Hui population has a close genetic relationship with the Ningxia Hui, Qinghai Hui, Xinjiang Hui, and Yunnan Hui populations. The population genetic stratification largely coincides with geographic distribution and language families. Our study revealed that the 38 Y-STR loci exhibit high genetic polymorphisms in the Hui population from Shaanxi Province.