Overview
Qimen Dunjia (奇門遁甲), literally translated as 'Mysterious Door Escaping Technique', is widely regarded as the most sophisticated and powerful divination system in classical Chinese metaphysics. It integrates cosmology, astronomy, military strategy, and temporal cycles into a unified framework of 9 palaces, 8 gates, 9 stars, and 8 deities — producing over 1,080 unique chart configurations that map the energetic landscape of any given moment in time.
Origin
Qimen Dunjia traces its legendary origins to the Yellow Emperor (黃帝, Huangdi) circa 2600 BCE, who is said to have received the system from the goddess Jiutian Xuannü (九天玄女) during his campaigns against the rebel Chiyou. The system was further systematised by Jiang Ziya (姜子牙) during the Zhou Dynasty and later refined by Zhuge Liang (諸葛亮), the brilliant strategist of the Three Kingdoms period. Its name encodes its three core elements: 'Qi' (奇, the three auspicious stems), 'Men' (門, the eight gates), and 'Dunjia' (遁甲, the concealment of the Jiia stem).
History
Throughout Chinese history, Qimen Dunjia was classified as a state secret and its practice was restricted to the imperial court and military high command. During the Han Dynasty, it was used to determine auspicious timing for military campaigns. The Tang Dynasty saw it codified into formal texts, and the Song Dynasty produced the first comprehensive manuals. The Ming Dynasty general Liu Bowen (劉伯溫) was legendary for his mastery of Qimen, reportedly using it to help Zhu Yuanzhang establish the Ming Dynasty. During the Qing Dynasty, the system was partially declassified and began spreading among the scholarly class. In the 20th century, masters like Wang Ting-zhi brought Qimen to Taiwan, where it flourished and eventually spread globally.
How It Works
A Qimen chart is constructed by mapping the current date and time onto a 3×3 grid of nine palaces (九宮), each associated with one of the eight trigrams plus the central earth palace. Eight gates (八門) representing different life domains are distributed across the palaces, along with nine stars (九星) carrying cosmic energies and eight deities (八神) embodying specific forces. The practitioner analyses the interactions between these four layers — particularly the position of the 'Void Gate' (空門), the 'Rest Gate' (休門), and the relationships between the heavenly stems — to derive guidance on timing, direction, and strategy.
Good For
Use Cases
Business Launch Timing
Entrepreneurs use Qimen to identify the most auspicious hour and direction to launch a new business, sign contracts, or make major investments. The chart reveals whether the energetic configuration supports growth or caution.
Career Navigation
Professionals consult Qimen when facing career crossroads — whether to accept a promotion, change companies, or start a business. The system identifies which directions and time windows carry the strongest supportive energy.
Relationship Decisions
Qimen is used to assess the timing of marriage proposals, business partnerships, and important negotiations. The deity and gate combinations reveal whether a proposed alliance is harmonious or fraught with hidden obstacles.
Health and Medical Timing
Traditional practitioners use Qimen to determine the best timing for medical procedures, the direction of the treating physician, and the prognosis of illness based on the elemental interactions in the chart.
Famous Examples
Three Kingdoms Period StrategistZhuge Liang, the legendary strategist of the Shu Han kingdom, is said to have used Qimen Dunjia to orchestrate the famous Battle of Red Cliffs (208 CE), where a vastly outnumbered force defeated Cao Cao's navy. His ability to predict weather patterns and enemy movements was attributed to his mastery of Qimen.
Ming Dynasty Founding StrategistLiu Bowen served as the chief strategist for Zhu Yuanzhang, the founder of the Ming Dynasty. His Qimen calculations reportedly guided every major military campaign and political decision that led to the dynasty's establishment in 1368. He is still revered as one of the greatest Qimen masters in history.
Zhou Dynasty Military AdvisorJiang Ziya, the legendary advisor to King Wen and King Wu of Zhou, is credited with systematising Qimen Dunjia into a practical military tool. His campaigns against the Shang Dynasty (circa 1046 BCE) are said to have been guided entirely by Qimen calculations, culminating in the decisive Battle of Muye.
Key Terms
Nine Palaces (九宮)The 3×3 grid that forms the spatial framework of a Qimen chart, each palace associated with a trigram direction and elemental energy.Eight Gates (八門)The eight life-domain gates: Rest (休), Life (生), Injury (傷), Obstruction (杜), View (景), Death (死), Fright (驚), and Opening (開). Each carries distinct energetic qualities.Nine Stars (九星)Nine celestial stars distributed across the palaces, each with elemental associations and fortune implications ranging from highly auspicious to inauspicious.Eight Deities (八神)Eight divine forces that overlay the chart, including the Directly符 (直符), Nine Heavens (九天), Nine Earth (九地), and others, each modifying the energy of their palace.Heavenly Stems (天干)The ten celestial stems (甲乙丙丁戊己庚辛壬癸) that encode temporal cycles and elemental relationships within the Qimen framework.