↓ Skip to main content
  1. Divination/

What Is Qi Men Dun Jia?

·1698 words·4 mins
Author
Daokeyi Studio
Daokeyi Studio has studied the Yijing, Qimen Dunjia and Chinese medicine for over a decade, within an orthodox lineage of transmission. Every article is written from scratch and traceable to the classical texts.

Qi Men Dun Jia (奇门遁甲, also romanized qimen dunjia or shortened to qimen) is one of the classical “three cosmic boards” (San Shi, 三式) of Chinese divination, historically nicknamed the “art of emperors” for its association with military strategy. It takes a chosen moment — its solar term, its day and hour in the stem-branch calendar — and lays that moment out as a nine-palace board of stars, doors and deities, from which the tradition reads which timing and which direction favour the matter at hand. This article explains what the system is, where it came from, how the board is built, and how it differs from the Bazi birth chart and the I Ching oracle; to cast one for yourself, use the free Qi Men Dun Jia calculator.

What the name means
#

The four characters name three of the system’s working parts:

  • Qi (奇, “exceptional”) — the Three Nobles (三奇): the stems 乙 yi, 丙 bing and 丁 ding, the three stems treated as the board’s exceptional agents.
  • Men (门, “gates”) — the Eight Gates (八门): eight “doors” stationed around the palaces, each with a fixed temperament — the tradition counts three favourable, three unfavourable and two conditional — through which human action is read.
  • Dun Jia (遁甲, “the hidden Jia”) — 甲 jia, first of the ten heavenly stems, is honoured by being hidden: it never appears on the board directly, but conceals itself beneath the six instruments (六仪, the stems 戊 wu, 己 ji, 庚 geng, 辛 xin, 壬 ren, 癸 gui). Locating where Jia is hiding is part of what fixes each chart.

Put together, the name is a table of contents: the exceptional stems, the eight gates, and the method of the hidden Jia. English glosses such as “Mysterious Gates Escaping Techniques” translate the characters but miss this anatomy — which is why most English-language writing keeps the pinyin.

The three cosmic boards of Chinese divination
#

The San Shi (三式, “three boards”) are the classical top tier of Chinese divination — three board-based systems held to answer different classes of question:

BoardEmphasisThe question it answers
Tai Yi (太乙)cosmic cycles, the fate of statesthe large sweep — eras, reigns, grand trends
Qi Men Dun Jia (奇门遁甲)timing and directionwhen to act, which way to face, how to position
Da Liu Ren (大六壬)human affairsthe course and outcome of one concrete event

All three are board arts: rather than throwing coins or yarrow stalks and reading a hexagram, they compute a chart for the moment asked about, on a plate that turns with time. Qi Men occupies the middle seat — grander in scope than Liu Ren’s single events, more hands-on than Tai Yi’s statecraft — and its speciality is election: choosing the hour and the direction. That is the source of its military halo; the same skill that positions an army can position a negotiation, a journey or a launch. (For the most event-focused of the three, the Da Liu Ren calculator casts a chart in the same spirit.)

How the board is built: nine palaces, four plates
#

The board’s floor is the nine-palace grid (九宫) — the 3×3 arrangement of the Luoshu magic square, each palace fixed to a compass direction. On that floor the chart is stacked in four plates:

PlateContentsGoverns
Earth plate (地盘)the six instruments and three nobles, fixed by the roundthe ground of the matter
Heaven plate (天盘)the nine stars, rotating with timethe external conditions
Man plate (人盘)the eight gatesaction, movement, conduct
Spirit plate (神盘)the eight deitiesthe hidden colouring of events

The hinge is the pair the tradition calls the duty star (值符 zhi fu) and duty door (值使 zhi shi) — the star and the gate on duty for the hour being cast. When the hour changes, the duty pair moves, and the heaven, man and spirit plates rotate with it. This is why Qi Men is called a spacetime model: space is fixed by the nine palaces, time turns the plates stacked on top of it, and the same direction can be favourable this hour and unfavourable the next.

A short history
#

The traditional origin story — retold wherever the art is introduced, though no early text records it as history — credits the Yellow Emperor’s war against Chiyou, when the goddess of the ninth heaven delivered the board to a hard-pressed army; the rounds were said to have numbered 1,080, cut to 72 by Jiang Taigong and to the present 18 by Zhang Liang. Legends aside, the first datable witness is solid: Ge Hong’s Baopuzi (inner chapters, “Deng She” chapter, 4th century CE) already lists dunjia among the techniques a Daoist needed for entering mountains safely — so by the fourth century the term was in working use. The system took its present board shape across the Tang and Song dynasties, and Ming-era treatises — the Dun Jia Yan Yi among them — fixed the casting rules modern practice still follows.

The rules themselves were taught by verse. The best-known mnemonic, the Yanbo Diaosou Ge (烟波钓叟歌, “Song of the Misty Fisherman”; traditionally dated to the Song, author unknown), opens:

阴阳顺逆妙难穷,二至还乡一九宫。

“The forward and backward flow of yin and yang is marvellous past exhausting; at the two solstices it returns home to palaces one and nine.”

That couplet is the casting rule in miniature: from the winter solstice the board runs its yang escape forward from palace one; from the summer solstice it runs yin escape backward from palace nine. It is also why the solar-term calendar, not the civil date, is the clock the board keeps — see the 24 solar terms.

Casting a chart
#

An hour chart is cast in four moves. First, fix the round: the solar term and the day pillar’s place in its ten-day cycle determine a yang or yin escape and a round number from one to nine. Second, lay the earth plate: the six instruments and three nobles are distributed through the palaces — forward in yang rounds, backward in yin rounds. Third, rotate the heaven plate around the duty star. Fourth, place the gates and deities. In the Chai Bu (“split and patch”) convention this site’s calculator follows, the round changes at the exact instant a solar term arrives, so two casts within the same hour can legitimately show different rounds — correct behaviour, not a bug. The Qi Men Dun Jia calculator performs all four steps from a date and time, marks the duty pair, and flags the classical patterns such as Green Dragon Returning Home or the Five Non-Encounters; what those patterns mean for your question remains the diviner’s craft.

Qi Men, Bazi and the I Ching
#

Readers usually arrive knowing one of the neighbouring systems, so the cleanest way to place Qi Men is against them:

BaziI Ching oracleQi Men Dun Jia
Inputthe birth moment, fixed for lifea hexagram thrown for the questionthe hour the question is asked about
Chartfour pillars, eight charactersone hexagram, six linesa nine-palace board that turns hourly
Answersthe person — character, life patternone situation — proceed or notthe moment and the direction — when, and which way

The division of labour in one line: Bazi reads the person, the I Ching reads the event, Qi Men reads the clock and the compass. They are colleagues rather than competitors — a practitioner may know a client’s chart from the Bazi calculator and still cast a Qi Men board to choose the hour to act in.

Common misconceptions
#

  • It is not battle-magic. Novels and television dramatize Qi Men as sorcery that summons weather and soldiers. The divination system is a model that returns judgements of favourable and unfavourable — an auspicious hour for a given direction, not a spell.
  • It is not only for war. Military strategy gave the art its fame, but the traditional question set runs to travel, business, seeking help, illness and finding the lost — any decision with a “when” and a “where” in it.
  • “Highest of the three boards” does not mean “most accurate”. The ranking describes structure and difficulty, not verdict quality. Each art has its jurisdiction: Qi Men is poor at describing a whole life and strong at choosing an hour.
  • Casting is not interpreting. The board is now one click away; the reading is not. Two students can agree completely on a chart’s structure and differ on its verdict — the craft lives in the interpretation.

The closest Western analogue: electional astrology
#

The closest Western handle on Qi Men is not tarot, and not the coin-toss I Ching — it is electional astrology, the branch of Western astrology that picks the best moment to begin something. Both systems ask “when?”, both lay the chosen moment out as a chart, and both read action-readiness from it. (The I Ching’s nearest Western cousin, by contrast, is horary astrology — one question, one chart, one verdict.)

The difference is in the sky. An electional chart is drawn from observed astronomy: where the planets actually stand against the zodiac at the moment chosen. A Qi Men board is computed entirely from the calendar — stems, branches and solar terms arranged on the nine palaces — with no observation of the sky at all. One reads the heavens; the other reads the clock. The shared conviction is the interesting part: that time and direction are chartable, and that choosing them well is half the work of any undertaking.


Related: cast a chart with the Qi Men Dun Jia calculator · back to Divination · Foundations