The polymorphism of HLA-B alleles in Sichuan Yi and Xinjiang Uygur population was investigated using the PCR-SSP method. Twenty one alleles were detected in HLA-B loci in 106 Sichuan unrelated Yi healthy subjects. Of them, B*40, B*15 and B*51 were the most common alleles with an allele frequency of 0.1981, 0.1368, 0.1274, respectively; while B*47, B*44, B*18, B*57 and B*78 were the rare alleles with an allele frequency of 0.0189, 0.0142, 0.0094, 0.0047 and 0.0047, respectively. The distribution of HLA-B allele frequencies in Sichuan Yis was between Southern Han and Northern Han. In 110 Xinjiang unrelated healthy Uygur subjects, 27 alleles were detected in HLA-B loci. Of them, B*35 and B*51 were the most common alleles with an allele frequency of 0.1136 and 0.1136, respectively; while B*41, B*56 and B*78 were the rare alleles with a frequency of 0.0045, 0.0045 and 0.0091, respectively. Frequencies of "Caucasoid origin" HLA alleles such as B*08, B*35 and B*50 in Xinjiang Uygurs were higher than other ethnic groups in China. The result of chi2 tests showed that the distributions of HLA-B alleles in Yi and Uygur ethnic groups were in Hardy-Weinberg equilibrium. Heterozygosity (H), discrimination power (DP) and probability of paternity exclusion (EP) of HLA-B locus from Sichuan Yi ethnic group were computed to be 0.8977, 0.9661 and 0.8009; and those from Xinjiang Uygur ethnic group were 0.9372, 0.9857 and 0.8732. The data obtained in this study on the distributions of HLA-B alleles in the Sichuan Yi and Xinjiang Uygur population provide important group genetics information for forensic and paternity tests to estimate the frequency of a DNA profile in these two populations, and can be used in transplant matching, anthropological and disease association studies.