Kwanmunsŏng () was a Unified Silla-era Korean fortress located in North and South Gyeongsang Province, South Korea. On January 21, 1963, it was made a Historic Site of South Korea. It was built in 722 (Korean calendar), during the reign of King Seongdeok. It was meant to protect the Silla capital of Gyeongju. Its walls have a total length is . It was in ruins by the early Joseon period. Part of it was used during the 1592–1598 Imjin War. In recent years, most of its structures are in ruins.