The Datong Garrison (Chinese: 大同鎮; pinyin: Dàtóngzhèn) was one of the Nine Garrisons established by the Ming dynasty to defend the northern border and Great Wall of China.
The area of responsibility was to defend the outer stretch of the Great Wall, starting from Piantou Pass on the Yellow River and extending northeast to Shahukou. It then continued further east, reaching north of Datong and ending at Huai'an, which is located 40 km west of Zhangjiakou in Hebei, where it joined the wall under the Xuanfu Garrison. The wall that belonged to the Datong Garrison was constructed in the mid-16th century in response to repeated attacks by the Mongols, led by Altan Khan. In total, the Datong Garrison was responsible for 330 km of the Great Wall.[1][2][3]
The garrison was under the command of Xuanda,[4] and its headquarters were located in present-day Datong, Shanxi.[1]
To the east, the Datong Garrison shared a border with the Xuanfu Garrison, and to the west, it bordered the Yansui Garrison.[1]