The Temple of Literature, or Văn Miếu – Quốc Tử Giám, is more than just an ancient monument; it is the spiritual and intellectual heart of Hanoi and a powerful symbol of Vietnam’s long-standing tradition of education and respect for scholars. Established nearly a millennium ago, this site was the country’s first university, a hallowed ground where the nation’s brightest minds were nurtured. This comprehensive guide will take you on a journey through its history, architecture, and enduring legacy, ensuring you get the most out of your visit.
History and Significance
The story of the Temple of Literature is intrinsically linked with the formation of Vietnam’s national identity. Its establishment marked a new era where education became a cornerstone of state-building, rather than being confined to the elite.
A Foundation of Knowledge

Established by Emperor Lý Thánh Tông in 1070, the Temple of Literature was built as a dedication to Confucius, the renowned Chinese philosopher whose influential teachings on morality and governance profoundly shaped East Asian civilizations. This initial structure was a sanctuary for scholars, a place where they could honor their intellectual forbears. Just six years later, Emperor Lý Nhân Tông expanded the complex by establishing the “Quốc Tử Giám” (Imperial Academy), effectively making it the first national university. For over 700 years, this institution educated the country’s mandarins and royal family, shaping the future leaders of Vietnam. The names of those who passed the challenging imperial exams are immortalized on stone steles, a testament to their dedication and the value the nation placed on knowledge.
Architectural Masterpiece
The Temple of Literature’s architecture is a testament to traditional Vietnamese design, with a strong influence from Confucian principles. The complex is divided into five courtyards, each separated by a gate, representing the journey of a scholar from a commoner to an accomplished intellectual.
The Five Courtyards
First Courtyard: The Great Gate

Upon entering, visitors are greeted by the impressive Văn Miếu Môn (Great Gate), a majestic structure with three arched passageways. The central one was reserved for the emperor and high-ranking officials, while the side gates were for lesser-ranked dignitaries and scholars. The lush, well-maintained gardens and ancient trees in this courtyard create a serene and inviting atmosphere.
Second Courtyard: The Pavilion of Constellation
The second courtyard is dominated by the iconic Khuê Văn Các (Pavilion of Constellation). This elegant, two-tiered wooden pavilion with a red tiled roof has become a powerful symbol of Hanoi. Its name, “Constellation of Literature,” signifies the brilliance of scholars and is featured on Vietnam’s 100,000 VND banknote. The well-manicured grounds around it are a popular spot for photos.
Third Courtyard: The Well of Heavenly Clarity and the Stelae

The third courtyard is the most revered, home to the Thiên Quang Tỉnh (Well of Heavenly Clarity) and the renowned Doctorate Stelae. The well, a square pond, symbolizes the clarity and purity of knowledge. On either side, eighty-two stone steles are mounted on the backs of giant stone tortoises. These steles record the names and birthplaces of 1,307 successful candidates who passed the royal examinations from 1442 to 1779. Each stele is a precious piece of history, representing the intellectual elite of their time. The tortoises are a symbol of longevity and wisdom, perfectly embodying the spirit of the site.
Fourth Courtyard: The House of Ceremonies and Sanctuary
Beyond the steles lies the Đại Bái Đường (Great House of Ceremonies) and the sanctuary. This area is dedicated to the worship of Confucius and his four principal disciples, as well as the ten most prominent Vietnamese scholars. The atmosphere here is one of profound respect and solemnity. Visitors often take a moment to reflect on the legacy of learning and honor.
Fifth Courtyard: The Imperial Academy
The final courtyard is home to the restored Quốc Tử Giám (Imperial Academy). This modern structure, built on the site of the original university, houses a museum dedicated to the history of the Temple and Vietnam’s education system. It offers a fascinating look into the lives of students and the rigorous curriculum they followed. The main hall, Thái Học, is a place for ceremonies and a final tribute to the legacy of the first university.
Practical Information for Visitors
To make your visit smooth and enjoyable, here are some essential tips.

Location and How to Get There
The Temple of Literature is centrally located in Hanoi, at 58 Quốc Tử Giám Street, Đống Đa District. It is easily accessible by various modes of transport. A taxi or Grab (a popular ride-sharing app in Vietnam) from the Old Quarter takes about 10-15 minutes. Alternatively, you can take a local bus or enjoy a leisurely walk if you are staying nearby.
Opening Hours and Ticket Prices
- Opening Hours: The Temple is open daily from 7:30 AM to 6:00 PM. It is advisable to visit in the early morning to avoid the crowds and the heat, especially during the summer.
- Ticket Price: The entrance fee for foreign visitors is approximately 30,000 VND (about 1.50 USD), with discounts available for students and local residents.
Essential Tips for Your Visit

- Dress Code: As a place of worship and historical significance, visitors are expected to dress respectfully. Shoulders and knees should be covered.
- Best Time to Visit: The temple is a year-round destination, but the spring (February to April) and autumn (September to November) offer the most pleasant weather.
- Experience the Tradition: If your visit coincides with the Vietnamese Lunar New Year (Tết), you might witness a vibrant festival. Many students and scholars come to seek good luck by asking calligraphers (ông đồ) for beautifully written chữ (calligraphy characters).
RELATED: Hanoi Travel Guide 2025: Explore Vietnam’s Ancient Heart
Visiting the Temple of Literature is not just about seeing ancient buildings; it is about experiencing the very essence of Vietnamese culture. The site is a living testament to the nation’s profound respect for education, its scholars, and the enduring values of Confucius. It’s a place where past and present merge, where the echoes of ancient exams can still be felt in the reverence of students visiting for luck before their own tests.
The Temple of Literature stands as an unwavering beacon of Vietnam’s intellectual legacy. Its serene courtyards, magnificent architecture, and historical depth make it an indispensable stop on any Hanoi itinerary. It is a place that tells a compelling story of a nation that has always prioritized knowledge as the true foundation of strength and progress.