奇门遁甲

Ancient Wisdom, Modern Insight

Qi Men Dun Jia — the ancient Chinese art of spacetime divination
Built upon 九宫八卦 (Nine Palaces & Eight Trigrams)
Guided by 天地人神 (Heaven, Earth, Human & Spirit)


4

9

2

3

5

7

8

1

6

Core Features

Ancient Tradition Meets Modern Technology

This system is based on the traditional Time-based Qi Men Dun Jia Rotating Disk method, combining true solar time correction with AI large language models for a complete experience from chart casting to interpretation. Enter time and location to generate a full 九宫 (Nine Palace) chart, and receive intelligent analysis across career, wealth, relationships, and health. Supports daily, weekly, monthly, and yearly fortune modes, with deep conversational consultation.

AI-Powered Interpretation

Millennia-old QMDJ wisdom meets modern AI. Our professional 象意 (symbolic meaning) knowledge base is injected into a large language model, delivering deep intelligent interpretations — no more cryptic ancient texts.

Precise Chart Casting

Traditional time-based rotating disk method with true solar time correction. Accurate calculation based on your longitude and latitude. 九星 (Nine Stars), 八门 (Eight Doors), 八神 (Eight Spirits) — all faithfully rendered.

Completely Free

Zero cost, zero registration. We believe the wisdom of our ancestors should not be locked behind paywalls. 奇门遁甲 belongs to everyone willing to understand it.

Rational & Scientific

Against superstition, respecting science. 奇门遁甲 is an ancient spatiotemporal strategic model — not fortune-telling, but a window for understanding change and seizing the right moment.

What is Qi Men Dun Jia?

Overview

Qi Men Dun Jia (奇门遁甲) is one of the highest-level divination systems in ancient China, collectively known as the "Three Styles" (三式) alongside Tai Yi Shen Shu (太乙神数) and Da Liu Ren (大六壬), and regarded as the foremost of the three. It is not merely a divination technique, but a comprehensive spatiotemporal decision-making model integrating I Ching (易经), astronomical calendars, Yin-Yang & Five Elements (阴阳五行), military strategy, and philosophy.

Legendary Origins

Legend has it that during the Battle of Zhuolu, when Chi You created a great fog that disoriented the Yellow Emperor's army, the Nine Heavens Profound Girl (九天玄女) descended and bestowed the "Dragon Armor Divine Chapter" (龙甲神章). The Yellow Emperor's minister Feng Hou then derived 1,080 QMDJ configurations from it. While not historically verified, this legend reflects QMDJ's deep connection to military strategy and spatial navigation.

Historical Evolution

QMDJ underwent three major simplifications: Jiang Tai Gong of the Zhou Dynasty compressed 1,080 configurations into 72; Zhang Liang of the Han Dynasty further reformed it into 18 configurations (9 Yin Retreat + 9 Yang Retreat), which remain the foundation today; during the Tang and Song Dynasties, the system matured with official adoption by the Imperial Astronomy Bureau.

Structure

QMDJ consists of three parts: Three Wonders (三奇: 乙, 丙, 丁) symbolizing the Three Realms; Eight Doors (八门: 休, 生, 伤, 杜, 景, 死, 惊, 开) representing all human affairs; and Dun Jia (遁甲), which conceals the celestial stem 甲 beneath the Six Instruments (六仪). 九星 (Nine Stars) and 八神 (Eight Spirits) complete the spatiotemporal model.

Our Philosophy

Against superstition, respecting science. QMDJ is not fortune-telling, nor feudal superstition. It is a spatiotemporal strategic model distilled over thousands of years — revealing that under specific spacetime conditions, all things follow observable patterns. We use AI technology to reinterpret this cultural heritage, enabling more people to understand and apply it rationally.

Destiny is self-created, fortune is self-sought.
Know your fate but never resign to it — that is the true wisdom of QMDJ.

Nine Palaces & Directions

Later Heaven BaGua · Luo Shu Nine Palaces

4
巽 Xun
Southeast
Gentleness, Penetration
9
离 Li
South
Clarity, Fire
2
坤 Kun
Southwest
Receptivity, Earth
3
震 Zhen
East
Movement, Action
5
中 Zhong
Center
Balance, Core
7
兑 Dui
West
Joy, Communication
8
艮 Gen
Northeast
Stillness, Mountain
1
坎 Kan
North
Danger, Wisdom
6
乾 Qian
Northwest
Strength, Leadership

The Eight Doors (八门)

Gateways to All Human Affairs

Ancient QMDJ manuscript showing Eight Gates diagram

In Qi Men Dun Jia, the Eight Doors represent the human dimension — they govern all affairs, choices, and activities of people. Each door carries a distinct quality: auspicious, inauspicious, or neutral. Understanding the Eight Doors is essential for interpreting any QMDJ chart, as they reveal how human action interacts with the cosmic forces of time and space.

Open Door (开门)

Kāi Mén

Auspicious

Represents new beginnings, career advancement, and official matters. Favorable for business, travel, and seeking promotion. The most versatile and widely beneficial door.

Element: Metal · Direction: Northwest

Rest Door (休门)

Xiū Mén

Auspicious

Symbolizes rest, recuperation, and peace. Favorable for family harmony, social gatherings, negotiations, and recuperation. Also associated with water and internal affairs.

Element: Water · Direction: North

Life Door (生门)

Shēng Mén

Auspicious

The door of growth, prosperity, and profit. Most favorable for business ventures, investments, real estate, and wealth-seeking. Associated with earth and productivity.

Element: Earth · Direction: Northeast

Injury Door (伤门)

Shāng Mén

Neutral / Inauspicious

Represents harm, competition, and loss. Unfavorable for peaceful matters, but can be advantageous in competitive situations, sports, or when aggressive action is needed.

Element: Wood · Direction: East

Obstruction Door (杜门)

Dù Mén

Neutral

Symbolizes blockage, concealment, and seclusion. Unfavorable for opening new ventures, but favorable for hiding, studying, meditation, or avoiding attention.

Element: Wood · Direction: Southeast

Scenery Door (景门)

Jǐng Mén

Neutral

Represents appearance, reputation, and spectacle. Favorable for publicity, advertising, examinations, and cultural activities. Also governs plans, strategies, and documents.

Element: Fire · Direction: South

Death Door (死门)

Sǐ Mén

Inauspicious

Represents endings, stagnation, and negative outcomes. Generally unfavorable for all new endeavors. However, may be used for closing old matters, property-related questions, or ancestral matters.

Element: Earth · Direction: Southwest

Fear Door (惊门)

Jīng Mén

Inauspicious

Symbolizes alarm, anxiety, and unexpected trouble. Associated with disputes, legal issues, and verbal conflicts. Not favorable for negotiations or important decisions.

Element: Metal · Direction: West

The Nine Stars (九星)

Celestial Forces That Shape Timing

Ancient Chinese star map of Nine Stars

The Nine Stars represent the celestial dimension in QMDJ — they reflect the quality of timing and cosmic influence at any given moment. Originating from the Big Dipper constellation (北斗七星) plus two hidden stars, each star carries a unique energy that affects the outcome of any endeavor. In traditional practice, they were considered the "Heaven" layer of the Heaven-Earth-Human trinity.

Heavenly篷 Tian Peng

The Dark Warrior

Bold and daring. Associated with water, risk-taking, and large-scale enterprises. When strong: great wealth and ambition. When weak: theft, loss, and danger.

Heavenly任 Tian Ren

The Steadfast One

Reliable and enduring. Associated with earth, agriculture, and steady progress. Favorable for long-term projects, farming, and maintaining stability.

Heavenly冲 Tian Chong

The Thunderbolt

Impulsive and powerful. Associated with wood, sudden action, and military affairs. Favorable for launching attacks, starting new ventures, and swift decisions.

Heavenly辅 Tian Fu

The Gentle Supporter

Refined and cultured. Associated with wood, education, and diplomacy. Favorable for academic pursuits, teaching, cultural activities, and seeking assistance.

Heavenly英 Tian Ying

The Brilliant Flame

Bright and visible. Associated with fire, fame, and social recognition. Favorable for publicity and celebrations, but can indicate burnout or conflict when weak.

Heavenly芮 Tian Rui

The Hidden Illness

Concealing and secretive. Associated with earth, illness, and hidden problems. Generally inauspicious, but can indicate learning through adversity or studying hidden matters.

Heavenly柱 Tian Zhu

The Pillar

Upright and resolute. Associated with metal, speaking, and disruption. Favorable for legal defense, teaching, and breaking through obstacles. Unfavorable for harmony.

Heavenly心 Tian Xin

The Celestial Physician

Noble and healing. Associated with metal, medicine, and high status. The most auspicious star for health matters, leadership, and spiritual pursuits.

Heavenly禽 Tian Qin

The Central Star

The center of all things. Resides in the Central Palace (Palace 5) and does not move. Represents the core, the pivot, and the emperor's seat. It anchors the entire star system.

Legendary Masters of QMDJ

The Strategists Who Changed History

Zhuge Liang, legendary QMDJ master

Throughout Chinese history, Qi Men Dun Jia was the secret weapon of brilliant strategists — from the founding of dynasties to decisive battles that shaped civilizations. These legendary figures elevated QMDJ from a divination art to a tool of statecraft and military genius.

诸葛亮 Zhuge Liang
Three Kingdoms (181–234 AD)

The most celebrated QMDJ practitioner in history. His legendary "Borrowing the East Wind" (借东风) at the Battle of Red Cliffs — using QMDJ to predict a shift in wind direction — turned the tide against Cao Cao's massive fleet. His "Eight Array Maze" (八阵图) trapped enemy forces using QMDJ spatial principles. Known as the "Sleeping Dragon," he remains the symbol of strategic brilliance.

刘伯温 Liu Bowen
Ming Dynasty (1311–1375 AD)

Founding military strategist of the Ming Dynasty and author of comprehensive QMDJ manuals. His most famous application was at the Battle of Poyang Lake (1363 AD), where he used QMDJ to time a devastating fire attack against Chen Youliang's fleet of 600,000 troops — a victory that led to the founding of the Ming Empire. Often compared to Zhuge Liang as "the Liu Bowen of his era."

姜子牙 Jiang Ziya
Zhou Dynasty (c. 1100 BC)

The legendary sage who helped King Wu overthrow the Shang Dynasty. Credited with simplifying QMDJ from 1,080 to 72 configurations, making the system more practical for military use. His treatise Liu Tao (六韬) integrates QMDJ principles into comprehensive military strategy. He is revered as the "Grandmaster of All Strategists."

张良 Zhang Liang
Han Dynasty (c. 250–186 BC)

The "Marquis of Liu" who helped Liu Bang found the Han Dynasty. He further refined QMDJ from 72 to 18 configurations (9 Yin + 9 Yang Retreat), which remains the foundation of the system today. His strategic genius at the Battle of Gaixia led to the defeat of Xiang Yu and the birth of the Han Empire.

QMDJ in the Modern World

From Ancient Battlefields to Boardrooms

💼

Business Strategy

Timing product launches, negotiations, and investment decisions. In traditional QMDJ, the Open Door (开门) governs career and enterprise, while the Life Door (生门) indicates profit potential.

📅

Date Selection

Choosing auspicious dates for weddings, grand openings, and major life events. QMDJ's 18 configurations map to specific time windows for optimal outcomes.

🏠

Feng Shui Analysis

While Feng Shui analyzes fixed spatial energy, QMDJ adds the temporal dimension — revealing when specific directions become favorable or unfavorable. Together, they form a complete spatial-temporal system.

🧭

Strategic Decision-Making

QMDJ's core principle — distinguishing Host (主) from Guest (客) — applies directly to modern competitive strategy: when to act first, when to respond, when to advance, when to retreat.

Recommended Reading

Authoritative Resources for Deeper Study

Qi Men Dun Jia Compendium

by Joey Yap

The most comprehensive English reference on QMDJ — 1,126 pages covering complete chart casting methods and all formation interpretations.

Modern Qi Men Dun Jia

Various Authors

Interprets QMDJ through the lens of modern decision science — ideal for academic researchers and those approaching from a Western analytical perspective.

The Book of Burial (葬书)

by Guo Pu (Jin Dynasty), trans. Stephen L. Field

The foundational text of Feng Shui — the earliest work to propose the concept of "Feng Shui." Essential background for understanding QMDJ's spatial principles.

I Ching (易经 / Book of Changes)

Various translations

The philosophical bedrock of all Chinese metaphysics, including QMDJ. Understanding Yin-Yang, BaGua, and the 64 Hexagrams is fundamental to QMDJ study.

Support Us

Your support keeps this ancient wisdom alive

This site is completely free. We will never charge any user. 奇门遁甲 is a cultural treasure of Chinese civilization, and we want more people to discover, understand, and correctly appreciate it.

Running this site involves API costs, server hosting, and AI compute tokens. If you find value here, consider a voluntary donation to help us maintain and improve the system and increase prediction accuracy.

Donations are entirely voluntary and do not affect any features ☯

Send a tip via PayPal

☯ Donate Now

paypal.me/yifubob

Begin Your QMDJ Journey

Enter time and location
Let ancient wisdom illuminate your path

Cast Your Chart