Qimen Dunjia works as a computed symbolic model, not revelation: it encodes a single moment into a nine-palace grid using a fixed alphabet of symbols (image), a countable structure (number), and the rules of yin-yang and the five elements (principle), then applies the result to one concrete question (prediction). This article explains that model — and what has to be true about the world for it to work at all.
The Question Chart: a Snapshot of One Moment
Qimen Dunjia can be cast for the moment of birth to read a whole life, or for the moment a question is asked to judge one matter. In practice it is used far more often for questions, and this article is about the question chart. A question chart shows the energy structure of a single moment, the instant you asked, laid out on a nine-palace grid. That is what makes it useful: it is a decision input, a structured second opinion on where a matter stands right now, not a verdict about how it must end. (How Qimen compares with BaZi is covered separately.)
Which raises the obvious question, and it deserves to go first: why should a snapshot of one moment tell you anything true? The short answer is that behind every Qimen chart sits a model that took Chinese thinkers thousands of years to build — a fixed set of symbols for reality, a way of turning time and space into numbers, and a theory of how those numbers move. This article is about that model. Not how to read a chart line by line, but why the thing is built the way it is, and what has to be true about the world for it to work at all.
Where Qimen Stands: the "King of the Arts"
Qimen didn't appear out of nowhere. It is one of a whole family of Chinese divinatory arts — Taiyi (太乙), Liuren (六壬) and Qimen among them — that all rest on the same intellectual foundation: the trigrams of the I Ching, the He Tu and Luo Shu diagrams, the ten heavenly stems and twelve earthly branches, and the theory of yin-yang and the five elements. Different tools, one shared alphabet. Historians can trace this family a very long way back; a Han-dynasty "Taiyi nine-palace divination board" was even unearthed at Shuanggudui in Anhui, physical proof that people were computing with exactly these grids two thousand years ago. (How Qimen itself travelled from military art to civil practice is told in its origins and history.)
Within that family, Qimen has long carried the highest reputation. The editors of the imperial Complete Library of the Four Treasuries judged it the most reasoned and coherent of all the technical arts (于方技之中,最有理致). That reputation rests on scope: Qimen pulls the I Ching, astronomy, the calendar and yin-yang five-element theory into one method instead of picking one of them. Whatever you make of such praise, it points to ambition: Qimen tries to hold more of the world in one grid than its cousins do.
"Of all the technical arts, this one is the most reasoned and coherent."
于方技之中,最有理致。
That reputation has a name of its own: later generations called Qimen the "emperor's art" (帝王之术). The title rests on three concrete grounds:
- It is a synthesis. One method works seven symbolic tool sets at once — the trigrams, the nine palaces, the heavenly stems, the earthly branches, the Nine Stars, the Eight Doors and the Eight Deities — where most other arts took one or two of those tools and developed them into systems of their own.
- It is the one system that fully weds time and space. The nine-palace grid is itself a map of the eight directions, and the twenty-four solar terms are folded into the same grid — so a single chart carries both dimensions at once.
- Emperors took it seriously. Kangxi studied Qimen himself; imperially commissioned editions such as the Yuding Qimen Baojian (《御定奇门宝鉴》) survive, and palace collections hold Qimen volumes annotated in an emperor's own vermilion brush.
Symbol, Number, Principle, Prediction
So what is a Qimen chart, mechanically? It is a model — and every Yi-based model, from the trigrams to Qimen, is assembled from the same four moves: image, number, principle, prediction (象、数、理、占). You take symbols that stand for things (image), give them a countable structure of palaces and numbers (number), connect them with rules of generation and control (principle), and apply the result to one real question (prediction). Nothing here is drawn at random. The same moment, computed the same way, always produces the same chart.
This is the part that resists mystification. A Qimen chart is calculated, not felt. And the calculation compresses something huge. The endless variety of moments in a year is reduced, through the solar terms and the swing of yin and yang, to just eighteen base configurations — nine yin ju and nine yang ju. Eighteen structures, standing in for the whole turning year.
The Part Mirrors the Whole
Here is the deepest assumption in the whole system, the one that makes a "reading" possible at all: the part mirrors the whole. A Qimen chart never contains your actual situation. It contains a handful of symbols in nine little boxes. For that to mean anything, a small piece of the pattern has to carry information about the larger reality it was drawn from — the way, in old Chinese thought, "a single drop of water can reflect the sun."
This intuition isn't unique to Qimen; it runs through the whole tradition, and nowhere more plainly than in Chinese medicine. Three of its four diagnostic methods work exactly this way — a doctor reads the color of your tongue or the beat at three points on your wrist and infers the state of organs no eye can see. Ear and foot maps take it further: one ear, one sole, treated as an image of the entire body. The same move, over and over: read the whole from the part.
The chart earns this in two ways at once. It is a complete moment: the nine-palace grid Qimen inherits from the Luo Shu maps geography, season, hour of the day and even family roles onto one figure, so a single instant is captured whole. And each palace within it mirrors the larger situation. Put those together and you get the practical payoff — the reason one box on the grid can represent one matter in your life. That single representative symbol has a name, the Yong Shen, and choosing it correctly is the first real act of reading a chart. The mathematics of why that grid is so balanced — every direction summing to fifteen — is a story on its own, told in why every Qimen chart is a magic square.
"其称名也小,其取类也大" — the names it uses are small, but the categories they reach are vast. A handful of symbols, deliberately chosen to stand for far more than themselves.
Yin-Yang and the Five Elements: the Engine
A model needs more than symbols; it needs motion. In Qimen, the motion comes from two coupled ideas that the tradition treats as inseparable: yin-yang and the five elements. Yin and yang supply the rhythm. From the winter solstice a single line of yang is born and climbs to its peak at the summer solstice; then a line of yin appears, grows, and the whole cycle turns back. That endless swing is not decoration — it is why Qimen splits into a yin track and a yang track, and why the very same question, asked in a different season, can produce a different chart.
Yin-yang tells the chart when; the five elements tell it how things treat each other. Together they turn a static grid into something that rises, falls, helps and harms.
If yin-yang is the clock, the five elements are the chemistry. Wood, fire, earth, metal and water each generate one another in a cycle and control one another across it, and that single web of generation and control is what decides whether a door helps or fights the palace it lands in, whether a symbol is strong or drained. Nearly every judgment in a reading traces back to it. Because it carries so much weight, the five-element system gets its own full treatment in the five elements in Qimen Dunjia; here it is enough to see its role — the engine that makes the good-and-bad of a chart move.
How to Actually Look at a Chart
Put the pieces together and the worldview comes into focus. A Qimen chart is:
- a computed snapshot of one moment — the instant you asked;
- written in a fixed alphabet of symbols — doors, stars, deities, stems;
- structured as a balanced grid — the Luoshu nine palaces;
- driven by yin-yang and the five elements;
- readable because each part mirrors the whole.
That is a model of a situation — not a decree about your life. Everything the chart "says" is a description of forces in play at the instant you asked, which is exactly why it works best as an input to your own judgment rather than a replacement for it.
From here, the tradition gets concrete. The moment is described across four stacked layers — doors, stars, stems and deities — and learning to read them in order is the craft itself; that is the subject of how to read a Qimen chart, while how charts are built shows where the eighteen ju come from. This page was only the ground floor: the reasons the building stands.
QimenIt computes your chart the way this whole tradition intends — true solar time, the right ju, every symbol in its palace — then reads it as a decision input, not a decree. Cast a free chart and see the model at work.
Cast a Free Chart →Frequently Asked Questions
Why does Qimen Dunjia work?
A Qimen chart is a computed symbolic model, assembled in four moves — image, number, principle, prediction (象数理占): symbols stand for real things, the nine palaces make time countable, yin-yang and the five elements connect them, and the result is applied to one concrete question. Its deepest assumption is that the part mirrors the whole.
Is a Qimen reading a verdict about my fate?
No. A question chart reflects where one matter stands at the moment you asked. It is a decision input, a structured second opinion on that matter, not a decree about how it must end.
What are the Three Rites (三式)?
Taiyi (太乙), Qimen Dunjia, and Liuren (六壬). A classical saying assigns them heaven, earth, and humanity respectively. All three share one symbolic foundation: the I Ching trigrams, the He Tu and Luo Shu diagrams, the stems and branches, and yin-yang five-element theory.
Is a Qimen chart random?
No. The same moment, computed the same way, always produces the same chart. Through the solar terms and the swing of yin and yang, the whole year is compressed into eighteen base configurations — nine yin ju and nine yang ju.