Creation of the Imperial Examinations
Under Emperor Yang of Sui, the jinshi examination — testing learning and talent rather than family background to select officials — was established, regarded as the effective beginning of what was later called the keju, the imperial examination system (similar selection tests may already have begun under Emperor Wen). Previously, selection under the Nine-Rank System, in place since the Wei and Jin, favored the sons of powerful aristocrats, but the examinations opened, at least in principle, a path to office regardless of birth. Refined through the Sui and Tang, and made fairer in the Song with devices such as concealing candidates’ names, the system remained the backbone of Chinese official recruitment for more than 1,300 years until its abolition in 1905, late in the Qing. It also greatly influenced the bureaucracies of neighboring countries such as Korea and Vietnam.
- The keju — choosing officials by examination results rather than family background — began under the Sui.
- Under the earlier Nine-Rank System, the sons of great aristocratic families had nearly monopolized high office.
- The keju was refined under the Tang and Song and lasted about 1,300 years, until it was abolished in 1905.
Why were examinations needed?
- Local officials (zhongzheng) rated people on nine grades, and appointments were based on those ratings
- Because the raters too were aristocrats, ratings came to be decided by lineage
- As the saying went, “no poor families in the upper grades, no powerful clans in the lower”
- Those who did best in examinations on set subjects became officials
- In principle, anyone could sit them regardless of family
- Because the emperor could choose talent himself, aristocratic power could be curbed
Around 587, Emperor Wen of Sui set up a system in which each prefecture recommended three men every year to sit an examination. Emperor Yang is said to have created the “jinshi” examination, testing skill in poetry and prose. The start of the jinshi — later the most prestigious examination — is often taken as the start of the keju.
1,300 years of change
| Period | Main features |
|---|---|
| Sui (581–618) | Selection by examination begins; the jinshi examination is created |
| Tang (618–907) | The jinshi, mingjing and other examinations take root. But lineage still counted after passing, and the aristocracy remained strong. Only about 20–30 passed the jinshi each year |
| Song (960–1279) | The “palace examination,” with the emperor himself as examiner, begins. Concealing names (huming) and copying answers so handwriting could not be recognized (tenglu) prevented cheating. Successful candidates increased, and examination-recruited officials (shidafu) came to the center of government |
| Yuan (1271–1368) | Long suspended, revived in 1315, with a system favoring Mongols and semu |
| Ming and Qing (1368–1912) | The three levels — provincial, metropolitan and palace examinations — were completed. Answers had to follow Neo-Confucian interpretations and the fixed “eight-legged essay” form |
| 1905 | The Qing, rushing to modernize, abolishes the keju |
Influence on neighboring countries
- Korea: The keju began in Goryeo in 958 and continued under the Joseon dynasty until 1894.
- Vietnam: Begun in 1075 and held until 1919 — the country where the keju lasted latest.
- Japan: In the Nara and Heian periods there was an examination for recruiting officials (kōkyo), but lineage prevailed and it never spread; the keju did not take root.
- Europe: Missionaries introduced the keju, and it is said to have influenced the British civil service examinations of the 19th century.
Read next
Frequently asked questions
Updated: · Main sources: Book of Sui, annals of Gaozu and Emperor Yang; Tongdian, “Selection”; Miyazaki Ichisada, China’s Examination Hell