Najia and the Six Relatives in the I Ching
How Liu Yao turns six lines into a chart.
Najia (納甲, “assigning the stems”) is the Han-dynasty method of giving each of the six lines of an I Ching hexagram a heavenly stem and an earthly branch. The six relatives (六親) compare the element of each line with the element of the hexagram’s palace and name the relation: parents, siblings, offspring, wealth or officer. Together they are the static layer of Liu Yao (六爻), the part on which the standard manuals agree.
By YiGram Editorial · Updated 2026-11-25
Step 1: give each line its stem and branch
Each trigram carries fixed stems and branches, one set when it is the lower trigram (lines 1–3) and one when it is the upper (lines 4–6). Look up the two trigrams of your hexagram and copy the branches line by line.
| Trigram | Stem (lower / upper) | Lower: lines 1 · 2 · 3 | Upper: lines 4 · 5 · 6 |
|---|---|---|---|
| 乾 Heaven | 甲 / 壬 | 子 zi · 寅 yin · 辰 chen | 午 wu · 申 shen · 戌 xu |
| 震 Thunder | 庚 / 庚 | 子 zi · 寅 yin · 辰 chen | 午 wu · 申 shen · 戌 xu |
| 坎 Water | 戊 / 戊 | 寅 yin · 辰 chen · 午 wu | 申 shen · 戌 xu · 子 zi |
| 艮 Mountain | 丙 / 丙 | 辰 chen · 午 wu · 申 shen | 戌 xu · 子 zi · 寅 yin |
| 坤 Earth | 乙 / 癸 | 未 wei · 巳 si · 卯 mao | 丑 chou · 亥 hai · 酉 you |
| 巽 Wind | 辛 / 辛 | 丑 chou · 亥 hai · 酉 you | 未 wei · 巳 si · 卯 mao |
| 離 Fire | 己 / 己 | 卯 mao · 丑 chou · 亥 hai | 酉 you · 未 wei · 巳 si |
| 兌 Lake | 丁 / 丁 | 巳 si · 卯 mao · 丑 chou | 亥 hai · 酉 you · 未 wei |
Stems and branches of the eight trigrams, read from the bottom line up.
Step 2: find the palace of the hexagram
The 64 hexagrams fall into eight palaces of eight, each named after a doubled trigram. From the doubled trigram, one line after another changes from the bottom (first to fifth generation), then the fourth line changes back (wandering soul), then the lower trigram returns (returning soul). The palace gives the hexagram its element.
| Palace | Doubledshi: line 6 | 1stshi: line 1 | 2ndshi: line 2 | 3rdshi: line 3 | 4thshi: line 4 | 5thshi: line 5 | Wanderingshi: line 4 | Returningshi: line 3 |
|---|---|---|---|---|---|---|---|---|
| 乾 Heavenmetal | 1 乾 | 44 姤 | 33 遯 | 12 否 | 20 觀 | 23 剝 | 35 晉 | 14 大有 |
| 震 Thunderwood | 51 震 | 16 豫 | 40 解 | 32 恆 | 46 升 | 48 井 | 28 大過 | 17 隨 |
| 坎 Waterwater | 29 坎 | 60 節 | 3 屯 | 63 既濟 | 49 革 | 55 豐 | 36 明夷 | 7 師 |
| 艮 Mountainearth | 52 艮 | 22 賁 | 26 大畜 | 41 損 | 38 睽 | 10 履 | 61 中孚 | 53 漸 |
| 坤 Earthearth | 2 坤 | 24 復 | 19 臨 | 11 泰 | 34 大壯 | 43 夬 | 5 需 | 8 比 |
| 巽 Windwood | 57 巽 | 9 小畜 | 37 家人 | 42 益 | 25 無妄 | 21 噬嗑 | 27 頤 | 18 蠱 |
| 離 Firefire | 30 離 | 56 旅 | 50 鼎 | 64 未濟 | 4 蒙 | 59 渙 | 6 訟 | 13 同人 |
| 兌 Lakemetal | 58 兌 | 47 困 | 45 萃 | 31 咸 | 39 蹇 | 15 謙 | 62 小過 | 54 歸妹 |
The eight palaces. Each number is a hexagram in the King Wen order; the columns also fix the shi line.
The position in the palace also fixes the shi line (世, the one who asks): lines 6, 1, 2, 3, 4, 5, 4, 3 in the order of the columns. The ying line (應, the other side) is three places away.
Step 3: name the six relatives
Take the element of the palace as “self” and ask how the element of each line relates to it. There are five relations; with the self they make the traditional “six”.
| Line element | Relative | Traditionally stands for |
|---|---|---|
| produces the palace element | Parents (父母) | documents, houses, learning, protection |
| is the same as the palace element | Siblings (兄弟) | peers, rivals, shared costs |
| is produced by the palace element | Offspring (子孫) | relief, joy, children, remedies |
| is controlled by the palace element | Wealth (妻財) | money, goods, resources |
| controls the palace element | Officer (官鬼) | office, pressure, illness, worry |
The elements produce each other in the order wood, fire, earth, metal, water, and control each other in the order wood, earth, water, fire, metal.
A worked chart: Hexagram 49
Hexagram 49 belongs to the Kan palace, whose element is water, as its fourth generation. Fire is the lower trigram and Lake the upper, which gives the branches; comparing each element with water gives the relatives.
| Line | 49 革 | Branch | Relative | shi (世) / ying (應) |
|---|---|---|---|---|
| 6 | ━━ ━━ | 丁未 wei · earth | Officer | |
| 5 | ━━━━━ | 丁酉 you · metal | Parents | |
| 4 | ━━━━━ | 丁亥 hai · water | Siblings | shi (世) |
| 3 | ━━━━━ | 己亥 hai · water | Siblings | |
| 2 | ━━ ━━ | 己丑 chou · earth | Officer | |
| 1 | ━━━━━ | 己卯 mao · wood | Offspring | ying (應) |
What the static layer can and cannot tell you
The static layer says which line stands for which part of your question, and which of those lines is moving. It does not say how strong a line is: that depends on the month and the day of the cast, and on combinations and clashes, where the schools differ.
YiGram computes exactly this layer for every cast and gives it to the AI reading as structure, as described in the methodology. The tables on this page come from the same rules, which are open source on GitHub, including a machine-readable file. They follow the Bushi Zhengzong (卜筮正宗, 1709), with the Zengshan Buyi (增刪卜易) and the Huangjin Ce (黃金策) as cross-references. If you find an error, the repository takes corrections.
Questions about najia
Who invented najia?
It is traditionally credited to Jing Fang (京房, 77–37 BCE), who also arranged the hexagrams into the eight palaces.
Why are there only five relations if they are called six relatives?
Because the self, the palace itself, is counted as the sixth. The names are parents, siblings, offspring, wealth and officer.
What is the difference between najia and reading the line texts?
The line texts (爻辭) are the words of the I Ching. Najia sets the words aside and works with branches and elements. YiGram reads the texts first and uses najia as structure underneath.
Is Liu Yao the same as Wen Wang Gua?
The names largely overlap. Both mean casting six lines with coins and reading them through najia, the six relatives and the date of the cast.