Taiyuan is the natural base for exploring Shanxi. High-speed trains reach Pingyao (45 minutes), Datong (90 minutes), and Xinzhou for Wutai Shan connections in under two hours, making day trips feasible in most directions. Pingyao — the intact walled Ming city and UNESCO World Heritage Site — is the most popular day trip, easy enough to do as an overnight stay if you want to see the city without crowds. Wutai Shan requires a slightly longer journey but is worth an overnight stay. Datong, with its cloud cave grottoes and hanging monastery, is doable as a long day but benefits from a night there.
Closer to Taiyuan, the Wang Family Compound at Qixian (south, about 90 minutes) and the Qingxu vinegar town (southwest, about 40 minutes) are half-day excursions that work well combined. The Jinci, Tianlongshan, and Longshan sites are technically outside the city but close enough to visit without considering them separate day trips.