Xiwengzhuang is a town in the Miyun District of Beijing, China. It lies to the southwest of the Miyun Reservoir, one of the largest reservoirs in northern China and a major source of drinking water for the capital.
The town is bordered by Shicheng and Bulaotun Towns to the north, Mujiayu Town to the east, Miyun Town to the south, and Xitiangezhuang Town to the west. Its position places it within the mountainous, reservoir-adjacent part of Miyun District, north of central Beijing.
In 2020, Xiwengzhuang had a population of 20,438.