On this page7
  1. 01Where it sits among the Chinese arts of calculation
  2. 02What the nine palaces are
  3. 03The four layers, and what each one carries
  4. 04How a chart is built
  5. 05Why two charts for the same hour can differ
  6. 06What Qi Men answers, and what it does not
  7. 07Reading one for yourself

What Is Qi Men Dun Jia? The Nine-Palace Method Explained

Qi Men Dun Jia (奇門遁甲) is a Chinese system that lays a single moment of time out as a grid of nine palaces and places four layers of symbols across them: the heavenly stems, the eight gates, the nine stars, and the eight gods. Reading the arrangement describes the structure of a situation rather than its outcome. Where the authority in it sits, where it is under strain, which direction still has room to move.

The name is a compressed description of the mechanism. Qi refers to the three Qi, the stems Yi, Bing, and Ding. Men refers to the eight gates. Dun Jia means the hiding of Jia: the first of the ten heavenly stems, the commander of the set, never appears anywhere on a finished board. Six substitute stems, the six Yi, stand in its place. Count the stems on any completed chart and you come up one short, and that absence is the thing the method is named after.

One feature separates it from most of what English readers meet under the heading of Chinese fortune telling. Nothing in the calculation comes from you. Your birth date, your name, and your history are all absent from it. Two people casting in the same two-hour period on opposite sides of the world receive the same nine palaces. What makes a chart yours is the question you were holding when it was cast, which is why the tradition insists on one matter per chart and treats a second cast on the same question as a refusal to hear the first.

Where it sits among the Chinese arts of calculation

Classical bibliography files Qi Men Dun Jia in a group of three, the 三式, usually rendered as the three styles or the three arts of calculation. The other two are Tai Yi (太乙), which works at the scale of dynasties and long cycles, and Liu Ren (六壬), which works on personal affairs through a twelve-palace layout. Qi Men sits between them, traditionally described as the art of strategy and terrain.

That grouping is worth holding onto, because it explains what Qi Men is for. It is a positional method. It reads a situation the way a general reads ground: what is held, what is exposed, which approach is open and which is blocked. Compare it with the other systems on this site and the division of labour is clear. A birth chart such as BaZi or Zi Wei Dou Shu describes a long arc. A drawn verse answers one question with an image. Qi Men answers a question about position and timing inside a single hour.

The traditional account credits the origin to the Yellow Emperor's campaigns and to his minister Feng Hou, who is said to have condensed an unmanageable set of arrangements into a workable one. Zhuge Liang, the Three Kingdoms strategist, is the figure most often attached to it in popular retellings. Both are attributions carried by the tradition rather than documented history, and any serious treatment presents them that way. What is documented is a long textual line running through the Tang and Song and consolidated in the Ming, by which point the received system had settled into the shape practitioners still use.

What the nine palaces are

The board is a three-by-three grid. Eight of the nine cells carry one of the eight trigrams and the compass direction that goes with it: Kan for north, Kun for southwest, Zhen for east, Xun for southeast, Qian for northwest, Dui for west, Gen for northeast, Li for south. The ninth is the centre, which has a direction of nobody and a special rule about what stands in it.

Two things about the layout surprise most newcomers.

The first is that south sits at the top. Chinese chart diagrams have been drawn south-up since long before north-up maps became the European convention, and the same orientation appears on feng shui compass plates. The practical consequence matters more than the history: the board is a diagram of the eight directions, not a picture of the ground you are standing on. When a palace sends you northeast, you resolve northeast against your actual room with a compass. The corner of the screen that palace happens to occupy tells you nothing.

The second is that the centre palace holds nothing of its own in the hour-chart system. It has no gate and no god, and whatever stem falls there is lodged into the southwest palace for reading. Different schools handle that lodging differently, which is one of the places where two charts for the same hour can legitimately disagree.

The four layers, and what each one carries

A palace is never read on its own. It is read by how its layers agree or pull against each other.

The eight gates are the human layer, the action available in that position: Rest, Life, Harm, Block, View, Death, Alarm, and Open. Their English names are literal translations of the Chinese and are better treated as labels than as verdicts. Death Gate is not a prophecy. It marks stillness, endings, and the kind of matter that is already finished.

The nine stars are the heaven layer, the quality of the influence sitting there: Canopy, Burden, Surge, Counsel, Brilliance, Ailment, Pillar, Heart, and the Center Bird, which belongs to the centre and travels with the lodging rule.

The eight gods are the hidden layer, the disposition around the matter: Duty Chief, Coiling Snake, Great Yin, Six Harmonies, White Tiger, Dark Warrior, Nine Earth, and Nine Heaven.

Under all three stand the heavenly stems themselves, and their arrangement is what the whole calculation exists to produce.

How a chart is built

Five inputs, in order, and the whole thing is arithmetic.

The hour comes first. The traditional day divides into twelve two-hour periods, and the period you are in, together with the day it falls on, is the entire input. The solar term comes second: the year divides into twenty-four terms of roughly fifteen days each, and each term divides again into three five-day stretches called the upper, middle, and lower periods.

Third comes the half of the year. From the winter solstice around to the summer solstice the stems are laid clockwise, the yang arrangement, read as a season of opening out. From the summer solstice back around, counterclockwise, the yin arrangement, read as a season of drawing in.

Term, period, and direction together select one of nine numbered arrangements. Nine of them in the yang half and nine in the yin half give eighteen in all, and paired against the sixty stem-and-branch combinations they produce the 1,080 charts of the received hour-chart cycle.

Fourth, Jia hides. The sixty pairs of stem and branch run in six cycles of ten, and the pair that opens the current cycle decides which of the six Yi covers Jia for that stretch.

Fifth, the duty pair rotates. The star on duty for the hour, the Duty Chief, and the gate on duty, the Duty Envoy, both move to the palace of the hour's stem, and the remaining stars and gates follow them around the board. The Duty Chief marks where the matter's authority sits. The Duty Envoy is the hand that actually moves.

Every step is table lookup. There is no judgment in the casting, which is why the same two-hour period always returns the same board and why a chart can be checked against an independent implementation. Cast one for the current hour and the derivation is shown alongside it.

Why two charts for the same hour can differ

This is the question that sends most beginners in circles, so it is worth answering plainly. Qi Men has schools, and they disagree about real things.

The first split is the scale of the chart. Hour charts, day charts, month charts, and year charts all exist. The hour chart is by far the most used and is what almost every online caster produces.

The second split is how the board moves. In the rotating method the nine stars travel around the palaces as a set, keeping their relative order. In the flying method they jump between palaces by a counting rule. Both are old, and neither is a corruption of the other.

The third split is how the sixty-day cycle is fitted to the solar terms, which never line up evenly. The intercalation method inserts an extra stretch to absorb the drift. The split-and-supplement method redistributes it instead. Charts built the two ways agree most of the time and part company near the seams.

A fourth division, more recent, separates the classical systems from the modern yin-board schools that have grown popular in the last few decades and read the same symbols against a different set of correspondences.

The charts on this site use the hour-chart rotating method with intercalation, which is the most widely used combination. Knowing which system a chart came from matters more than knowing which one is right, because comparing a rotating chart against a flying one and concluding that somebody made a mistake is the most common way to waste an afternoon.

What Qi Men answers, and what it does not

It answers questions with a position in them. Whether to move on something now or wait out the hour. Which direction to approach a matter from. Where the pressure in a situation is actually sitting, as opposed to where it feels like it is sitting.

It answers badly when the question has no structure to read. Broad questions about a whole life, about character, or about a year get a chart that is technically valid and practically useless, because an hour chart describes an hour. Those belong to a birth chart. It also answers badly when the question is really two questions, because the reading then blurs across both.

It gives no yes and no no. Readers who want a binary answer are better served by a method built to give one, and jiaobei moon blocks are the traditional instrument for exactly that. Readers who want the situation opened into an image rather than a structure are better served by a drawn verse, which is what the Wong Tai Sin sticks do.

The line worth keeping is the one the tradition itself draws. A chart is a description of a moment, and a description is not a forecast. What you do with an accurate description of where you are standing is still your problem.

Reading one for yourself

The fastest way past the vocabulary is to have a real board in front of you while you learn the terms, rather than working through a glossary first. The next piece in this cluster walks through the order a chart is actually read in, starting from the stress markers rather than from palace one: how to read a Qi Men Dun Jia chart.

If you would rather see where Qi Men sits against the wider field before going deeper, the survey of ancient Chinese divination methods covers the whole family, and divination and fortune telling are worth separating before you decide which one you are actually looking for.

Frequently asked questions

What does Qi Men Dun Jia mean in English?

The three parts of the name describe the mechanism. Qi means the three Qi, the heavenly stems Yi, Bing, and Ding. Men means the eight gates. Dun Jia means the hiding of Jia, the first heavenly stem, which is absent from every finished chart and covered by six substitute stems. A loose English rendering is the mysterious gates and the hidden Jia, though no translation carries all three parts cleanly.

Is Qi Men Dun Jia the same as feng shui?

No. Both use the eight directions and the nine palaces, which is why the diagrams look alike, but they answer different questions. Feng shui reads a fixed space and asks how to arrange it. Qi Men reads a moment in time and asks what is available in it. A feng shui recommendation holds for as long as the room stays the same; a Qi Men chart holds for two hours.

Do I need my birth date to cast a Qi Men chart?

No. The calculation takes the hour and the day and nothing else, so everyone casting in the same two-hour period gets the same board anywhere in the world. This is the clearest structural difference from BaZi and Zi Wei Dou Shu, which are built entirely from a birth moment. What individualises a Qi Men chart is the question held while casting it.

Why do different Qi Men calculators give different charts?

Because the schools genuinely differ. The main divisions are hour charts against day charts, the rotating board against the flying board, and intercalation against split-and-supplement for fitting the sixty-day cycle to the solar terms. Charts from different schools agree much of the time and separate near the seasonal seams. Check which system a calculator uses before concluding one of them is wrong.

Is Qi Men Dun Jia hard to learn?

The casting is arithmetic and can be handed to a program. The reading is where the difficulty sits, because a palace is read by how its gate, star, god, and stems agree or pull against each other, and there are four layers over nine positions. Most learners get further by reading real charts against situations they already know the outcome of than by memorising the tables first.

What is the Duty Chief and the Duty Envoy?

They are the two symbols on duty for the hour. The Duty Chief is the star on duty, and its palace is where the matter's authority sits. The Duty Envoy is the gate on duty, and it is the hand that moves. Both rotate to the palace of the hour's stem, and the rest of the stars and gates follow them around the board, which is why the chart changes every two hours.

Is Qi Men Dun Jia real?

The calculation is real in the sense that it is fully deterministic and reproducible: the same hour always yields the same chart, and any implementation can be checked against any other. Whether the chart predicts anything is a separate question that no arithmetic can settle. Treated as a structured way of laying out a situation and looking at it from an angle you did not choose, it is useful. Treated as a forecast, it is a claim nobody has demonstrated.

Keep reading

Draw a fortune stick now →