Heavenly Stems and Earthly Branches: The Alphabet of BaZi
The ten heavenly stems and twelve earthly branches are the alphabet of BaZi. This guide lists their yin-yang and elements, the zodiac animals, hours and months of each branch, the hidden stems, and how the sixty-pair cycle works.
Published October 22, 2026
The heavenly stems and earthly branches are the ancient Chinese system for counting time, and they are the alphabet of BaZi: every one of the eight characters in a chart is either a stem or a branch. Once these two lists feel familiar, the five elements, the Ten Gods and luck cycles become much easier.
The ten heavenly stems
There are ten stems. Odd positions are yang, even positions are yin, and each pair belongs to one element:
| Stem | Pinyin | Yin/Yang | Element | Common image |
|---|---|---|---|---|
| 甲 | Jia | Yang | Wood | A tall tree |
| 乙 | Yi | Yin | Wood | Flowers and vines |
| 丙 | Bing | Yang | Fire | The sun |
| 丁 | Ding | Yin | Fire | A candle |
| 戊 | Wu | Yang | Earth | A mountain or city wall |
| 己 | Ji | Yin | Earth | Farmland |
| 庚 | Geng | Yang | Metal | A blade or raw iron |
| 辛 | Xin | Yin | Metal | Jewellery |
| 壬 | Ren | Yang | Water | A river or the sea |
| 癸 | Gui | Yin | Water | Rain and dew |
The twelve earthly branches
There are twelve branches, also alternating yang and yin. Each branch has a zodiac animal, a two-hour period of the day and a solar month:
| Branch | Pinyin | Yin/Yang | Element | Animal | Hours | Month starts at |
|---|---|---|---|---|---|---|
| 子 | Zi | Yang | Water | Rat | 11 pm–1 am | Daxue (Major Snow) |
| 丑 | Chou | Yin | Earth | Ox | 1–3 am | Xiaohan (Minor Cold) |
| 寅 | Yin | Yang | Wood | Tiger | 3–5 am | Lichun (Start of Spring) |
| 卯 | Mao | Yin | Wood | Rabbit | 5–7 am | Jingzhe (Awakening of Insects) |
| 辰 | Chen | Yang | Earth | Dragon | 7–9 am | Qingming (Clear and Bright) |
| 巳 | Si | Yin | Fire | Snake | 9–11 am | Lixia (Start of Summer) |
| 午 | Wu | Yang | Fire | Horse | 11 am–1 pm | Mangzhong (Grain in Ear) |
| 未 | Wei | Yin | Earth | Goat | 1–3 pm | Xiaoshu (Minor Heat) |
| 申 | Shen | Yang | Metal | Monkey | 3–5 pm | Liqiu (Start of Autumn) |
| 酉 | You | Yin | Metal | Rooster | 5–7 pm | Bailu (White Dew) |
| 戌 | Xu | Yang | Earth | Dog | 7–9 pm | Hanlu (Cold Dew) |
| 亥 | Hai | Yin | Water | Pig | 9–11 pm | Lidong (Start of Winter) |
Two things to remember: BaZi months begin at these solar terms, not on the first day of a lunar month; and the hours refer to local solar time, not clock time (see True Solar Time).
Hidden stems
Each branch also contains one to three stems. They take part in element and Ten Gods analysis too. The first one, the main qi, is the strongest.
| Branch | Hidden stems (main qi first) |
|---|---|
| Zi | Gui |
| Chou | Ji, Gui, Xin |
| Yin | Jia, Bing, Wu |
| Mao | Yi |
| Chen | Wu, Yi, Gui |
| Si | Bing, Geng, Wu |
| Wu | Ding, Ji |
| Wei | Ji, Ding, Yi |
| Shen | Geng, Ren, Wu |
| You | Xin |
| Xu | Wu, Xin, Ding |
| Hai | Ren, Jia |
The sixty-pair cycle
Stems and branches are paired in order: Jia Zi, Yi Chou, Bing Yin, and so on. Yang stems only pair with yang branches and yin with yin. Because the least common multiple of 10 and 12 is 60, there are sixty pairs, from Jia Zi to Gui Hai, and then the cycle starts again. It has been used to count years, months, days and hours, and the four pillars are exactly those four coordinates.
Finding the stem and branch of a year
Subtract 4 from the Gregorian year:
- The remainder after dividing by 10 gives the stem: 0 Jia, 1 Yi, 2 Bing, 3 Ding, 4 Wu, 5 Ji, 6 Geng, 7 Xin, 8 Ren, 9 Gui.
- The remainder after dividing by 12 gives the branch: 0 Zi, 1 Chou, 2 Yin … 11 Hai.
For 2026: 2026 − 4 = 2022. 2022 ÷ 10 leaves 2 (Bing) and 2022 ÷ 12 leaves 6 (Wu), so 2026 is a Bing Wu year, the year of the Horse. Remember that in BaZi the year changes at Lichun, not on 1 January.
How branches interact
Branches also combine and clash. These come up often when reading luck cycles:
- Six combinations: Zi–Chou, Yin–Hai, Mao–Xu, Chen–You, Si–Shen, Wu–Wei.
- Six clashes: Zi–Wu, Chou–Wei, Yin–Shen, Mao–You, Chen–Xu, Si–Hai. A clash often signals change.
- Three harmonies: Shen–Zi–Chen form water, Hai–Mao–Wei wood, Yin–Wu–Xu fire, and Si–You–Chou metal.
Next, learn how these characters work together through the five elements and favourable elements, or build your own chart with BaZi Chart and read along.
Try it yourself
Now try it on your own chart
Everything is free during the beta. Take what you just learned and see how it applies to you.
Try it free →