The Great Mosque of Xi'an (Chinese: 西安大清真寺; pinyin: Xī'ān Dà Qīngzhēnsì) is one of the largest premodern mosques in China. Although the mosque was first built in the year 742 AD during the Tang dynasty, its current form was largely constructed in 1384 AD during Emperor Hongwu's reign of the Ming dynasty, as recorded by the Records of Xi'an Municipality (西安府志).
An active place of worship within Xi'an Muslim Quarter, this courtyard complex is also a popular tourist site. It now houses more than twenty buildings in its five courtyards, and covers 1.23 hectares. The mosque is also known as the Huajue Xiang Mosque (化觉巷清真寺; Huàjué Xiàng Qīngzhēnsì), for its location on 30 Huajue Lane. It is sometimes called the Great Eastern Mosque (东大寺; Dōng Dàsì) as well, because it is located in the eastern segments of the Xi'an Muslim Quarter (回民街). The Daxuexi Alley Mosque (大学习巷清真寺; Dàxuéxí Xiàng Qīngzhēnsì) sits on the other side of the Muslim Quarter and is known as the "Western Mosque" of Xi'an.