✦ Three Enclosures · 三垣 ✦

Three Enclosures: The Celestial Palace System of Ancient China

三垣 — 天上朝廷的星空格局

In the ancient Chinese sky, around the unchanging North Pole, three great enclosures of stars formed the heavenly government — an imperial palace, a court of ministers, and a bustling marketplace. The Three Enclosures (三垣, Sān Yuán) are the political heart of Chinese astronomy, where every star carries an official title and the cosmos itself becomes a mirror of earthly governance.

Explore the Three Enclosures ↓ Compare with 28 Mansions →
👑
Purple Forbidden Enclosure
紫微垣 · Zǐwēi Yuán
The Emperor's Palace

Centered on the North Pole — the celestial throne room where the Emperor Star sits immovable while all heavens revolve around it.

⚖️
Supreme Taiwei Enclosure
太微垣 · Tàiwēi Yuán
The Imperial Court

South of the Purple Forbidden — the celestial court where dukes, ministers, and officials manage heaven's affairs on behalf of the emperor.

🏪
Heavenly Market Enclosure
天市垣 · Tiānshì Yuán
The Cosmic Marketplace

Southeast of the Purple Forbidden — the celestial marketplace representing civilian life, commerce, and the common people of heaven.

3
Enclosures 三垣
~150
Stars Named 有星官
37
Stars in Purple Forbidden
20+
Star Officials 垣中星官

What Are the Three Enclosures? 三垣概述

The Three Enclosures (三垣, Sān Yuán) represent one of the most distinctive features of ancient Chinese astronomy — a system that organized the northern sky into three concentric zones of political authority, centered on the North Celestial Pole. Unlike the Twenty-Eight Mansions, which trace the Moon's monthly path along the celestial equator, the Three Enclosures occupy the region of sky that never sets below the horizon for observers in central China — the "circumpolar" stars that eternally wheel around the pole.

This is no accident of stellar positioning. In Chinese cosmological thought, the North Celestial Pole (北天极) was the most sacred point in the heavens — the cosmic pivot around which the entire universe revolves. It was the seat of the Celestial Emperor (天帝), the supreme ruler of the cosmos. The Three Enclosures were therefore conceived as the three major wings of the Emperor's celestial compound: his private palace, his outer court, and the marketplace that served his subjects.

The system is fundamentally different from Western constellation groupings. Where the Greeks saw heroes, monsters, and myths, the Chinese saw a government. Every star in the Three Enclosures bears an official title — Prime Minister, Grand Preceptor, Crown Prince, Market Supervisor, Chariot Officer. The heavens are not a gallery of legends but a functioning bureaucracy, with ranks, jurisdictions, and responsibilities. This reflects the deepest conviction of Chinese political philosophy: that the patterns of heaven and the order of earthly government are one and the same.

📌 Historical Origins

The Three Enclosure system was formalized during the Han Dynasty (206 BCE – 220 CE), though its roots extend to the Warring States period. The great astronomer Shi Shen (石申, 4th century BCE) catalogued many of the stars in these enclosures. The system was later codified in the Records of the Grand Historian (史记) by Sima Qian and further refined in the Book of Jin (晋书) astronomical treatise.

Together, the Three Enclosures contain approximately 150 named stars distributed across dozens of "star officials" (星官, xīngguān) — groupings of stars that correspond to specific offices and roles in the celestial government. This stands in stark contrast to the Big Dipper, which served as the celestial clock and compass, or the Twenty-Eight Mansions, which tracked the Moon's journey. The Three Enclosures were about power — who rules the cosmos, and how.

Purple Forbidden Enclosure (紫微垣) — The Emperor's Palace

The Purple Forbidden Enclosure (紫微垣, Zǐwēi Yuán) is the innermost and most sacred of the Three Enclosures. It occupies the region of sky immediately surrounding the North Celestial Pole, forming a vast stellar palace that is perpetually above the horizon for observers in northern and central China. Its name, "Purple Forbidden," carries the same weight as the Zǐjìnchéng (紫禁城) — the Purple Forbidden City in Beijing — and this is no coincidence. The earthly Forbidden City was deliberately designed as an architectural mirror of this celestial enclosure.

Location and Structure

The Purple Forbidden Enclosure is defined by two concentric "walls" of stars. The outer wall, called the Left Wall (左垣) and Right Wall (右垣), forms an irregular oval that encloses the pole region. These wall-stars bear names like Celestial Pillar (天柱), Right Pivot (右枢), and Left Pivot (左枢) — the pivots and pillars that hold up the celestial palace, just as pillars hold up a throne room.

The Emperor Star and Key Star Officials

At the very center of the Purple Forbidden Enclosure sits the Emperor Star (北极, Běijí — literally "North Pole Star"), also known as the Celestial Emperor (帝星). This star represents the Celestial Emperor himself, enthroned at the cosmic center, unmoving while all other stars revolve around him. In practice, this star is not exactly the North Celestial Pole (which shifts over millennia due to precession), but a bright star near the pole that ancient observers identified as the Emperor's seat.

Surrounding the Emperor Star are the most important officials of the celestial government:

Star Official Chinese Name Role in Celestial Palace
Emperor Star 北极 · 帝星 The Celestial Emperor — supreme ruler of the cosmos, seated at the pole
Crown Prince 太子 The heir to the celestial throne, positioned near the Emperor
Celestial Pivot 天枢 The celestial pivot point — one of the key stars of the Big Dipper, also serving the Purple Enclosure
Celestial Jade 天璇 A treasured jewel star, part of the palace treasury
Celestial Pearl 天玑 Another jewel of the palace, representing imperial wealth
Celestial Authority 天权 Represents the authority delegated by the Emperor
Grand Preceptor 太师 The Emperor's chief advisor and teacher
Grand Guardian 太傅 Protector of the Emperor and the imperial lineage
Celestial Kitchen 天厨 The imperial kitchen — responsible for the Emperor's meals
Celestial Bed 天床 The Emperor's resting place within the inner palace
Nüshi (Female Historian) 女史 The female court historian who records the Emperor's deeds
Celestial Prison 天牢 The palace prison — for those who offend the Emperor

众星拱北 — All Stars Revolve Around the North

The most famous phrase associated with the Purple Forbidden Enclosure is "众星拱北" (zhòng xīng gǒng běi) — "all stars pay homage to the North." This observation, that every star in the visible sky appears to rotate around the North Celestial Pole, became one of the most powerful political metaphors in Chinese history. Just as all stars revolve around the pole star, so too should all subjects revolve around the Emperor. The cosmos itself demonstrated the natural order of hierarchy.

This metaphor was not merely poetic — it was constitutional. Chinese emperors derived their legitimacy from the concept of the Mandate of Heaven (天命), and the Purple Forbidden Enclosure provided the visual, stellar proof of that mandate. If the Emperor was the pole star, then rebellion was not just treason — it was cosmological chaos, a disruption of the heavenly order itself.

The Forbidden City as Earthly Mirror

When the Ming Dynasty Emperor Yongle (永乐帝) built Beijing's Forbidden City in the early 15th century, he explicitly modeled it on the Purple Forbidden Enclosure. The name Zǐjìnchéng (紫禁城) literally means "Purple Forbidden City" — the earthly equivalent of Zǐwēi Yuán (紫微垣). The palace was oriented with its central axis pointing toward the North Pole, and the Emperor's throne room was positioned at the symbolic center of the complex, just as the Emperor Star sits at the center of the celestial enclosure.

The walls of the Forbidden City mirror the left and right walls of the stellar enclosure. The gates correspond to the "gate-stars" that mark entrances in the celestial palace. Even the color purple (紫, zǐ) was chosen for its cosmic associations — the "purple aura" (紫气) that in Daoist tradition signifies the presence of the highest spiritual authority. The phrase "紫气东来" ("purple qi comes from the east") refers to the auspicious arrival of a sage or sovereign.

Supreme Taiwei Enclosure (太微垣) — The Court

The Supreme Taiwei Enclosure (太微垣, Tàiwēi Yuán) lies south of the Purple Forbidden Enclosure and represents the outer court of the celestial government. If the Purple Forbidden is the Emperor's private palace — his inner sanctum where only the closest family and attendants may enter — then the Taiwei Enclosure is the Hall of Audience, the grand court where government business is conducted, ministers present reports, and the affairs of the empire are managed.

Location and Meaning

The name 太微 (Tàiwēi) carries deep significance. Tài (太) means "supreme" or "great," and wēi (微) means "subtle" or "minute" — together suggesting the "supremely subtle" or "infinitely refined" realm. This is the domain where the Emperor's will is translated into policy, where cosmic intention becomes earthly action. The enclosure sits in a region of sky roughly corresponding to parts of the modern constellations Virgo and Leo, south of the Big Dipper's bowl.

Key Star Officials

The Taiwei Enclosure contains some of the most politically charged star-names in the Chinese system:

Star Official Chinese Name Role in the Celestial Court
Five Emperor Seats 五帝座 Five throne-stars representing the Five Emperors of mythology — legendary sage-kings who established civilization
Three Dukes 三公 The three highest-ranking ministers, advisors to the Emperor on all matters of state
Nine Ministers 九卿 Nine senior officials managing the major departments of the celestial government
Senior Minister 上相 The Prime Minister — chief administrator of the celestial court
Second Minister 次相 Deputy to the Prime Minister
Censor 御史 The imperial censor who monitors officials and reports misconduct
Left执法 左执法 The Left Law Enforcer — maintaining celestial justice
Right执法 右执法 The Right Law Enforcer — paired with the Left for balanced justice
Crown Prince 太子 A second Crown Prince seat — the heir apparent in the outer court
Honor Guard 郎将 Military commanders who protect the court

The Celestial Bureaucracy in Action

What makes the Taiwei Enclosure fascinating is its detail. The Chinese did not simply label a few bright stars and call it a court — they assigned specific governmental roles to dozens of stars, creating a complete bureaucratic structure. The Five Emperor Seats (五帝座) are particularly significant: they represent the legendary Five Emperors (五帝) — the Yellow Emperor, Zhuanxu, Emperor Ku, Emperor Yao, and Emperor Shun — who, in Chinese mythology, were sage-kings that established the foundations of civilization. Their presence in the court enclosure suggests that the celestial government is not merely a copy of earthly politics, but its original template.

The Three Dukes (三公) and Nine Ministers (九卿) directly mirror the highest echelons of the Chinese imperial bureaucracy. In the Han Dynasty, the Three Dukes were the three most powerful officials in the empire — the Chancellor, the Imperial Secretary, and the Grand Commandant. The Nine Ministers oversaw the major government departments. By naming stars after these positions, Chinese astronomers were saying: "The government of heaven is not a metaphor. It is the original, of which earthly government is the copy."

Heavenly Market Enclosure (天市垣) — The Marketplace

The Heavenly Market Enclosure (天市垣, Tiānshì Yuán) is the third and outermost of the Three Enclosures, and in many ways the most surprising. While the Purple Forbidden Enclosure represents imperial power and the Taiwei Enclosure represents government administration, the Heavenly Market Enclosure represents something altogether different: commerce, trade, and the daily life of ordinary people.

Location and Character

The Heavenly Market Enclosure is located southeast of the Purple Forbidden Enclosure, in a region of sky that roughly corresponds to parts of the modern constellations Ophiuchus, Hercules, and Serpens. Its position — farther from the pole and closer to the horizon — is symbolically appropriate: the marketplace is the domain of the people, not the emperor. It is more "earthly" in character, more connected to the human world of buying, selling, and daily commerce.

Key Star Officials

The stars of the Heavenly Market Enclosure bear names that reflect commercial and civilian life:

Star Official Chinese Name Role in the Cosmic Marketplace
Emperor Seat 帝座 A secondary emperor seat — the Emperor's presence in the marketplace, ensuring order
Marquis The Marquis who oversees the market — a feudal lord administering the trading district
Chariot Market 车肆 The chariot marketplace — where vehicles and transport goods are traded
Textile Office 帛度 The bureau of textiles — silk, cloth, and fabric trade
Scales The weighing scales — for measuring goods in the market
Celestial Rice 天米 The rice granary — food supply for the celestial city
Celestial Dog 天狗 A guardian figure protecting the marketplace
Woman's Bed 女床 Domestic life represented in the market district
Market Tower 市楼 The market administration building — where market rules are posted
Son Representing the younger generation and family continuity

A Market Among the Stars

The Heavenly Market Enclosure reveals something profound about the Chinese cosmic worldview. Unlike many other ancient civilizations, which reserved their celestial mythology for gods and heroes, the Chinese included ordinary commerce in their star system. There are stars named after market goods — textiles, grain, chariots. There are stars for market administrators and weighing scales. This reflects the Confucian ideal that a well-ordered society includes not just rulers and scholars, but merchants, farmers, and artisans. The cosmos is complete only when it includes all of human life.

The naming of stars after the twenty-eight ancient Chinese states is also noteworthy. Many of the stars in the Heavenly Market Enclosure wall are named after feudal states of the Zhou Dynasty — Qi (齐), Chu (楚), Song (宋), Zhao (赵), Wei (魏), Han (韩), Yan (燕), and others. This further emphasizes the political-geographical nature of the Chinese star system: the sky is not just a government, it is a map of the Chinese world.

🌏 States of the Wall

The wall-stars of the Heavenly Market Enclosure are named after the major feudal states of the Zhou Dynasty (1046–256 BCE), including 宋 (Song), 燕 (Yan), 赵 (Zhao), 魏 (Wei), 齐 (Qi), 楚 (Chu), 秦 (Qin), 郑 (Zheng), and others. This encodes the political geography of ancient China directly into the sky, making the Heavenly Market Enclosure a celestial atlas of the Zhou world.

Three Enclosures & Chinese Political Cosmology

The Three Enclosures are not merely a system of star-naming — they are a complete political philosophy projected onto the heavens. Understanding this system is essential for grasping why Chinese emperors took astronomy so seriously, and why the imperial astronomical bureau was one of the most sensitive and closely guarded institutions in the Chinese government.

Heaven and Earth as Mirror

In Chinese cosmological thought, the relationship between heaven and earth is not one of analogy but of resonance (感应, gǎnyìng). The patterns of the heavens do not merely resemble earthly governance — they govern it. When a star in the Taiwei Enclosure brightens or dims, it signals something about the corresponding official on earth. When an anomaly appears in the Purple Forbidden Enclosure, it is a direct message from Heaven to the Emperor. This is not astrology in the Western sense — it is political cosmology, a system in which the sky is the ultimate source of political authority and legitimacy.

This is why the Chinese imperial court maintained a dedicated Astronomical Bureau (司天监 or 钦天监) staffed with professional astronomers whose job was to observe the sky every night, record all phenomena, and interpret their political significance. Unauthorized private astronomy was, at various points in Chinese history, a capital offense. The sky belonged to the Emperor, and reading it without permission was an act of political subversion.

The Mandate of Heaven Written in Stars

The concept of the Mandate of Heaven (天命) was not merely a philosophical abstraction — it was grounded in observable celestial phenomena. A new dynasty's legitimacy was confirmed by auspicious signs in the sky (comets, eclipses at the right moment, favorable planetary alignments), and a declining dynasty was warned by celestial omens (unusual star movements, eclipses at inauspicious times). The Three Enclosures were the primary theater for these cosmic communications: anomalies in the Purple Forbidden Enclosure were messages to the Emperor directly, while changes in the Taiwei Enclosure concerned his ministers, and disturbances in the Heavenly Market Enclosure affected the common people.

Not Astrology — Political Philosophy

It is crucial to distinguish the Three Enclosure system from Western astrology. Western astrology focuses on individual fate — your personality, your love life, your career prospects based on the position of the Sun at your birth. The Chinese Three Enclosure system focuses on collective governance — the health of the state, the legitimacy of the ruler, the harmony between heaven and human society. When a Chinese astronomer observed a "guest star" (nova or supernova) appearing within the Purple Forbidden Enclosure, he did not ask "What does this mean for John Smith's love life?" He asked "What is Heaven saying to the Emperor about the state of the realm?"

This political dimension made Chinese astronomy both more powerful and more dangerous than its Western counterpart. Astronomers who reported bad omens risked the Emperor's wrath; those who failed to report them risked Heaven's punishment. The position of Imperial Astronomer was one of the most perilous in the Chinese bureaucracy — a man who had to tell the most powerful person in the world what the sky was saying about his rule.

为政以德,譬如北辰,居其所而众星拱之。

"He who governs by virtue is like the North Star — it remains in its place while all the other stars revolve around it in homage."
Confucius · 孔子, Analerta (论语), c. 500 BCE

Confucius himself used the Purple Forbidden Enclosure as a metaphor for ideal governance. The North Star does not chase the other stars; it does not need to exert force. It simply is, at the center, and everything else naturally aligns around it. This is the essence of the Chinese political ideal: the virtuous ruler governs not by force but by moral authority, and the cosmos itself demonstrates this principle every night.

Frequently Asked Questions

The Three Enclosures (三垣, Sān Yuán) are three large star areas centered around the North Celestial Pole in ancient Chinese astronomy. They are: the Purple Forbidden Enclosure (紫微垣) representing the Emperor's palace, the Supreme Taiwei Enclosure (太微垣) representing the court where celestial affairs are managed, and the Heavenly Market Enclosure (天市垣) representing the cosmic marketplace. Together they mirror the structure of Chinese imperial governance in the heavens, with each star bearing an official title and bureaucratic role.
The Purple Forbidden Enclosure (紫微垣) is the most important of the Three Enclosures because it surrounds the North Celestial Pole — the point around which all stars appear to revolve. In Chinese cosmology, this made it the celestial equivalent of the Emperor's private palace. The Confucian saying "众星拱北" (all stars pay homage to the North) became a powerful political metaphor for imperial authority. Beijing's Forbidden City (紫禁城) was deliberately designed as an earthly mirror of this stellar enclosure, with its central axis aligned to the pole and its name echoing the celestial palace.
The Three Enclosure system directly mirrors the structure of Chinese imperial government. The Purple Forbidden Enclosure represents the Emperor's inner palace. The Supreme Taiwei Enclosure represents the outer court — housing stars named after the Five Emperor Seats, Three Dukes, Nine Ministers, Censors, and other officials. The Heavenly Market Enclosure represents the marketplace and civilian life. This celestial bureaucracy was the basis of the Mandate of Heaven: the emperor's legitimacy was "written in the stars," and anomalies in these enclosures were interpreted as direct messages from Heaven about the state of governance.
Traditional Chinese star catalogues list approximately 150 stars distributed across the Three Enclosures. The Purple Forbidden Enclosure contains around 37 principal stars, the Supreme Taiwei Enclosure around 20, and the Heavenly Market Enclosure around 19 principal stars, with additional fainter stars in each. Each star is assigned an official title corresponding to a rank in the celestial bureaucracy — from the Emperor Star at the center to market administrators and palace guards at the periphery.