Skip to content
🚚¡Envío gratis en pedidos superiores a $40! 30 días de prueba gratuita, Reembolso disponible si no está satisfecho. 🚚¡Envío gratis en pedidos superiores a $40! 30 días de prueba gratuita, Reembolso disponible si no está satisfecho.

Heavenly Stems and Earthly Branches: The History Behind China's Ancient Timekeeping System

Heavenly Stems and Earthly Branches: The History Behind China's Ancient Timekeeping System

Introduction: How Did Ancient China Keep Track of Time?

Imagine living thousands of years ago, without digital calendars, clocks or modern ways to record dates.

How would you know when to plant crops, prepare for a change of season, hold an important ceremony or remember the day something happened?

In ancient China, people developed a system that helped them organize and record time. It became known as the Heavenly Stems and Earthly Branches, or Tiangan Dizhi (天干地支) in Chinese.

The system uses two repeating sequences:

The 10 Heavenly Stems (Tian Gan): A sequence of ten symbols.

The 12 Earthly Branches (Di Zhi): A sequence of twelve symbols.

When these two sequences move forward together, they create a cycle of 60 combinations. This is known as the 60 Stem-Branch Cycle, or the Sexagenary Cycle.

Today, this system is connected with the Chinese calendar, the twelve zodiac animals and traditional Chinese metaphysics. But it did not begin as a way to describe people's personalities or predict their futures.

Its early history is closely connected to something much more practical: keeping track of days and important events.

To understand the system, let's go back to ancient China.

1. Why Did Ancient China Need a Way to Record Time?

For thousands of years, agriculture was central to life in ancient China.

Farmers needed to understand seasonal changes, rainfall and the right time to plant and harvest crops. A mistake in timing could affect an entire year's food supply.

Time was also important to rulers. They needed to organize military activities, royal ceremonies, construction projects and offerings to their ancestors.

During the Shang dynasty (approximately 1600–1046 BCE), the royal court kept records of many important events. Some of the earliest surviving Chinese writing shows that people were already using the stem-branch system to identify dates.

This was more than a way to count days. In Shang society, recording dates was also connected with royal decisions, religious ceremonies and communication with ancestors.

The system gave each day a name made from two symbols. Because the symbols followed repeating sequences, people could identify dates without relying only on numbers.

In simple terms: The Heavenly Stems and Earthly Branches began as part of an ancient system for organizing time. Their later cultural and philosophical meanings developed over many centuries.

2. What Can Ancient Oracle Bones Tell Us?

Suggested image: A close-up photograph of Shang dynasty oracle-bone inscriptions on turtle shell or animal bone.

One of the most fascinating sources of information about early Chinese history is the oracle bone.

Oracle bones are pieces of animal bone or turtle shell that were used for divination during the Shang dynasty. Divination was a traditional practice in which people sought guidance about future events or important decisions.

Royal diviners would prepare the bones or shells and apply heat to create cracks. They then interpreted the cracks as part of the divination process.

The questions recorded on these objects covered many aspects of royal life, including:

  • Would the coming harvest be successful?

  • Would rain arrive?

  • Would a military campaign succeed?

  • Would a member of the royal family recover from illness?

  • When should an offering be made to the ancestors?

Dates were often included in these records. The stem-branch system helped identify the day on which a question or event took place.

This gives us an important historical clue: the system was already being used to record days in ancient China.

Why Is This Important?

Oracle-bone inscriptions provide some of the earliest direct evidence of Chinese writing and the use of the stem-branch system.

They also show how closely timekeeping was connected to royal life, religious practices and recordkeeping.

However, historians do not know every detail about why the original symbols were chosen or what every symbol meant at the beginning. Some explanations familiar today developed much later.

It is important to separate what ancient inscriptions directly show from the meanings that later Chinese traditions attached to the system.

3. Why Are There 10 Stems and 12 Branches?

The numbers ten and twelve are at the heart of this system.

The ten Heavenly Stems form one repeating sequence. The twelve Earthly Branches form another.

But why did ancient Chinese people use these particular numbers?

There is no single explanation that historians can prove accounts for the original creation of both sequences. However, the numbers ten and twelve also appear in important traditional ways of organizing time.

Number Traditional pattern Connection with time
10 Ten-day sequence Used in early date recording
12 Twelve-part division Later connected with months and daily time periods
60 Combined cycle Formed by pairing the two sequences

The ten-day sequence is particularly important in early Chinese records. The twelve Earthly Branches later became associated with the twelve zodiac animals and the twelve traditional periods of the day.

The number twelve also appears in the traditional organization of the year into months.

These connections help explain why ten and twelve became important in Chinese timekeeping. However, they should not be treated as proof that the entire system was invented for one specific reason.

The system developed over time, gaining new uses and meanings as Chinese calendar-making and traditional thought evolved.

4. The 10 Heavenly Stems: The First Sequence

The Heavenly Stems are called Tian Gan (天干) in Chinese.

They are ten symbols arranged in a fixed order. In later Chinese traditions, each stem became associated with Yin or Yang and one of the Five Elements: Wood, Fire, Earth, Metal and Water.

Here is a simple guide:

Heavenly Stem Yin or Yang Traditional element
Jia (甲) Yang Wood
Yi (乙) Yin Wood
Bing (丙) Yang Fire
Ding (丁) Yin Fire
Wu (戊) Yang Earth
Ji (己) Yin Earth
Geng (庚) Yang Metal
Xin (辛) Yin Metal
Ren (壬) Yang Water
Gui (癸) Yin Water

The five elements each appear twice: once in a Yang form and once in a Yin form.

For example:

  • Jia and Yi are both associated with Wood.

  • Bing and Ding are both associated with Fire.

  • Wu and Ji are both associated with Earth.

  • Geng and Xin are both associated with Metal.

  • Ren and Gui are both associated with Water.

These associations are part of the later traditional interpretation of the Heavenly Stems. They help explain how the system became connected with Chinese philosophy and metaphysics.

5. The 12 Earthly Branches: The Second Sequence

The Earthly Branches are called Di Zhi (地支).

They form a sequence of twelve symbols. Each branch is associated with one of the twelve Chinese zodiac animals.

You may already know the zodiac animals as the Rat, Ox, Tiger, Rabbit, Dragon, Snake, Horse, Goat, Monkey, Rooster, Dog and Pig.

But in the traditional calendar, these animals are connected to a much older system of timekeeping.

Earthly Branch Zodiac animal Main traditional element
Zi (子) Rat Water
Chou (丑) Ox Earth
Yin (寅) Tiger Wood
Mao (卯) Rabbit Wood
Chen (辰) Dragon Earth
Si (巳) Snake Fire
Wu (午) Horse Fire
Wei (未) Goat Earth
Shen (申) Monkey Metal
You (酉) Rooster Metal
Xu (戌) Dog Earth
Hai (亥) Pig Water

The element listed here is the main traditional element associated with each branch. More detailed Chinese metaphysical systems also consider additional elemental relationships within some branches.

Why Are the Branches Connected to Animals?

The twelve animal associations became an important part of Chinese culture and traditional calendar practices.

They made the twelve branches easier to recognize and remember. Over time, the animals also became widely used in stories, art, festivals and discussions about birth years.

However, the branches are not simply twelve animal names. They also help identify positions in the traditional calendar and the twelve time periods of the day.

6. How Do 10 Stems and 12 Branches Create 60 Combinations?

Now we can bring the two sequences together.

The Heavenly Stems and Earthly Branches each move forward in their own fixed order.

The first stem, Jia, is paired with the first branch, Zi. The next stem, Yi, is paired with the next branch, Chou. The process continues in the same way.

Here are the first ten combinations:

Position Combination Zodiac animal
1 Jia Zi (甲子) Rat
2 Yi Chou (乙丑) Ox
3 Bing Yin (丙寅) Tiger
4 Ding Mao (丁卯) Rabbit
5 Wu Chen (戊辰) Dragon
6 Ji Si (己巳) Snake
7 Geng Wu (庚午) Horse
8 Xin Wei (辛未) Goat
9 Ren Shen (壬申) Monkey
10 Gui You (癸酉) Rooster

After the tenth combination, the Heavenly Stems return to Jia. The Earthly Branches, however, continue from Xu.

There is another important rule: Yang stems pair with Yang branches, while Yin stems pair with Yin branches. This means that not every possible stem-and-branch combination is used.

The two sequences continue until both return to their starting positions.

This takes 60 combinations.

That is why the complete system is called the 60 Stem-Branch Cycle.

7. The Complete 60 Stem-Branch Cycle

The 60 combinations have a fixed traditional order. The cycle begins with Jia Zi and ends with Gui Hai.

The zodiac animal in each row comes from its Earthly Branch. This is why the same animal appears several times in the full table.

The table is divided into six smaller sections to make it easier to read on a phone.

Color key for the combination charts: the row color follows the Heavenly Stem's element: Wood (green), Fire (red), Earth (gold), Metal (gray) and Water (blue). Scroll vertically within each chart to see all rows.

Combinations 1–10

No. Stem-branch combination Zodiac animal
1 Jia Zi Rat
2 Yi Chou Ox
3 Bing Yin Tiger
4 Ding Mao Rabbit
5 Wu Chen Dragon
6 Ji Si Snake
7 Geng Wu Horse
8 Xin Wei Goat
9 Ren Shen Monkey
10 Gui You Rooster

Combinations 11–20

No. Stem-branch combination Zodiac animal
11 Jia Xu Dog
12 Yi Hai Pig
13 Bing Zi Rat
14 Ding Chou Ox
15 Wu Yin Tiger
16 Ji Mao Rabbit
17 Geng Chen Dragon
18 Xin Si Snake
19 Ren Wu Horse
20 Gui Wei Goat

Combinations 21–30

No. Stem-branch combination Zodiac animal
21 Jia Shen Monkey
22 Yi You Rooster
23 Bing Xu Dog
24 Ding Hai Pig
25 Wu Zi Rat
26 Ji Chou Ox
27 Geng Yin Tiger
28 Xin Mao Rabbit
29 Ren Chen Dragon
30 Gui Si Snake

Combinations 31–40

No. Stem-branch combination Zodiac animal
31 Jia Wu Horse
32 Yi Wei Goat
33 Bing Shen Monkey
34 Ding You Rooster
35 Wu Xu Dog
36 Ji Hai Pig
37 Geng Zi Rat
38 Xin Chou Ox
39 Ren Yin Tiger
40 Gui Mao Rabbit

Combinations 41–50

No. Stem-branch combination Zodiac animal
41 Jia Chen Dragon
42 Yi Si Snake
43 Bing Wu Horse
44 Ding Wei Goat
45 Wu Shen Monkey
46 Ji You Rooster
47 Geng Xu Dog
48 Xin Hai Pig
49 Ren Zi Rat
50 Gui Chou Ox

Combinations 51–60

No. Stem-branch combination Zodiac animal
51 Jia Yin Tiger
52 Yi Mao Rabbit
53 Bing Chen Dragon
54 Ding Si Snake
55 Wu Wu Horse
56 Ji Wei Goat
57 Geng Shen Monkey
58 Xin You Rooster
59 Ren Xu Dog
60 Gui Hai Pig

After the sixtieth combination, the sequence returns to Jia Zi and begins again.

This repeating pattern made the system useful for organizing time over long periods.

8. How Did Ancient Chinese People Use the System to Record Time?

The stem-branch system became part of several traditional ways of recording time.

Its uses developed over many centuries. It is important to remember that the earliest evidence for its use in recording days is older than its later use in naming years.

Recording Days

One of the earliest documented uses of the system was to identify days.

In Shang dynasty oracle-bone inscriptions, stem-branch names were used to record dates connected with divination and royal activities.

A repeating sequence made it possible to identify a particular day without relying only on a simple numerical count.

Recording Years

The system was later used to identify years in the traditional Chinese calendar.

Each year could be assigned one Heavenly Stem and one Earthly Branch. The branch also corresponded to one of the twelve zodiac animals.

For example, a Jia Zi year is associated with the Rat branch.

The same stem-branch combination returns every 60 years. This is why the cycle is sometimes called the 60-year cycle when used for traditional year names.

The exact beginning of a traditional year can depend on the calendar system being used. The Chinese lunar calendar and the solar-term system used in some Chinese metaphysical practices do not always mark the year boundary on the same date.

Dividing the Day into 12 Traditional Time Periods

The twelve Earthly Branches were also used to divide a day into twelve periods, each lasting approximately two modern hours.

Each period was associated with one of the twelve zodiac animals.

Earthly Branch Zodiac animal Traditional time
Zi Rat 11 PM–1 AM
Chou Ox 1–3 AM
Yin Tiger 3–5 AM
Mao Rabbit 5–7 AM
Chen Dragon 7–9 AM
Si Snake 9–11 AM
Wu Horse 11 AM–1 PM
Wei Goat 1–3 PM
Shen Monkey 3–5 PM
You Rooster 5–7 PM
Xu Dog 7–9 PM
Hai Pig 9–11 PM

This system divided the day into twelve named periods instead of the twenty-four numbered hours used by modern clocks.

It offers an interesting example of how traditional Chinese culture connected the measurement of time with the twelve Earthly Branches.

9. How Did the System Become Part of Chinese Philosophy?

The Heavenly Stems and Earthly Branches were originally used to identify and organize time. Over the centuries, they became connected with broader ideas in traditional Chinese thought.

Two important concepts are Yin and Yang and the Five Elements.

Yin and Yang

Yin and Yang describe two complementary qualities that are understood as part of the natural world.

In the stem-branch system, each Heavenly Stem and Earthly Branch has a Yin or Yang classification.

This became one way for traditional Chinese thinkers to describe the qualities and relationships associated with different time combinations.

The Five Elements

The Five Elements, known as Wu Xing (五行), are Wood, Fire, Earth, Metal and Water.

They are not simply five physical materials. In traditional Chinese philosophy, they describe five phases or patterns of change in nature.

The Heavenly Stems and Earthly Branches became associated with these five elements, allowing the timekeeping system to be used within a wider traditional framework.

BaZi: The Four Pillars of Destiny

One later tradition that uses the Heavenly Stems and Earthly Branches is BaZi, also known as the Four Pillars of Destiny.

BaZi uses four birth-time categories: year, month, day and hour. Each category contains one Heavenly Stem and one Earthly Branch, creating eight characters in total.

This is why BaZi is also known as the Eight Characters.

The stem-branch system therefore became an important foundation for later Chinese metaphysical practices. However, these later uses should be understood as developments of the original timekeeping system, not as its only purpose.

10. Why Is the System Still Used Today?

Modern life relies on digital calendars, clocks and international date formats. Yet the Heavenly Stems and Earthly Branches remain part of Chinese culture.

They are still used in traditional calendar systems and appear in discussions of zodiac years, seasonal timing, historical dates and Chinese metaphysical practices.

For many people outside China, the twelve zodiac animals are the most familiar part of this tradition.

But behind the animals is a much older system that helped people record days, organize time and understand recurring patterns in the natural world.

The history of the Heavenly Stems and Earthly Branches is not simply a story about twelve animals or fortune-telling. It is also a story about how ancient Chinese society developed a way to name and track time—and how that system continued to gain new cultural meanings over thousands of years.

Conclusion

The Heavenly Stems and Earthly Branches began as an important part of ancient Chinese timekeeping.

Some of the earliest surviving evidence appears in Shang dynasty oracle-bone inscriptions, where stem-branch names were used to identify days in records connected with royal divination and ritual activities.

Over time, the ten stems and twelve branches formed the 60-combination cycle. The system was used to record days and later became part of traditional year and timekeeping practices.

It also became connected with Yin and Yang, the Five Elements, the Chinese zodiac and BaZi.

Understanding its history helps us see the Heavenly Stems and Earthly Branches as more than a collection of unfamiliar symbols. They are part of a long cultural tradition that shows how ancient Chinese people organized time and understood the changing world around them.

References and Further Reading

  1. Cambridge University Press, The Archaeology of Measurement: Comprehending Heaven, Earth and Time in Ancient Societies, “Evolution of the Calendar in Shang China.”
    https://www.cambridge.org/core/books/abs/archaeology-of-measurement/evolution-of-the-calendar-in-shang-china/C6465ACCE5ACC6D6EF27922B8665EAA4

  2. Cambridge University Press, The Cambridge History of Ancient China, “The Shang: China’s First Historical Dynasty.”
    https://www.cambridge.org/core/books/cambridge-history-of-ancient-china/shang-chinas-first-historical-dynasty/CBBB66E6FE74948F988903AA3E4984C2

  3. Herbert F. Johnson Museum of Art, Cornell University, “Oracle Bone with Inscription.”
    https://emuseum.cornell.edu/objects/37225/oracle-bone-with-inscription

  4. United States Naval Observatory, Explanatory Supplement to the Astronomical Almanac, information on the Chinese calendar and sexagenary cycle.
    https://aa.usno.navy.mil/downloads/c15_usb_online.pdf

  5. NASA, “Calendars and Their History,” information on the Chinese calendar.
    https://eclipse.gsfc.nasa.gov/SEhelp/calendars.html

Share this article

SHOPPING CART

Loading cart...