News

Qimen Dunjia

In its own language: 奇門遁甲

From Chinese roots meaning extraordinary stems, gates, and the hidden chief stem Jia

An ancient Chinese divination system mapping time and space for strategic decision-making

Revived

Qimen Dunjia is a traditional Chinese system of divination and cosmological calculation rooted in ancient military strategy. Practiced across China and Southeast Asia, it maps time cycles and spatial directions to evaluate situations and foresee outcomes.

Share on WhatsApp

  • One of the Three Styles of classical Chinese divination, originally created for military strategy.
  • Arranges stars, deities, and eight symbolic gates across a three-by-three grid of nine palaces.
  • Generates 1,080 distinct chart configurations based on the sexagenary calendar and solar terms.
  • Imperial courts restricted its texts to protect the ruling dynasty's Mandate of Heaven.

What it is

Qimen Dunjia is an intricate Chinese system of divination and cosmological calculation. Grouped within the classical Three Styles of prognostication, it synthesises celestial observations with foundational philosophical principles. The technique integrates the concepts of the Yijing, balance of yin and yang, the Five Phases, and the cyclical Heavenly Stems and Earthly Branches into an analytical grid. Though created originally to guide warfare and royal policy, the discipline provides strategic insight into moments in time. Practitioners read the configurations of time and space to assess outcomes and choose favourable directions for action.

Where it comes from

Mythological accounts trace the creation of this method to the Yellow Emperor or the sacred figure Jiutian Xuannü, who supposedly bestowed it to defeat the insurgent Chi You. Historically, its core ideas emerged during the Warring States era and the Han dynasty through correlative cosmology. Thinkers during this era matched celestial movements with worldly happenings and seasonal shifts. Han texts such as the Huainanzi, written around 139 BCE, laid out directional alignments, stem and branch associations, and cyclical temporal frameworks that eventually formed the operational basis of the system.

How it is done

Divination begins by casting a chart for the precise minute an inquiry is made. The analyst consults the solar terms and the sexagenary calendar to choose one of 1,080 possible situational layouts. These patterns arrange nine rotating stars, eight deities, and eight symbolic gates across a three-by-three cosmic grid of nine palaces. The reader identifies designated focal elements, known as use spirits, based on the question topic, such as travel, conflict, or health. By evaluating how these rotating layers interact through Five Phase principles, the practitioner interprets the situation.

Tools and materials

The primary instrument is the cosmic board, a conceptual three-by-three magic square dividing space into nine palaces. It incorporates an immovable Earth plate for terrestrial orientation, alongside mobile layers representing nine stars and eight celestial spirits. Calculations also incorporate eight directional thresholds: Open, Rest, Life, Harm, Block, Scenery, Death, and Shock. Diviners track these components using the sixty-part cyclical calendar and the traditional twenty-four solar periods.

Qimen Dunjia, drawn and placed

Emblem With the cards shape. Drawn from this page, not a photograph.
  1. Living
  2. Revived
  3. Fading
  4. Historical
  5. Legendary
  6. Performed
Standing: Revived Lost or suppressed, then taken up again, often in a new form. This says whether people still do it, not whether it works.
A fanned hand of cards: divination by drawn cards such as tarot, and the playing cards of the conjurer.
Lineage
Chinese cosmological calculation and divinatory arts
Timing
Calculated for specific hours using sixty-unit cycles and solar periods
Where it sits The tradition it belongs to, and when it is done.

What it is for

Initially developed to secure military advantage, this system served commanders seeking optimal routes, favorable timing, and sound positioning on the battlefield. Historical lore connects it to renowned military strategists guiding dynastic conflicts. Over time, its application shifted toward civilian affairs. Contemporary clients seek consultations to assist with commercial planning, financial investments, career moves, and personal conflicts. Inquiries can also address travel planning or medical concerns by focusing on the specific celestial plates assigned to those topics.

Who does it

Historically, practice was concentrated among military strategists, royal advisors, and court astrologers. During the Ming and Qing eras, specialists in the Imperial Astronomical Bureau maintained and operated the calculations for state governance. In modern times, the tradition is carried on by professional diviners, metaphysical consultants, and strategic advisors. Practitioners master complex calendrical reckoning, correlative cosmology, and chart analysis to interpret inquiries for private individuals and commercial enterprises.

Peoples and places

The tradition belongs to Chinese culture and is practiced across East and Southeast Asia. Communities in mainland China, Hong Kong, and Taiwan preserve both classical interpretations and modern adaptations. It also maintains a strong presence throughout Singapore and Malaysia, where active practitioners serve the broader Chinese diaspora. Across these regions, local consultants apply the analytical calculations to modern urban challenges while retaining the foundational cosmic principles.

At a glance: who, where and when

What people believe

The underlying cosmology assumes that temporal rhythms, celestial positions, and terrestrial geography operate in direct correspondence. It relies on the cyclical interaction of yin and yang, the elemental shifts of the Five Phases, and the sixty-part cycle of stems and branches. Within this matrix, the primary stem Jia acts as a symbolic commander that remains concealed among the other signs. Rotating deities and stars govern specific energetic influences across the palaces, creating conditions that either foster harmony or provoke conflict.

When it is done

Timing calculations depend on the traditional Chinese solar calendar and the twenty-four solar divisions. Operations follow the sexagenary cycle formed by combining the ten Heavenly Stems and twelve Earthly Branches. The complete framework comprises 1,080 situational charts, which recur in four annual sequences divided evenly between the year's expanding and contracting cosmological phases. Charts are constructed for the exact hour, day, and season when a question arises.

How scholars and sceptics see it

Academic historians and Sinologists study the method as part of China's extensive tradition of technical and occult arts. In European scholarship, a doctoral study by Alejandro Peñataro Sánchez at the Free University of Berlin examined the system through cognitive and historical frameworks. Researchers investigate how such complex cosmologies allowed imperial officials to systematically organize spatial and temporal knowledge, viewing the practice as an intricate analytical discipline rather than mere superstition.

Compare and confuse

Qimen Dunjia forms one branch of the Three Styles alongside two companion methods. While Da Liu Ren focuses on personal everyday questions and Tai Yi Shen Shu forecasts broad dynastic events, Qimen Dunjia specializes in situational strategy. It also shares concepts with Flying Star and Compass Feng Shui, including cosmological mapping. However, while geomancy examines permanent architectural spaces, this practice assesses fluid, time-dependent scenarios.

Law and persecution

During the Ming and Qing dynasties, the imperial government placed restrictions on advanced manuals, reserving them for state astronomers to prevent cosmological insights from being used to challenge dynastic authority. After the Qing dynasty collapsed in 1912, official policy shifted. Modernization efforts during the New Culture Movement and subsequent state policies in the People's Republic of China designated the art as superstition, actively discouraging its practice before its late-twentieth-century resurgence.

Today

Following a major revival during the late twentieth century, the art thrives across East and Southeast Asia. Consultants in Taiwan, Hong Kong, Singapore, and Malaysia routinely adapt its calculations for corporate negotiations, commercial forecasting, and individual guidance. Its historical military prestige also endures in popular culture, where novels, films, and historical fiction celebrate its tactical legacy and connection to legendary strategists.

Questions people ask about Qimen Dunjia

What is Qimen Dunjia?

It is an ancient Chinese cosmological calculation and divination system. The art combines the Yijing, yin and yang balance, the Five Phases, and the sexagenary calendar on a nine-palace cosmic board to evaluate strategic circumstances.

Where does Qimen Dunjia come from?

Legend attributes its origins to the Yellow Emperor and the sage Jiutian Xuannü in ancient China. Historical evidence traces its underlying correlative cosmology to the Warring States period and the Han dynasty.

How was Qimen Dunjia used in military warfare?

Commanders used its cosmic grids to determine auspicious directions, ideal timing, and positional advantages on the battlefield. Historical lore links the method to famous strategists like Zhuge Liang and Liu Bowen.

How is the system practiced today?

Diviners cast charts based on the exact moment a question is asked. Modern practitioners in East and Southeast Asia apply these readings to business strategy, personal decision-making, and financial planning.

Good reading and sources

Where this page comes from

The facts on this page come from the Wikipedia article "Qimen Dunjia", written by its contributors and used under the CC BY-SA 4.0 licence, and from its Wikidata record (CC0). EveryJaadu rewrote the text in its own words, with AI assistance, and compares every page with the article to make sure no passage is copied. It may be reused under the same CC BY-SA 4.0 licence with a link back.

It may contain mistakes. Names and customs differ from one community to the next, and some knowledge is closed to outsiders and left out here. This page describes belief and practice. It does not say that any of it works, it is not a how-to, and it is not medical advice. If something is wrong, tell us. Last refreshed 2026-10-05.

Photo credits on this page

The small pictures above come from Wikimedia Commons under free licences. Some are cropped to fit.

The weekly digest

Every Monday: seven entries you may not know, what is on the calendar this week, and one rite drawn step by step.