Bunhwangsa (literally "Fragrant Emperor Temple") is a temple complex from the Old Silla era of Korea. It is located in Gyeongju. The temple is recorded to have been built in 634 under the auspices of Queen Seondeok. Today the temple is still used by a small group of worshipers but in its heyday, the temple covered several acres and was one of the four main temples of the Silla Kingdom used by the state to ask the Buddha to bless the kingdom. The ruins of Hwangnyongsa Temple lay nearby.