Shanxi has a population of 31.41 million, with natural population growth controlled within 9‰.
The largest ethnic group in Shanxi, the Han, account for 99.75 percent of the total population. The province also has 34 ethnic minority groups, including the Hui, Manchu, Mongolian, Korean and Tibetan, with 67,000 people. There are 58 villages where ethnic minority groups live in compact communities.
There are 10 cities directly under the provincial government. They are Taiyuan, Datong, Changzhi, Yangquan, Jinzhong, Jincheng, Xinzhou, Shuozhou, Linfen and Yuncheng. Shanxi also has one prefecture, Luliang, and 118 counties (cities and districts).