- What is BaZi? What is Qimen? The simple split
- Where each tradition comes from: dated, named, factual
- What each system actually reads: the difference in scope
- How the charts differ: Fifty versus Six
- What Qimen can do that BaZi cannot: the direction factor
- How they relate to other Chinese metaphysical systems
- Which one should you learn first?
A Beijing astrologer in 1644 read a BaZi chart before advising the Ming emperor to flee. A general in the same dynasty used Qimen Dunjia to decide where to camp. Both men read patterns in time. But the first looked at a birth date, and the second looked at the combination of a date and a battlefield. BaZi (Four Pillars of Destiny) and Qimen Dunjia (Qi Men Dun Jia, often called Qimen) are two distinct systems of Chinese metaphysics: BaZi reads a person’s fate from their birth year, month, day and hour; Qimen reads a situation’s outcome from the moment it begins. That difference in scope — a life versus a single event — is the simplest way to separate them.
What is BaZi? What is Qimen? The simple split
BaZi translates as “eight characters” because each of the four pillars (year, month, day, hour) produces two Heavenly Stems and Earthly Branches. Ten Stems and twelve Branches cycle through a grid of 60 combinations. A BaZi reading maps those eight symbols against the Five Elements, the interactions of production and destruction, and the ten gods that pattern a person’s character, career, relationships and health. The chart is static. It does not change unless the person lives through a decade-cycle (Da Yun) or a yearly cycle that activates a hidden element.
Qimen Dunjia translates as “Strange Gates Escaping Technique.” It belongs to the Three Styles (San Shi) alongside Da Liu Ren and Tai Yi Shen Shu. The system arranges 18 charts (9 original plus 9 yang/yin variants) that map the interaction of Heaven Pan, Earth Pan, Human Pan and the Eight Doors, Nine Stars and Eight Spirit Generals. A Qimen reading does not ask for a birth date. It asks for the exact time an event began: a meeting, a move, a surgery, a negotiation. The answer tells you which direction to face, which door to open, which time window holds luck.
Both systems sit inside the same cosmology. Both use the Heavenly Stems and Earthly Branches. Both rely on the Five Elements. But they answer different questions and demand different data.
Where each tradition comes from: dated, named, factual

BaZi’s earliest named source is the Li Ming system attributed to Master Xu Ziping during the Song Dynasty (960–1279). Xu Ziping is the historical figure who formalized the Four Pillars method by centering the Day Stem (not the Year Stem) as the self. Before him, Chinese astrologers used the year pillar as the main reference, a method still visible in the simpler calculators found in village almanacs. Xu Ziping’s innovation made the day stem the anchor, which shifted the entire emphasis toward the individual’s own elemental constitution. The text Dragon and Phoenix: The Prophecies of Xu Ziping records his method.
Qimen’s historical origin is older and less settled. The earliest attributed author is Zhuge Liang (181–234), the Three Kingdoms strategist who wrote a Qimen manual called The Complete Book of the Eight Gates. But Qimen appears earlier. The Yellow Emperor’s Classic of the Hidden Talisman (Yinfu Jing) contains passages describing the arrangement of the Eight Doors, and Sima Guang’s Zizhi Tongjian (Comprehensive Mirror for Aid in Government) describes a Tang Dynasty general consulting Qimen before battle in 755 CE. The system was refined during the Ming Dynasty by Liu Bowen, who wrote The Golden Chamber of Qimen Dunjia and used it to advise Zhu Yuanzhang, the first Ming emperor.
The two systems coexisted in the same courts. A Ming official might calculate his BaZi to know his career cycles and consult Qimen before submitting a memorial to the throne. They were not competitors. They were tools for different scales.
What each system actually reads: the difference in scope

BaZi reads the fixed structure of a life. The four pillars are not predictions. They are conditions. A person born on a Fire Day in a Water month carries a tension between the day stem and the month branch that will express itself through every decade-cycle. The BaZi practitioner looks for the Useful God (Yong Shen) the element that balances the chart, and the Damage God (Ji Shen) the element that disrupts it. The chart reveals peaks, valleys, the timing of marriage, the nature of career, the vulnerability to illness. It does not tell you whether to accept a job offer in July. It tells you the decade you are in favors or opposes action.
Qimen reads the structure of a moment. The practitioner sets a chart for the exact minute an event begins. The chart shows the Eight Gates: Xiu (Rest), Sheng (Life), Shang (Misfortune), Du (Blockage), Jing (Surprise), Si (Death), Jing (Capital), Kai (Open). Each gate carries a direction and a quality. Open Gate (Kai) in the north might mean a negotiation succeeds if you sit facing north. Misfortune Gate (Shang) in the east might mean travel to that direction brings loss. The Nine Stars map celestial influences. The Eight Spirits map hidden forces. The practitioner reads the interaction of the doors, stars and spirits to determine the outcome of a specific action.
This means BaZi cannot answer “should I move on Tuesday?” and Qimen cannot answer “will I be wealthy at age 50?” They ask different questions. A reader who confuses them produces useless answers.
How the charts differ: Fifty versus Six
The structural difference is visible in the number of variables.
A BaZi chart contains exactly eight characters arranged in four columns. The practitioner computes the Stems and Branches, then identifies the Hidden Stems (Cang Gan) inside each Branch. A standard chart uses ten gods (Zheng Guan, Pi Jian, etc.) and the elemental interaction cycle. That is a large system. But the input is small: two hours of birth time precision is enough. The output is a life pattern.
A Qimen chart contains 18 possible board arrangements (Ju) each with a Human Pan of 24 directions, an Earth Pan of 8 directions, a Heaven Pan of 8 star positions, gates, spirits and the movement of the Stems across the board. The practitioner must calculate the correct Ju for the date and time, then determine whether the chart is yang or yin pattern, then read the doors, stars, and spirits against the direction of action. A single Qimen reading involves more variables than a BaZi reading by an order of magnitude. That is why Qimen was historically taught only to military officers and senior strategists. A mistake in the calculation could send an army into Death Gate.
The practical consequence is that Qimen requires more training and more precision. BaZi can be learned to functional competence in a year. Qimen requires three to five years of daily calculation before a practitioner can produce reliable readings.
What Qimen can do that BaZi cannot: the direction factor
The single most practical difference between the two systems is direction.
BaZi does not use direction. The chart has no spatial dimension. You cannot ask BaZi “which direction should I face?” The chart tells you your favorable elements, and from that you can infer a general direction (north for Water, south for Fire), but that is a correlation, not a direct reading.
Qimen is a spatial system at its core. Every door, star and spirit occupies a specific direction. The chart tells you explicitly: Open Gate is in the southeast, Life Gate is in the north. If you sit with your back to Open Gate during a meeting, the energy enters you from the front. If you sleep with your head pointing toward Misfortune Gate, the energy enters you while you are vulnerable. Qimen practitioners use direction as the primary variable. They will tell a client to drive north for a job interview, to face south during a negotiation, to walk around a building to enter from the west.
That directional reading is impossible in BaZi. It is the most common reason a practitioner of one system learns the other.
How they relate to other Chinese metaphysical systems
Both BaZi and Qimen Dunjia belong to a larger family of Chinese divination methods that share the same cosmological roots. BaZi is most closely related to Zi Wei Dou Shu (Purple Star Astrology), another system that reads a birth chart but uses stars instead of stems and branches. Qimen sits alongside Da Liu Ren and Tai Yi Shen Shu as one of the Three Styles, the highest-level systems reserved for strategic decision-making.
For readers exploring the broader landscape, the Vedic and Chinese astrology hub offers a comparative overview of how these Eastern systems differ from Western and Indian traditions. The Heavenly Stems glossary entry explains the ten celestial stems that both BaZi and Qimen use as their foundational symbols, while the Earthly Branches glossary entry covers the twelve terrestrial branches that complete the sexagenary cycle.
FAQ
Can BaZi and Qimen be used together?
Yes. A practitioner often reads a BaZi chart first to understand a person’s life patterns, then uses Qimen to time specific actions within favorable windows. The two systems complement rather than contradict each other.
Which system is more accurate?
Accuracy depends on the question. BaZi is more accurate for life-span questions (career, marriage, health over decades). Qimen is more accurate for event-specific questions (should I sign this contract today? which direction should I travel?).
Do I need my exact birth time for Qimen?
No. Qimen requires the exact time of the event you are asking about, not your birth time. BaZi requires your birth time. This is a fundamental difference in what data each system needs.
Which one should you learn first?
Most teachers recommend BaZi first. The reason is practical: BaZi teaches the foundational skills of reading Heavenly Stems, Earthly Branches, and the Five Elements. Without those, Qimen’s 18 boards and 24 directions are overwhelming. A student who learns BaZi for one year can then learn Qimen in half the time.
A student who learns Qimen first often struggles because the system assumes familiarity with the elemental interactions that BaZi teaches explicitly. The exception is a student who only wants to answer event-based questions and has no interest in life readings. That student can learn Qimen directly, but they will need to study the stems and branches separately.
The two systems are not rivals. They are layers. BaZi tells you who you are. Qimen tells you where to stand.
