Keju (Imperial Civil Examination)
China's imperial civil service examination system, in use from the Sui dynasty (605 CE) through 1905, the world's first and longest-lasting merit-based state bureaucracy recruitment. At its best, it allowed a peasant's son to rise to the highest government positions through demonstrated knowledge, creating social mobility that stabilized Chinese dynasties. Its corruption by elite families in later dynasties triggered catastrophic rebellions.
The Keju was arguably history's most influential educational institution. At its theoretical peak, any literate male could sit the examinations, from the local county exam to the provincial exam to the palace examination before the Emperor himself, and if he passed, receive a government position regardless of birth. The examinations tested classical Chinese literature, history, philosophy (primarily Confucian), and composition.
The social mobility mechanism: unlike European aristocracy (where birth determined position) or medieval Islamic courts (where family and patronage determined advancement), the Keju created a genuine meritocracy in the administrative elite. Sons of farmers, craftsmen, and merchants could, and did, rise to become ministers of state. This systematically prevented hereditary aristocracy from calcifying into an immovable elite, creating the periodic renewal of government capacity that sustained Chinese dynastic cycles for over a millennium.
The stability function: the Keju channeled the ambitions of China's most talented people into the state system rather than into opposition. Passing the Keju became the supreme aspiration of Chinese educated life, redirecting competitive energy from military or economic opposition into intellectual competition for state positions. Peter Turchin's elite overproduction model predicts that when this channel closes (through corruption or closure of exam positions), the surplus educated class finds revolutionary outlets.
The failure case, Hong Xiuquan: perhaps the most dramatic illustration of social mobility's political importance. Hong Xiuquan failed the Keju examination four times, despite genuine intellectual talent. Unable to enter the elite through legitimate channels, he experienced a visionary breakdown, declared himself the younger brother of Jesus Christ, and launched the Taiping Heavenly Kingdom rebellion (1850–1864), the deadliest civil war in history, killing 20–30 million people. A talent-based system that blocked one man produced a 14-year catastrophe.
Related articles
Related terms
Frequently asked questions
What was the Keju examination system? +
China's imperial civil service exam (605–1905 CE), testing classical literature, history, and Confucian philosophy across multiple levels from county to palace. Any literate male could theoretically sit, a peasant's son could become a minister if he passed. This created genuine meritocracy in the state administration, preventing hereditary aristocracy and channeling talented people's ambition into government service rather than opposition.
What happened when the Keju system was corrupted? +
When elite families bought exam positions and blocked talented commoners, blocked candidates became revolutionary leaders. Hong Xiuquan failed the Keju four times despite genuine talent, experienced a religious breakdown, declared himself Jesus's brother, and launched the Taiping Rebellion, 20–30 million dead, the deadliest civil war in history. The lesson: a society that blocks its talented people's legitimate ambitions converts their energy from productive to destructive.