What is Qi Men Dun Jia (Qimen Dunjia)?
An ancient Chinese art, roughly 4,000 years old, that combines the hourly chart and direction to reveal the optimal moment and heading for an action.
Once the "emperor's study" said to have been used by the strategist Zhuge Liang at the Battle of Red Cliffs — explained here for beginners, from its history and mechanics to how to use it.
What Qi Men Dun Jia means
Qi Men Dun Jia (Chinese: 奇門遁甲; also written Qimen Dunjia or QMDJ) breaks down into two ideas:
- Qi Men (奇門): "Qi" means special or extraordinary, and "Men" means a gate — the entrance to an opportunity. Together: finding the special gate, the right opening.
- Dun Jia (遁甲): "Dun" means to hide or escape, and "Jia" is the first of the ten Heavenly Stems, representing yourself. Together: protecting yourself and avoiding misfortune.
Put together, Qi Men Dun Jia is the art of opening the gate of opportunity at the optimal time while avoiding harm and protecting yourself.
Where ordinary fortune-telling passively predicts the future, Qi Men Dun Jia is a strategic technique that calculates when and in which direction to act to shift circumstances in your favor.
The history of Qi Men Dun Jia
The origins of Qi Men Dun Jia are traced back some 4,000 years to the era of the Yellow Emperor (Huang Di) in ancient China. It is said to derive from an art the Yellow Emperor received from a heavenly maiden as he prepared for his war against Chi You.
Because it was considered so powerful, Qi Men Dun Jia was later monopolized by successive emperors as the "emperor's study" and forbidden to the public. Only the emperor and his closest military strategists were permitted to use it.
Zhuge Liang and Qi Men Dun Jia
The most famous practitioner of Qi Men Dun Jia was Zhuge Liang (Zhuge Kongming), the genius strategist of the Three Kingdoms era. It is said that his prediction of the southeastern wind at the Battle of Red Cliffs, which broke Cao Cao's vast army, was made through Qi Men Dun Jia. The three factors of Sun Tzu's "the timing of Heaven, the advantage of Earth, and the harmony of People" are exactly what Qi Men Dun Jia analyzes numerically.
Until recently, only the powerful few who could hire a specialist consultant enjoyed the benefits of Qi Men Dun Jia. Today, an app puts it in anyone's hands, on a single smartphone.
How it works — Heaven, Earth and Human Plates
Qi Men Dun Jia sees the world as a space where three layers (plates) — Heaven, Earth and Human — overlap. As time passes, the three plates rotate and the energy of each direction changes moment by moment.
Heaven Plate — Nine Stars
Cosmic, celestial energy. Shows the current of the times and the overall direction of fortune.
Earth Plate — Eight Gates
Physical, environmental energy. The single most important element in deciding whether an action is auspicious.
Human Plate — Eight Spirits
Mental and psychological energy. Influences relationships and states of mind.
Where the three plates intersect, a "formation" (Ge Ju) is produced — the decisive pattern of good and bad fortune. Even when an auspicious gate and the Three Wonders line up, a hidden inauspicious formation can change the outcome entirely.
What the Hourly Chart is
The Hourly Chart (Shi Pan) is the Qi Men Dun Jia chart that changes every two hours. It is used for short time frames — today's meeting, a trip, a contract, an interview — to judge when to move and which direction to head.
In Qi Men Dun Jia, the same destination produces a different combination of Eight Gates, Nine Stars and formations depending on the time. So checking the hourly chart lets you do more than find an auspicious direction: you can compare the time windows that suit your goal against the ones to avoid.
The Eight Gates (Ba Men)
The Eight Gates are the most important judging factor in Qi Men Dun Jia — eight "gates" placed across the eight directions. They strongly determine the success or failure of an action.
Auspicious gates — the three favorable gates
- Open Gate (Kaimon): best for starting a business, new challenges and negotiations. The supreme auspicious gate, favorable for almost everything.
- Rest Gate (Kyumon): suited to rest, negotiation and harmony in relationships. Matters proceed calmly.
- Life Gate (Seimon): suited to investment, real estate and wealth. Signifies growth and development.
Gates requiring caution — the five gates to watch
- Harm Gate (Shomon): conflict and collision arise easily. Can be favorable for litigation or competition.
- Block Gate (Tomon): matters stagnate. Suited to keeping secrets or staying hidden.
- View Gate (Keimon): glamorous on the surface but lacking substance. Sometimes auspicious for exams and study.
- Death Gate (Shimon): signifies endings. Suited to funerary matters but ill-suited to new beginnings.
- Shock Gate (Kyomon): unexpected events arise easily. Beware disputes and quarrels.
Judging fortune by the Eight Gates alone is risky, however. Depending on the combination with the Nine Stars and formations, an auspicious gate can turn inauspicious, and an inauspicious gate can become conditionally favorable. The Strategic Compass Pro app evaluates all of these automatically.
The Nine Stars (Jiu Xing)
The Nine Stars are the nine stars placed on the Heaven Plate, representing the quality of cosmic energy. Where the Eight Gates show "what to do," the Nine Stars show "the flow of force behind it."
- Tian Xin, Tian Ren, Tian Fu: greatly auspicious stars. When they overlap with an auspicious gate, the placement is at its best.
- Tian Chong, Tian Qin, Tian Ying: moderately auspicious to neutral. They can turn auspicious or inauspicious depending on the situation.
- Tian Peng, Tian Rui, Tian Zhu: inauspicious stars. When they overlap with an auspicious gate, they weaken its favorable effect.
Formations (Ge Ju)
A formation (Ge Ju) is an auspicious or inauspicious pattern produced by the combination of the Heaven Plate stem and the Earth Plate stem. It is easily overlooked in Qi Men Dun Jia readings, yet it is in fact a very important factor.
To use an analogy: even if the weather forecast says "clear," a strong-wind warning means you should still be careful going out — a formation is that "strong-wind warning."
Representative auspicious formations
- Yi Qi De Shi: the Yi Wonder (the wonder of the day) is favorably placed. Success comes through flexible response.
- Bing Qi De Shi: the Bing Wonder (the wonder of the moon) is favorably placed. Success comes through commanding presence.
- Ding Qi De Shi: the Ding Wonder (the wonder of the stars) is favorably placed. Success comes through wisdom and strategy.
Representative inauspicious formations
- Da Ge: Geng on the Heaven Plate, Gui on the Earth Plate. The heaviest inauspicious formation; you meet serious obstacles.
- Bei Ge: matters tend to backfire; plans go awry.
- Fei Gong Ge: unpredictable situations occur.
Formations have an enormous number of combinations, and manual calculation invites oversights. Strategic Compass Pro evaluates formations automatically, so it never misses hidden risks behind a surface reading of good or bad fortune.
The Ming Pan (natal chart)
The Ming Pan is the Qi Men Dun Jia chart of the exact moment you were born. Calculated from your date, time and place of birth, it represents the energy pattern unique to you.
Ordinary Qi Men Dun Jia reads "the chart of the present moment," but once you set a Ming Pan, the app can judge fortune that is specific to you by factoring in how it interacts with the hourly chart. Rather than a result shared by everyone, it is a reading optimized for you alone.
What the Ming Pan reveals
- Your natal palace: the nature you were born with and the directions you are strong in.
- Your placed Eight Gates and Nine Stars: the tendencies, strengths and weaknesses of your life.
- Interaction with the hourly chart: judging whether a particular time or direction is especially good or bad "for you."
Strategic Compass Pro creates the Ming Pan by automatically computing True Solar Time from the latitude and longitude of your birthplace. Creating a Ming Pan requires no sign-up and can be tried for free — start by checking your own natal chart.
How it differs from Feng Shui and BaZi
"How is Qi Men Dun Jia different from Feng Shui or BaZi?" — a common question. The defining feature of Qi Men Dun Jia is that it combines "time" and "direction" and changes your fortune through action.
| System | Main focus | Characteristics |
|---|---|---|
| Qi Men Dun Jia | Time + Direction | Uses a chart that changes every two hours to give concrete instructions on "when and where to act." The most active. |
| Feng Shui | Space / Environment | Reads the energy of buildings and landforms to improve the environment of a home or office. |
| Four Pillars (BaZi) | Birth date & time | Reads character, fortune and luck cycles from the Heavenly Stems and Earthly Branches of the moment of birth. Strong for self-understanding and compatibility. |
| I Ching (Zhou Yi) | Symbols / hexagrams | Reads the essence of a situation and its direction of change from the 64 hexagrams. A philosophical guide for decisions. |
| Da Liu Ren | The moment of divination | Judges fortune from the configuration at the exact moment a question is asked. |
Qi Men Dun Jia does not merely "predict" — it is the one strategic art that "hacks fate by acting at the optimal time and in the optimal direction." Combined with Feng Shui or BaZi, it enables even more precise judgment.
How to use Qi Men Dun Jia
To use Qi Men Dun Jia traditionally, you need the following steps:
- Identify the current "ju" number from the Ganzhi (24 Solar Terms) calendar.
- Lay out the Heaven, Earth and Human Plates based on the ju number.
- Read the combination of Eight Gates, Nine Stars and Eight Spirits, together with the formations.
- Choose the direction and time window that fit your goal.
These calculations are complex and time-consuming even for specialists.
With the Strategic Compass Pro app
Strategic Compass Pro performs all of these complex calculations automatically. Using it is simple:
- Date & Time Evaluation: enter a destination and time to score its auspiciousness automatically.
- Plan an Outing: enter a destination and it searches for the best auspicious date and time automatically.
- Direction Avoidance (Kata-tagae): when a direction is inauspicious, it proposes a detour route that turns it auspicious.
- AI Interpretation: AI explains what the result means in plain language.
Set a Ming Pan (your personal chart) from your date and place of birth, and every judgment is optimized for you. It also supports True Solar Time (time based on the actual position of the sun) for more precise readings.
Frequently asked questions
What does Qi Men Dun Jia mean?
Qi Men Dun Jia (Qimen Dunjia) literally combines "Qi Men" — finding the special gate, i.e. the right opportunity — with "Dun Jia" — hiding the Jia stem to protect yourself and avoid misfortune. Together it means the art of opening the gate of opportunity at the optimal time while avoiding harm. Rather than passively predicting the future, it calculates when and in which direction to act to turn circumstances in your favor.
What is the difference between Qi Men Dun Jia and Feng Shui?
Feng Shui reads the energy of a fixed space — a home or office — to improve your environment. Qi Men Dun Jia instead combines time and direction: it reads a chart that changes every two hours to tell you exactly when to act and which way to head. Feng Shui is largely static and environmental, while Qi Men Dun Jia is the most active, action-oriented of the Chinese metaphysical systems. The two can be used together.
What are the Eight Gates in Qi Men Dun Jia?
The Eight Gates (Ba Men) are eight gates placed across the eight directions on the Earth Plate. The three auspicious gates are the Open Gate (new ventures, business), Rest Gate (rest, negotiation, harmony) and Life Gate (investment, wealth, growth). The five gates that require caution are the Harm Gate, Block Gate, View Gate, Death Gate and Shock Gate. The Eight Gates are the most important factor in Qimen Dunjia, but they should never be read alone — the Nine Stars and formations can turn an auspicious gate inauspicious, or vice versa.
What is a Ming Pan (natal chart) in Qi Men Dun Jia?
A Ming Pan is the Qimen Dunjia chart of the exact moment you were born, calculated from your date, time and place of birth. Ordinary Qimen Dunjia reads the chart of the present moment, but once you set a Ming Pan the app judges fortune for you personally by factoring in how your birth chart interacts with the current hourly chart — a reading optimized for you rather than one shared by everyone.
How do you use Qi Men Dun Jia?
Traditionally you identify the current "ju" number from the Ganzhi (24 Solar Terms) calendar, lay out the Heaven, Earth and Human Plates, read the combination of Eight Gates, Nine Stars, Eight Spirits and formations, then choose the direction and time window that fit your goal. These calculations are complex, so the Strategic Compass Pro app performs them automatically: enter a destination and time to score its auspiciousness, search for the best time automatically, get a detour route when a direction is inauspicious, and read an AI explanation of the result.
Ready to experience Qi Men Dun Jia?
4,000 years of wisdom, on a single smartphone.
Automatic formation analysis, AI interpretation, True Solar Time support.
Decide whether to continue after the free trial. You won't be charged right away.