Rabbit Hole MapsAbout

Korean History › Early Joseon › Joseon

Gyeongguk daejeon (National Code)

completed 1485· Book, artwork, monument or document· Rulers & states

Well documentedSolid records, physical evidence or scientific consensus.

Joseon's comprehensive law code, begun under King Sejo and finished in 1485, which framed government for four centuries.

See it on the Korean History map →

What happened

The Gyeongguk daejeon (경국대전), 'Great Code for Governing the State,' was begun under King Sejo around 1460 and issued in final form under King Seongjong in 1485. Its six books match the six ministries: personnel, revenue, rites, military, punishments and public works. It set official ranks, exam rules, taxes, land, slave status, inheritance (sons and daughters shared estates) and family law. Later codes of 1746, 1785 and 1865 revised it but kept it as the base.

Why it matters

It made Joseon a state run by written law, fixing the bureaucracy and the class order; it is one reason the dynasty stayed so stable for so long.

Think of it like

Like a city's zoning and building codes in one volume: later rules came as amendments, not rewrites.

How we know

Printed editions survive in Korean libraries; the Sillok record its drafting and revisions, and later codes quote it line by line.

Connections (2)

▸Gyeongguk daejeon (National Code) codified the government of JoseonWell documented

The connection

The code fixed Joseon's machinery: the State Council and six ministries, official ranks, local government, exams, taxes and punishments. Kings and ministers had to work within it, and later codes added to it rather than replacing it, keeping institutions stable until the reforms of 1894.

When and how

Compiled about 1460–1485 in Hanyang (Seoul) under Kings Sejo, Yejong and Seongjong, by officials including Choe Hang and No Sa-sin.

How we know

The code survives in print, and the Sillok show officials citing it in court disputes for centuries.

Debates and open questions

How closely local magistrates actually followed it in the provinces, far from Seoul, is hard to measure.

▸Gyeongguk daejeon (National Code) gave legal form to Yangban aristocracy and the class orderWell documented

The connection

The code wrote status into law: who could sit the exams, how fathers' ranks gave sons privileges, how slaves were owned, inherited and punished, and barred sons of concubines (seoja) from the civil exams. That turned the yangban order from custom into a legal structure.

When and how

Final text 1485 in Hanyang (Seoul) under King Seongjong; its status rules held across Joseon until the 1894 Gabo Reform abolished them.

How we know

The code's own rules on exams, slaves and inheritance, and lawsuits and household registers that apply them.

Debates and open questions

The code never defines 'yangban' as a legal class, so historians debate whether yangban status was legal or social, and how open it was.