Maguan County is a geographical administrative division located in the Wenshan Zhuang and Miao Autonomous Prefecture of Yunnan Province, China. It is situated in a region that borders the Vietnamese provinces of Lào Cai and Ha Giang to the south.
The county serves as a border area between China and Vietnam, characterized by its location within an autonomous prefecture known for its diverse ethnic populations.