Timeless Places

Dongcheng, Beijing

Confucius Temple and the Imperial Academy (Guozijian)

★★★★☆

孔庙和国子监 · KONG-miao, GWO-zuh-jyen

Side by side behind red walls on a lane of old locust trees in north-east Beijing, the temple where emperors worshipped Confucius and the highest school of the empire, both founded under the Yuan dynasty (1271–1368) in the early 1300s. In the temple courtyards stand 198 stone tablets carved with the names of more than fifty thousand men who passed the highest examination; in the academy a square throne hall stands in a round pool, where the Qianlong Emperor lectured on the classics.

iPhoto: rheins, CC BY 3.0, Wikimedia Commons

The story

You walk down a quiet lane under old trees and through painted archways, and turn in at a red gate with a roof held up on great Yuan-style brackets. Inside, a stone path runs between cypresses so old their trunks are twisted like rope, past rows of tall stone tablets on tortoises, to a white marble terrace and a hall with a double yellow roof. Through a side gate you pass into the academy next door: a three-arched gateway of green and yellow glazed tiles, and beyond it a square hall with a gilded top standing in a round pool crossed by four little bridges.

The temple was begun in 1302 under the Yuan dynasty (1271–1368), whose Mongol emperors adopted the honours due to Confucius, and the Imperial Academy, the Guozijian, was built beside it in 1306, the temple on the left and the school on the right, as the ritual books required. For six hundred years, under the Yuan, Ming and Qing (1644–1912), it was the highest school of the empire and the place where the emperor honoured the teacher of all teachers, until the examinations were abolished in 1905. Today the two are one museum.

Why come here?

  • Only here: the steles of nearly all the jinshi, the top graduates of the imperial examinations of the Yuan, Ming and Qing, and the only surviving imperial academy of China with its lecture hall in a round pool.
  • Original or rebuilt? The plan and some buildings are Yuan, most halls Ming and Qing, the glazed archway and the Biyong Hall (辟雍) of 1783–84; the Hall of Great Perfection (大成殿) was enlarged in the early 20th century.
  • The moment: standing in the courtyard among the steles and finding a name you know from history.
  • Worth the trip? Four stars: the quietest great sight of old Beijing, ten minutes' walk from the Lama Temple.
  • Who it suits: students and parents, history lovers, anyone who wants a calm courtyard in the city. The catch: much of the meaning is in the inscriptions, and booking is required.

Why it matters The Confucius Temple and the Guozijian are not World Heritage Sites. They matter as the place where for six hundred years the Chinese empire honoured learning and its teacher, and examined and taught the men who governed it.

If you have one minute

Gate of the First Teacher, the steles, the Hall of Great Perfection, the glazed archway, Biyong Hall

The glazed memorial arch under bare trees
The glazed memorial arch under bare trees호고호, CC0

Enter the temple, walk among the steles of the successful candidates in the first courtyard, climb to the Hall of Great Perfection and catch the ritual music in the courtyard behind it. Then pass through the Gate of Holding Reverence (持敬门) into the academy: the steles of the Thirteen Classics on one side, the glazed archway and Biyong Hall in its pool at the centre.

Tickets and hours: see Tickets and travel info.

Close by, with a page of its own: Lama Temple, Beijing Central Axis, Prince Gong's Mansion, Beijing, Beihai Park, Beijing, Forbidden City, National Museum of China, Beijing.

Also among Museums: The Louvre, Vatican Museums, Terracotta Army, British Museum, Fez Medina, Grand Egyptian Museum, Giza, all 282.

Our Shared Heritage

The temple and the academy

The temple lies to the east and the academy to the west, joined by the Gate of Holding Reverence. In the temple: the Gate of the First Teacher (先师门), the courtyard of steles, the Dacheng Gate (大成门), the Hall of Great Perfection and the Chongsheng Shrine. In the academy: the Gate of Gathering the Worthy (集贤门), the Gate of the Great Academy, the glazed archway, Biyong Hall and the Hall of Ethics (彝伦堂).

Schools and their teachers

Many cultures honour the founders of their learning, in universities, colleges or temples. Think of the oldest school in your own country, and who it honours.

Its counterparts elsewhere

The Temple of Confucius in Qufu, his home; the Temple of Literature in Hanoi; the Seonggyungwan in Seoul and the Yushima Seidō in Tokyo, the Confucian academies of Korea and Japan; and the Lama Temple next door in Beijing.

Who looks after it

The Confucius Temple and Imperial Academy Museum, under Beijing's cultural heritage administration.

Why it matters

Because for six hundred years an empire carved the names of the men who passed its hardest examination in stone beside the temple of its teacher, and the stones are still there to read.

In the cultural dictionary Confucian temple Imperial examinations

Now that you know so much about the history and culture of this place, is there anything you would like to say to future visitors? Leave a message

Go deeper: six chapters, from a Mongol emperor's temple to the last examination6 chapters · about 4 min to read

What this place is: (1) the Confucius Temple of Beijing, founded in 1302, second in size only to the temple at Confucius's home in Qufu; (2) the Guozijian, the Imperial Academy, founded in 1306 beside it; (3) since 2008 a single museum of the temple, the academy and the imperial examinations.

What you see: the Gate of the First Teacher, the steles of the successful candidates, the stele pavilions, the Dacheng Gate with the stone drums, the Hall of Great Perfection, the Chongsheng Shrine; then in the academy the steles of the Thirteen Classics, the glazed archway, Biyong Hall and the Hall of Ethics. Allow two to three hours.

1. A Mongol emperor honours Confucius, 1302–1368

A path beneath old cypress trees in the temple
A path beneath old cypress trees in the templeMiguel Discart & Kiri Karma, CC BY-SA 2.0

When Kublai Khan made Dadu, today's Beijing, the capital of his empire, his advisers urged him to rule through Confucian scholars and their rites. In 1302 his grandson, the emperor Temür, ordered a temple to Confucius in the north-east of the city, finished in 1306, and in the same year the academy was built to its west. The Yuan scholar Xu Heng had already trained the sons of Mongol and Central Asian nobles in the classics. It was begun the year Dante was exiled from Florence.

A court with an ancient cypress before a hall
A court with an ancient cypress before a hall호고호, CC0

2. Fifty thousand names, 1313–1904

A stele pavilion under glazed eaves
A stele pavilion under glazed eavesGerd Eichmann, CC BY-SA 4.0

From the Yuan, the men who passed the palace examination, the jinshi, had their names carved on a stone tablet in the temple courtyard. Today 198 steles stand here, with more than fifty thousand names, from the Yuan to the last examination of 1904. Among them are the minister of the Ming dynasty (1368–1644) Yu Qian, who saved Beijing in 1449, the Ming general Yuan Chonghuan, and the Qing dynasty (1644–1912) official Lin Zexu. The Yuan steles are few and worn: in the Ming some were ground smooth and carved again with new names. Passing was so hard that in some years only one candidate in several thousand who had started at the village examinations reached this courtyard.

The central path through the Confucius Temple's courtyard
The central path through the Confucius Temple's courtyardrheins, CC BY 3.0

3. The Hall of Great Perfection

Looking up to Dacheng Hall from the steps
Looking up to Dacheng Hall from the stepsGerd Eichmann, CC BY-SA 4.0

The Dacheng Gate holds ten stone drums, copies made in 1790 of the drum-shaped stones of the state of Qin (221–206 BC), whose originals are now in the Palace Museum. Beyond, on its marble terrace with a carved dragon ramp, the Hall of Great Perfection holds the tablets of Confucius, his four followers and twelve philosophers, with ritual bronzes, bells and stone chimes for the sacrifices. In 1906, a year after the examinations ended, the court raised the worship of Confucius to the highest rank, and the hall was enlarged to nine bays, the width of an imperial palace hall. In the courtyard behind, the Chongsheng Shrine honours Confucius's ancestors, and there musicians and dancers in Ming-style costume perform the ritual music several times a day.

The altar of Dacheng Hall inside
The altar of Dacheng Hall insideGerd Eichmann, CC BY-SA 4.0
A frame of bronze bells inside the hall
A frame of bronze bells inside the hallMiguel Discart & Kiri Karma, CC BY-SA 2.0

4. The Imperial Academy, 1306–1905

A passage between painted gateways
A passage between painted gatewaysMiguel Discart & Kiri Karma, CC BY-SA 2.0

Through the Gate of Holding Reverence you enter the academy. For six hundred years the Guozijian was the highest school of the empire, and its head was a high official. Its students were sons of officials, chosen scholars from the provinces and young men from neighbouring countries: students from the kingdom of Ryukyu, for one, studied here from the Ming to the Qing. They lived in rows of rooms along the sides, studied the classics in the Hall of Ethics, sat monthly tests and could go on to office. Along the courtyard stand the 189 steles of the Thirteen Classics, the whole Confucian canon carved in 1791–94 from the copy that the scholar Jiang Heng had spent twelve years writing out by hand.

A hall lined with stone steles
A hall lined with stone steles호고호, CC0

5. A throne in a round pool, 1783–1785

Biyong Hall with its double-eaved roof
Biyong Hall with its double-eaved roofMiguel Discart & Kiri Karma, CC BY-SA 2.0

The old books said the emperor's school should be a hall in a round pool, called a biyong. In 1783 the Qianlong Emperor built one: a square hall with a double roof and a gilded top, set in a circular pool with marble balustrades and four bridges, one at each side. In front of it he raised the glazed archway, the only glazed memorial arch in Beijing that does not belong to a temple. In the spring of 1785 he came to sit on the throne inside and lecture on the classics to thousands of officials and students kneeling round the pool. Later emperors came once each, at the start of their reigns. It was a lecture theatre with a moat, so that even the emperor's words had to cross water to reach his listeners.

The circular moat and marble balustrade
The circular moat and marble balustradeMr Wabu, CC BY-SA 2.0
The throne and gilded furnishings inside the hall
The throne and gilded furnishings inside the hallMiguel Discart & Kiri Karma, CC BY-SA 2.0

6. The last examination and the museum, 1904–2026

A mass of red wish tags before a statue
A mass of red wish tags before a statuerheins, CC BY 3.0

The last palace examination was held in 1904, and in 1905 the empire abolished the examinations and replaced the Guozijian with a ministry of education. The temple went on holding ceremonies for a few years; later the buildings housed a library and a museum. After a long restoration they reopened in 2008 as the Confucius Temple and Imperial Academy Museum. Today students and parents hang red wishing tags for their own examinations by the statue of Confucius, and the lane outside, with its painted archways, is one of the best-kept old streets of Beijing.

A painted archway over the street under trees
A painted archway over the street under treesAndrzej Otrębski, CC BY-SA 4.0

People who stood here

  • Xu Heng (scholar, 1209–1281)The Confucian scholar who taught the sons of the Mongol nobility under Kublai Khan and is honoured as a founder of the academy of the Yuan dynasty (1271–1368); a cypress in the temple is said to have been planted by him.
  • Qianlong Emperor (emperor, 1711–1799)Who built the glazed archway and Biyong Hall in 1783–84, lectured there on the classics in 1785, and had the Thirteen Classics carved in stone.
  • Jiang Heng (calligrapher, 1672–1743)A scholar who spent twelve years copying out all of the Thirteen Classics by hand; his copy was carved on 189 steles in 1791–94.
  • Yu Qian (official, 1398–1457)A minister of the Ming dynasty (1368–1644) whose name is on the steles of the successful candidates of 1421, and who saved Beijing from a Mongol army in 1449.
  • Lin Zexu (official, 1785–1850)An official of the Qing dynasty (1644–1912) whose name is on the steles of 1811, and who in 1839 destroyed the British opium at Humen.

Tickets and travel info

Tickets and hours

  • 30 yuan (approx.) for both, booked in advance by real name; about 9 am to 5 pm, last entry 4.30 pm; closed on Mondays except public holidays.

Last checked 2026-11-25. Confucius Temple and Imperial Academy Museum information checked on 25 November 2026: closed on Mondays except public holidays; open about 9 am to 5 pm, last entry 4.30 pm, with longer hours on some holidays; one ticket of 30 yuan (approx.) covers both, booked in advance by real name; the ritual music performance in the Chongsheng Shrine courtyard is held several times a day.

Find a guide

Once you've read our history and culture pages, a guide is the best way to go deeper and make the most of your visit. You can find guides on these sites:

Find it on the map

Entrance · Main gate, Guozijian Street

Search for 13 Guozijian Street, Dongcheng District, Beijing

Metro Yonghegong station (lines 2 and 5), exit C, about ten minutes' walk

Where to start

  • Start in the temple, then cross into the academy through the Gate of Holding Reverence (持敬门); time your visit for a ritual music performance.

Before you go

  • Combine with the Lama Temple, a short walk east; foreign visitors book with a passport.

Book tickets

Tickets are available on the official website below. You can also book through our partner sites: we earn a small commission at no extra cost to you, and it helps keep Timeless Places running. Thank you for your support! Some official sites ask for a local ID, so international visitors can't book there; in that case, our partner sites are the easiest choice.

Official websiteOfficial tickets

Checked 2026-11-25 Beijing's official tourism site; tickets are booked through the museum's official WeChat account.

Looking for a place to stay nearby or a rental car? You'll find more options below.

Stay nearby

This button opens one of several booking sites, such as Booking.com, Expedia, Hotels.com, Agoda or Vrbo, picked automatically. If it isn't the one you'd like, just close it and click again. Thank you for your support!

Rent a car

Bring your own licence and an International Driving Permit, and check before you go that the country accepts them.

In the local language

孔庙和国子监 KONG-miao, GWO-zuh-jyen

Address 13 Guozijian Street, Dongcheng District, Beijing

高德地图 Amap 百度地图 Baidu Google Maps Apple Maps

Words on the signs
先师门Gate of the First Teacher
大成门Dacheng Gate
大成殿Hall of Great Perfection
崇圣祠Shrine of Revering the Sage's Ancestors
进士题名碑Steles of Successful Candidates
十三经碑林Steles of the Thirteen Classics
持敬门Gate of Holding Reverence
集贤门Gate of Gathering the Worthy
琉璃牌坊Glazed Archway
辟雍Biyong Hall
彝伦堂Hall of Ethics

Opening hours are given in the local time of the place.

In pop culture

We have not found a film, a song or a famous visitor for this place yet.

Meanwhile in the world

YearHereElsewhere
1302The temple is begun under the YuanDante is exiled from Florence
1785Qianlong lectures in Biyong Hall (辟雍)The first balloon crosses the English Channel
1905The examinations are abolishedEinstein's year of miracles

One line to remember: a temple of the teacher, fifty thousand names in stone, and an emperor lecturing from a square hall in a round pool.

Local legends

These are stories people tell about this place. They are legends, not history, and each one says where it comes from.

LegendThe cypress that knocked off a traitor's hat

In the Ming dynasty (1368–1644), it is told, when the powerful and corrupt minister Yan Song walked past an old cypress on his way to the sacrifice, a branch knocked off his official hat, and the tree has been called the cypress that touches traitors ever since.

Source: Popular legend; the tree is very old, the story is told of it

Later, people who live here will be able to add the stories they grew up with, and say which of these they have heard.

Not certain, and where accounts conflict

How many names are on the steles?
198 steles with about 51,600 names is the usual figure; a few Yuan steles are lost or recarved, so the count is not complete.
Are the stone drums originals?
No: the originals, carved in the state of Qin more than two thousand years ago, are in the Palace Museum; these are the copies of 1790.

Look for these

  1. Find a name you know on the steles of the successful candidates.
  2. Count the stone drums in the Dacheng Gate (大成门).
  3. Find the four bridges across the pool of Biyong Hall (辟雍).

I am here

Stand at the site, sign in, press the button, and collect its stamp. Your browser will ask to use your location. It is sent to us once to confirm that you are at the site; we keep how far you were from it, not the spot where you stood.

Your stamps are saved to your account, so they follow you to any device. Checking from a browser cannot rule out every false location; stricter checks arrive with the app.

Share your photos

Photos here show the place, not people. Each one is credited to the visitor who took it and appears after our team has looked at it. A photo with you in it belongs under “I am here”.

Messages