Bai Dinh Mountain, where the pagoda is located, has long been a sacred land associated with national heroes. According to historical records, this is where King Dinh Tien Hoang (Dinh Bo Linh) set up an altar to pray to heaven and earth for favorable weather, consolidating the foundation for the Dinh Dynasty in the 10th century. Over 800 years later, in 1789, King Quang Trung - Nguyen Hue also chose Bai Dinh as the place to consecrate the flag and motivate troops before defeating the Thanh army in Thang Long, opening a heroic chapter in the nation's history.
Ancient Bai Dinh Pagoda (Bai Dinh Co Tu) was founded in 1136 under the Ly Dynasty by National Master Ly Nguyen Minh Khong (1065–1141) – a famous Zen master, physician, and sorcerer. Legend has it that while searching for medicinal plants to cure King Ly Than Tong's "tiger transformation" disease, he discovered the Dinh mountain area with beautiful caves and precious medicinal trees, so he erected a pagoda to worship Buddha and built a "herbal garden" to heal the people. He was honored by the people as "Saint Nguyen".

But the history of Bai Dinh Pagoda truly originates from the legend of Zen Master Nguyen Minh Khong (1059-1141), a famous Ly Dynasty national master renowned for his medical talents and casting Buddha statues. Legend has it that after curing King Ly Than Tong with the "cycad plant" medicine from Bai Dinh dark cave, he decided to practice Buddhism here. In 1136, Nguyen Minh Khong founded the ancient pagoda on top of the mountain, turning Bai Dinh into a "Buddhist land" with sacred caves: Bright Cave worshipping Buddha and Cao Son deity (protector of the Hoa Lu citadel wall), Dark Cave worshipping Mother Goddess of the Forest and the Jade Well – an endless water source symbolizing longevity. These thrilling stories not only enrich the history of Bai Dinh Pagoda but also confirm the role of Buddhism as the state religion during the Ly Dynasty, contributing to the revival of national culture after the Northern domination period.



