The Complete Guide to Na Jia Hexagram Setup

Start from scratch and master the core techniques of Na Jia divination, step by step.

What Is Na Jia Hexagram Setup?

Get a clear grasp of the core concepts behind Na Jia.

Na Jia hexagram setup is the foundation of Liu Yao divination. By mapping the Heavenly Stems and Earthly Branches onto a hexagram, you create a complete divination framework. Originally developed by Jing Fang during the Han Dynasty, this method blends the Eight Trigrams with traditional calendrical cycles to deliver highly accurate readings.

Pinpoint Accuracy
Each line is precisely mapped to its corresponding Heavenly Stem and Earthly Branch.
Comprehensive Framework
Covers every hexagram pattern in an easy-to-learn, easy-to-use format.
Time-Tested Tradition
A cornerstone of traditional Chinese philosophy and cosmology.
Highly Practical
Builds a solid theoretical foundation for accurate Liu Yao predictions.

The Na Jia Mnemonic

The essential rhyme every Liu Yao practitioner memorizes.

Qian (Metal): Inner Jia-Zi, Outer Ren-Wu. Kun (Earth): Inner Yi-Wei, Outer Gui-Chou.

Gen (Earth): Inner Bing-Chen, Outer Bing-Xu. Dui (Metal): Inner Ding-Si, Outer Ding-Hai.

Kan (Water): Inner Wu-Yin, Outer Wu-Shen. Li (Fire): Inner Ji-Mao, Outer Ji-You.

Zhen (Wood): Inner Geng-Zi, Outer Geng-Wu. Xun (Wood): Inner Xin-Chou, Outer Xin-Wei.

— The Na Jia Hexagram Mnemonic

This mnemonic is essential for Liu Yao divination. It clearly maps the Eight Trigrams to the Heavenly Stems and Earthly Branches, forming the foundation for setting up any hexagram.

Na Jia Reference Table for the Eight Trigrams

Quickly look up the inner/outer Heavenly Stems and starting Earthly Branch for each trigram.

TrigramInner StemOuter StemEarthly Branches (Lines 1–6)
JiaRenZi, Yin, Chen, Wu, Shen, Xu
DingDingSi, Mao, Chou, Hai, You, Wei
JiJiMao, Chou, Hai, You, Wei, Si
GengGengZi, Yin, Chen, Wu, Shen, Xu
XinXinChou, Hai, You, Wei, Si, Mao
WuWuYin, Chen, Wu, Shen, Xu, Zi
BingBingChen, Wu, Shen, Xu, Zi, Yin
YiGuiWei, Si, Mao, Chou, Hai, You

Hexagram Setup Rules & Walkthrough

Follow along step-by-step using the Ze Lei Sui hexagram as an example.

1

Identify the Upper and Lower Trigrams

The upper (outer) trigram is Dui ☱, and the lower (inner) trigram is Zhen ☳.

2

Assign the Heavenly Stems

Lower (inner) trigram Zhen mnemonic: Zhen (Wood): Geng-Zi inside, Geng-Wu outside
→ Inner Stem is Geng, governing Lines 1, 2, and 3.
Upper (outer) trigram Dui mnemonic: Dui (Metal): Ding-Si inside, Ding-Hai outside
→ Outer Stem is Ding, governing Lines 4, 5, and 6.

3

Assign the Earthly Branches

Lower (inner) trigram Zhen branches:
Zhen (Wood): Geng-Zi inside, Geng-Wu outside → Line 1 starts with Zi
• Line 1 = Zi
• Line 2 = Yin (skips Chou after Zi)
• Line 3 = Chen (skips Mao after Yin)
Upper (outer) trigram Dui branches:
Dui (Metal): Ding-Si inside, Ding-Hai outside → Line 4 starts with Si
• Line 4 = Hai (Si is 3rd in sequence)
• Line 5 = You (skips Xu after Hai)
• Line 6 = Wei (skips Shen after You)

Na Jia Chart for the Ze Lei Sui Hexagram

Line PositionStem & Branch
Top Line (6)丁未
Line 5丁酉
Line 4丁亥
Line 3庚辰
Line 2庚寅
Bottom Line (1)庚子

Try It Yourself

Pick a hexagram and practice setting it up.

Select Lower (Inner) Trigram
Select Upper (Outer) Trigram
宫 /
Lower Trigram Mnemonic (Inner):乾Metal甲子外壬午
Upper Trigram Mnemonic (Outer):乾Metal甲子外壬午

Complete Na Jia Chart

Line PositionStem & Branch
Line 1 甲子
Line 2 甲寅
Line 3 甲辰
Line 4 壬子
Line 5 壬寅
Top Line 壬辰

Swap out different trigrams to see how the chart changes.