Chengshi: Qimen Timing

Chengshi: Qimen Timing · Articles

Qimen Dunjia Nine Stars and Eight Spirits: Meanings and Order

The Nine Stars (九星) and Eight Spirits (八神) are two layers that move with each two-hour period. Traditionally, the stars describe a period's underlying qualities, while the spirits add context. Classical texts rate Tianfu, Tianqin, and Tianxin most favorably, followed by Tianchong and Tianren. They rate Tianpeng and Tianrui least favorably, with Tianying and Tianzhu mildly unfavorable. The spirits start with the Chief (值符). They follow clockwise order in Yang Dun (陽遁) and counterclockwise order in Yin Dun (陰遁).

· About 9 min read

繁體中文简体中文EnglishEspañolDeutschFrançaisPortuguês日本語한국어Tiếng Việt

Illustration of Xiaoqi, a teal square mascot, looking up at nine differently colored stars arranged in a circle

1. Nine Stars at a glance

The Nine Stars (九星) have one home each in the Nine Palaces (九宮). Every star's name begins with “Tian.” Its element follows its home palace. Yanbo Diaosou Ge (煙波釣叟歌), gives a way to remember them.

StarHome palaceElementYin or yangRating in Yanbo Diaosou Ge (煙波釣叟歌)Activities named in the Qimen Dunjia Tongzong (《奇門遁甲統宗》)
Tianpeng (天蓬)Kan 1 (坎1)WaterYangHighly unfavorableSecuring a border, building city walls
Tianrui (天芮)Kun 2 (坤2)EarthYinHighly unfavorableHonoring teachers, making friends, cultivating character
Tianchong (天沖)Zhen 3 (震3)WoodYangMildly favorableMilitary campaigns, repaying kindness or settling grievances
Tianfu (天輔)Xun 4 (巽4)WoodYangHighly favorableOpening schools, taking exams, weddings, trade, construction
Tianqin (天禽)Center 5 (中5)EarthVaries by textHighly favorableRituals, rewarding service, taking exams, weddings, trade
Tianxin (天心)Qian 6 (乾6)MetalYinHighly favorableMobilizing troops, meeting an influential person, taking exams, weddings, trade, construction
Tianzhu (天柱)Dui 7 (兌7)MetalYinMildly unfavorableBuilding fortifications, training soldiers
Tianren (天任)Gen 8 (艮8)EarthYangMildly favorableBuilding a city, educating the public, meeting an influential person, weddings
Tianying (天英)Li 9 (離9)FireYinMildly unfavorableMeeting an influential person, taking exams, submitting a written request

Traditionally, even a star rated unfavorable has activities associated with it. The same is true of the Eight Doors (八門). Qimen Dunjia Tongzong (《奇門遁甲統宗》) rates Tianpeng highly unfavorable but still associates it with border defense and building city walls.

I'm Sona Orbit, the solo developer of Chengshi: Qimen Timing (乘時). This article introduces traditional cultural concepts, mainly through classical texts available to read online. I link each book when I first name it. Where the texts differ, I show their views side by side rather than choosing one. This is cultural background, not advice on what to do. Compiled in December 2026.

2. Where the texts differ

The texts broadly agree on the ratings, but their details differ. Here are four differences I found.

TopicOne accountAnother account
Number of rating levelsYanbo Diaosou Ge (煙波釣叟歌) uses four: highly favorable, mildly favorable, highly unfavorable, and mildly unfavorable.The Wujing Zongyao (武經總要) uses two groups. Tianren, Tianchong, Tianfu, Tianqin, and Tianxin are favorable; Tianpeng, Tianying, Tianrui, and Tianzhu are unfavorable.
Whether Tianqin is yin or yangYanbo Diaosou Ge (煙波釣叟歌) and the Qimen Baojian Yuding (《奇門寶鑑御定》) call it a yang star.Qimen Dunjia Tongzong (《奇門遁甲統宗》) calls it a yin star.
Tianzhu's elementMost texts say Metal, matching its home in Dui 7 (兌7).The Taibai Yinjing (太白陰經) on Wikisource says Earth. Its other eight star elements match the common account, so this may be a copying difference.
Corresponding Big Dipper star namesQimen Dunjia Tongzong (《奇門遁甲統宗》) and Qimen Baojian Yuding (《奇門寶鑑御定》) pair Tianfu with Wenqu (文曲), Tianxin with Wuqu (武曲), and Tianchong with Lucun (祿存).The Dunjia Yanyi (遁甲演義) pairs Tianfu with Wuqu, Tianxin with Wenqu, and Tianchong with Pojun (破軍).

These Big Dipper pairings conflict. If a source names only Wenqu and does not specify Tianfu or Tianxin, check which pairing it uses.

3. Three ways to rate a star by month

Classical texts assess the Nine Stars by month. They treat a favorable star as more favorable when it is strong, and an unfavorable star as less unfavorable when it is weak. But three books use different labels for strength. Take Tianpeng: its element is Water, and its home is Kan 1 (坎1).

Month by Earthly BranchRelationship to WaterYanbo Diaosou Ge (煙波釣叟歌)Qimen Dunjia Tongzong (《奇門遁甲統宗》)Dunjia Yanyi (遁甲演義)
Hai (亥) and Zi (子) months, lunar months 10 and 11Also WaterFlourishingFlourishingStrong
Yin (寅) and Mao (卯) months, lunar months 1 and 2Water generates WoodStrongStrongFlourishing
Si (巳) and Wu (午) months, lunar months 4 and 5Water controls FireRestingDepletedInactive
Shen (申) and You (酉) months, lunar months 7 and 8Metal generates WaterDepletedInactiveResting
Chen (辰), Xu (戌), Chou (丑), and Wei (未) months, lunar months 3, 6, 9, and 12Earth controls WaterConstrainedConstrainedConstrained

The biggest difference is what counts as “strong.” Yanbo Diaosou Ge (煙波釣叟歌) and Qimen Dunjia Tongzong (《奇門遁甲統宗》) use the months of the element that Water generates. Dunjia Yanyi (遁甲演義), citing an earlier text, uses months of the same element as Water. In winter, one account calls the same star flourishing and another calls it strong. The other labels differ too. All three call the Earth months, whose element controls Water, constrained. Before comparing two sources, check which system each uses.

4. How the Nine Stars move on a rotating-plate chart

In the rotating-plate (轉盤) method, the outer ring turns as a group. There are three steps.

  1. Find the cycle head Jia (旬首) for the two-hour period (時辰). Identify which of the Six Instruments (六儀) conceals it, then find that instrument's palace on the Earth Plate (地盤).
  2. The star whose home is that palace becomes the Chief Star.
  3. Move the Chief Star to the Earth Plate palace of the hour's Heavenly Stem. Move the other stars around the outer ring without changing their order.

The outer ring has eight places, but there are nine stars. Tianqin starts in the center. In the rotating-plate method, it lodges (寄宮) beside Tianrui in Kun 2 (坤2). Wherever Tianrui moves, Tianqin goes with it. An example in “Chaoshen Jieqi Zhizhi” (《易學象數論・超神接氣直指》) shows this step. In its Yin Dun chart number 4, the Yi (乙) Wonder in the center lodges in Kun, then moves with Tianrui to Dui. Qimen Baojian Yuding (《奇門寶鑑御定》) records an objection to placing Tianqin and Tianrui together. It describes a different method that moves stars through the center.

5. What the Eight Spirits mean

The Eight Spirits (八神) are also called the Eight Generals and Eight Deceptive Doors. They are the last layer placed on the chart. This table summarizes their traditional associations in Qimen Dunjia Tongzong (《奇門遁甲統宗》).

SpiritQualities in Qimen Dunjia Tongzong (《奇門遁甲統宗》)Traditional associations
Chief (值符)Earth; a place of honored people; dignified and steadyA general was traditionally placed beneath it.
Serpent (螣蛇)Fire; waste, false appearances, change, and uneaseSudden scares and unusual events
Moon (太陰)Metal; quiet protection, integrity, and attention to detailYanbo Diaosou Ge (煙波釣叟歌) associates it with lying in wait.
Six Harmony (六合)Wood; protection, cooperation, and joyYanbo Diaosou Ge (煙波釣叟歌) associates it with hiding and getting away.
White Tiger (白虎), also Gouchen (勾陳)Metal; force, conflict, and injuryWeapons, disputes, and roads
Black Tortoise (玄武), also Vermilion Bird (朱雀)Water; quick thinking, inconsistency, and verbal disputesDocuments, disputes, and lost items
Nine Earth (九地)An image of Kun Earth; yielding and storingYanbo Diaosou Ge (煙波釣叟歌) associates it with setting up camp and staying concealed.
Nine Heaven (九天)An image of Qian Metal; strength and visibilityYanbo Diaosou Ge (煙波釣叟歌) associates it with deploying troops openly.

To remember the pair, think of Nine Heaven as moving upward into view and Nine Earth as drawing downward into storage. Then learn the other six.

6. Clockwise in Yang Dun, counterclockwise in Yin Dun

Place the Chief spirit in the palace where the Chief Star lands. The spirit order stays fixed: Chief, Serpent, Moon, Six Harmony, White Tiger, Black Tortoise, Nine Earth, Nine Heaven. In Yang Dun, place them clockwise around the outer ring. In Yin Dun, place them counterclockwise. The Yixue Xiangshu Lun (易學象數論) sums up the rule as “yang follows the forward direction; yin follows the reverse.”

Yang Dun, clockwise六合Six Harmony白虎White Tiger玄武BlackTortoise太陰Moon↻九地Nine Earth螣蛇Serpent值符Chief九天Nine HeavenYin Dun, counterclockwise玄武BlackTortoise白虎White Tiger六合Six Harmony九地Nine Earth↺太陰Moon九天Nine Heaven值符Chief螣蛇Serpent

Both diagrams place the Chief in Kan 1 (坎1), with south at the top. Yang Dun runs clockwise on the left; Yin Dun runs counterclockwise on the right. The Chief and White Tiger, directly opposite it, stay in the same places. The other six spirits switch sides.

Position relative to the Chief (值符)Yang Dun (陽遁)Yin Dun (陰遁)
1st palace clockwiseSerpent (螣蛇)Nine Heaven (九天)
2nd palace clockwiseMoon (太陰)Nine Earth (九地)
3rd palace clockwiseSix Harmony (六合)Black Tortoise (玄武)
Directly oppositeWhite Tiger (白虎)White Tiger (白虎)
3rd palace counterclockwiseBlack Tortoise (玄武)Six Harmony (六合)
2nd palace counterclockwiseNine Earth (九地)Moon (太陰)
1st palace counterclockwiseNine Heaven (九天)Serpent (螣蛇)

Several classical sources support this layout. Yanbo Diaosou Ge (煙波釣叟歌) places Six Harmony three steps ahead, Moon two steps ahead, Nine Heaven one step behind, and Nine Earth two steps behind. Qimen Baojian Yuding (《奇門寶鑑御定》) adds that Moon sits two steps ahead of the Chief in Yang Dun and two steps behind in Yin Dun. “Chaoshen Jieqi Zhizhi” (《易學象數論・超神接氣直指》) includes a complete example of each. I recalculated both in code and got the same star, door, and spirit positions.

7. Gouchen or White Tiger? Vermilion Bird or Black Tortoise?

Sources use different names for the fifth and sixth positions. I found three approaches.

Naming approachWhere it appears
Gouchen (勾陳) and Vermilion Bird (朱雀) in both Yang Dun and Yin Dun, with notes placing White Tiger (白虎) under Gouchen and Black Tortoise (玄武) under Vermilion BirdQimen Dunjia Tongzong (《奇門遁甲統宗》); both examples in “Chaoshen Jieqi Zhizhi” (《易學象數論・超神接氣直指》) also use Gouchen and Vermilion Bird.
Gouchen (勾陳) and Vermilion Bird (朱雀) in Yang Dun; White Tiger (白虎) and Black Tortoise (玄武) in Yin DunCommon in modern chart summaries. I did not find this distinction in the classical texts listed above.
White Tiger (白虎) and Black Tortoise (玄武) throughoutCommon in modern charting tools. Chengshi: Qimen Timing uses these names too.

An earlier source, the Tang-era Taibai Yinjing (太白陰經), lists Gouchen, Vermilion Bird, White Tiger, and Black Tortoise separately. It pairs each with a Heavenly Stem. They were four distinct spirits in that account. Later Eight Spirits layouts have only two positions for them, leading to two names for each position. When reading a chart, the positions are the same even if the names differ.

For directions in the Nine Palaces, see Nine Palaces and Later Heaven bagua (後天八卦). For how Yang Dun and Yin Dun are selected, see How to Determine the Chart Number (局數). For the full chart, see An Introduction to Qimen Dunjia.

8. Common questions

Are Qimen Dunjia's Nine Stars the same as the Nine Star Ki system?

No. Qimen's stars are Tianpeng (天蓬), Tianrui (天芮), Tianchong (天沖), Tianfu (天輔), Tianqin (天禽), Tianxin (天心), Tianzhu (天柱), Tianren (天任), and Tianying (天英). Nine Star Ki uses names from One White Water Star through Nine Purple Fire Star. The names and uses differ. They share the Lo Shu (洛書) numbers as a starting point.

Why can't I find Tianqin on the chart?

Tianqin (天禽) starts in the center. The rotating-plate (轉盤) method has no outer-ring place for it, so it lodges beside Tianrui (天芮) and moves with it. Find Tianrui to find Tianqin in the same palace.

What's the difference between the Chief Star and the Chief spirit?

The Chief Star is one of the Nine Stars (九星). The cycle head Jia (旬首) determines which star it is, and it changes with each cycle. The Chief (值符) spirit is the first of the Eight Spirits (八神). They land in the same palace, so charts often label them together.

Why do the Eight Spirits run in reverse in Yin Dun?

The classical rule runs forward in Yang Dun (陽遁) and backward in Yin Dun (陰遁), matching the directions used to place the Six Instruments (六儀). If the Chief stays in place, the opposite White Tiger (白虎) stays put too. The others switch sides.

Which matters more, the Nine Stars or the Eight Doors?

Yanbo Diaosou Ge (煙波釣叟歌) says to look to the spirits for urgent matters and the doors for matters that can wait. Later traditions weigh them differently. I don't choose one approach over another.

← Back to articles