The last person to be rescued from the rubble in Yimin New Village, Linxian County, was an 81-year-old woman 21 hours after the landslide struck, state-run Xinhua news agency reported.
Rescuers were told that there were nine people in the houses.
The village was built in 2005, with 5,000 villagers relocated from their former dwellings on the hillside.
The hills in Shanxi, which are located on a loess plateau, are prone to landslides and mudflows due to the region's loose geographic structure.