Skip to main content
Encyclopaedia

Qi Men Dun Jia — The Mysterious Gates

The supreme strategic divination system of ancient China, used by generals, emperors, and sages to master the forces of time and space

What Is Qi Men Dun Jia?

Qi Men Dun Jia (奇門遁甲, Qí Mén Dùn Jiǎ) is one of the Three Great Divination Arts (三式) of classical Chinese metaphysics, alongside Tai Yi Shen Shu and Da Liu Ren. Its name translates roughly to "Mysterious Gates Escaping Techniques" — Qi refers to the three special stems (Yi, Bing, Ding), Men to the eight gates, and Dun Jia to the hiding of the Jia stem within the six Yi stems.

The system creates a multi-layered chart that maps cosmic energy across nine palaces (based on the Luoshu magic square), integrating Heavenly Stems, Earthly Branches, eight gates, nine stars, and eight spirits. By reading the interactions between these layers at any given moment, a practitioner can assess the quality of time and direction for any endeavour.

Historical Origins

Chinese tradition attributes Qi Men Dun Jia to the Yellow Emperor (黃帝), who reportedly used it to defeat the warlord Chi You at the Battle of Zhuolu. The legendary sage Jiang Ziya (姜子牙) of the Zhou Dynasty is said to have refined it from 4,320 configurations down to 1,080. Zhang Liang (張良), advisor to the founding emperor of the Han Dynasty, further reduced it to the 540 charts (or ju, ) used in modern practice.

Historically verifiable texts emerge from the Warring States period. Fragments appear in bamboo-slip manuscripts from Mawangdui (c. 168 BCE). By the Tang Dynasty, Qi Men Dun Jia had been systematised into the form recognisable today, with Li Chunfeng producing authoritative compilations. During the Ming and Qing Dynasties, it was classified as a restricted military art, underscoring its strategic significance.

Structure of the Chart

A Qi Men chart (奇門盤) consists of multiple rotating layers superimposed on the nine-palace grid:

  • Earth Plate (地盤) — The fixed base representing the Luoshu magic square. Each palace corresponds to a direction, trigram, and elemental quality.
  • Heaven Plate (天盤) — Nine stars (九星) rotate atop the Earth Plate. These represent celestial influence and are named after stars of the Big Dipper.
  • Human Plate (人盤) — The eight gates (八門) occupy this layer, representing human activity and intention.
  • Spirit Plate (神盤) — Eight spirits or deities (八神) add a further dimension of cosmic influence.
  • Stems Layer — The ten Heavenly Stems are distributed across palaces, with the three Qi (Yi, Bing, Ding) representing beneficial forces and the six Yi representing hidden Jia positions.

The Eight Gates (八門)

The gates are the most consulted layer for practical decision-making. Each carries a distinct energy:

GateChineseElementQualityApplication
Open開門 KāiménMetalAuspiciousBusiness ventures, career advancement, official matters
Rest休門 XiūménWaterAuspiciousRecovery, relaxation, seeking advice, covert action
Life生門 ShēngménEarthAuspiciousWealth, investment, property, starting enterprises
Harm傷門 ShāngménWoodNeutralCompetitive situations, legal disputes, debt collection
Delusion杜門 DùménWoodNeutralHiding, avoidance, spiritual practice, retreat
Scenery景門 JǐngménFireNeutralExaminations, documents, intellectual pursuits, marketing
Death死門 SǐménEarthInauspiciousFunerals, hunting, demolition — avoid for most activities
Fear驚門 JīngménMetalInauspiciousUnexpected events, litigation defence — generally unfavourable

The Nine Stars (九星)

Derived from the nine stars of the Big Dipper constellation (北斗九星), these celestial markers indicate the nature of heavenly influence on each palace:

  • Tian Peng (天蓬) — Associated with Water. Powerful but potentially dangerous energy.
  • Tian Ren (天任) — Associated with Earth. Steady, constructive energy for building and accumulation.
  • Tian Chong (天衝) — Associated with Wood. Dynamic, initiating energy suitable for new ventures.
  • Tian Fu (天輔) — Associated with Wood. Scholarly, refined energy for learning and cultural pursuits.
  • Tian Qin (天禽) — Associated with Earth. Central, harmonising energy in the middle palace.
  • Tian Xin (天心) — Associated with Metal. Decisive, leadership energy for authority and medical matters.
  • Tian Zhu (天柱) — Associated with Metal. Solitary energy, sometimes obstructive but useful for defence.
  • Tian Ying (天英) — Associated with Fire. Brilliant but unstable, connected to fame and spectacle.
  • Tian Rui (天芮) — Associated with Earth. Often problematic, linked to illness and obstacles.

Military Applications

Qi Men Dun Jia was classified as a military secret for much of Chinese history. Generals used it to determine optimal attack timing, troop positioning, and the most auspicious directional approach. The legendary strategist Zhuge Liang (諸葛亮) of the Three Kingdoms period is traditionally credited with mastering Qi Men to achieve seemingly impossible tactical victories.

The system's military logic is straightforward: by understanding the temporal-spatial distribution of cosmic forces, a commander could position troops to harness favourable energy while forcing opponents into unfavourable configurations. The rotating chart essentially served as a cosmic battlefield map overlaid on the physical terrain.

Calculation Methods

Two primary methods exist for setting up a Qi Men chart:

  • Pai Pan (排盤) — Calendar Method: The chart is derived from the precise date and time using the sexagenary cycle, solar terms, and the three cycles (upper, middle, lower) of each solar term. This produces 1,080 distinct chart configurations (540 for yang periods, 540 for yin).
  • Huo Pan (活盤) — Casting Method: The chart is set up at the moment a question arises or an event occurs, similar to horary divination. This method is more intuitive and emphasises the synchronicity of the moment of inquiry.

Both methods require precise knowledge of the Chinese lunisolar calendar, the 24 solar terms, and the sexagenary cycle that also underpins BaZi analysis.

Modern Applications

Today, Qi Men Dun Jia has expanded beyond military strategy into diverse practical domains:

  • Business Strategy — Timing product launches, negotiations, and investment decisions
  • Date Selection — Choosing auspicious dates for weddings, openings, and major life events
  • Directional Feng Shui — Using specific directional activations at calculated times for short-term feng shui enhancements
  • Forecasting — Reading current charts for market trends and geopolitical developments
  • Personal Divination — Answering specific questions about relationships, career moves, and health decisions

The system integrates naturally with other Chinese metaphysical arts. Practitioners often combine Qi Men readings with BaZi charts for personal context, feng shui analysis for spatial context, and Five Element theory for elemental dynamics.

Frequently Asked Questions

Qi Men Dun Jia (奇門遁甲) is an ancient Chinese divination and strategic planning system that maps cosmic energy across nine palaces, eight gates, nine stars, and eight spirits to determine optimal timing and direction for action.

The Eight Gates are: Open (開), Rest (休), Life (生), Harm (傷), Delusion (杜), Scenery (景), Death (死), and Fear (驚). The first three are considered auspicious, the middle two neutral, and the last two inauspicious for most activities.

Tradition attributes it to the Yellow Emperor over 4,000 years ago. Historically verifiable evidence dates to the Warring States period (475-221 BCE), with systematic codification during the Han and Tang Dynasties.

No. Feng shui analyses the fixed spatial energy of land and structures. Qi Men Dun Jia is primarily a temporal system that maps changing cosmic forces across time. They share Five Element theory and can be used together, but serve different purposes.

Modern practitioners use it for business strategy, date selection, directional feng shui enhancements, investment timing, negotiations, and personal decision-making. The ancient military applications have been adapted to corporate and competitive contexts.

Discussion

Sign in with GitHub to join the conversation.

Stay Informed

The Zodiac Dispatch

Weekly insights on Chinese astrology, feng shui wisdom, and cultural heritage — delivered to your inbox.