The sexagenary cycle: heavenly stems and earthly branches
The Chinese 60-term cycle of ten stems and twelve branches - Shang origins, how it counts days and years, why branches got animals, and the debates.

Overview
The sexagenary cycle (ganzhi, "stems and branches") is a count of 60 terms made by pairing two shorter lists: ten heavenly stems (tiangan) and twelve earthly branches (dizhi). It is the oldest device of the The Chinese calendar still in use, first attested as a count of days and only much later applied to years. The twelve branches are the items that later received the twelve animals, so the cycle is the skeleton underneath the "Year of the Horse" and its relatives described in Animal years: the twelve-animal cycle and other animal calendars.
Origins and history

The ganzhi count is first attested on Shang oracle bones from Anyang, from c. 1250 BCE to the dynasty's fall in the mid-11th century BCE. Almost every oracle-bone inscription carries a date in this form, and the earliest known writing already uses it for days. That the cycle is at least this old is the consensus; anything earlier is inference, though some scholars think the branches may be older than the stems. The Shang also grouped the stems into a ten-day unit (xun), and their kings' temple names combined a kinship term with a stem, as in "Grandfather Jia". The link of the stems to yin-yang and the five phases developed only after the Shang fell.
By tradition the Yellow Emperor's reign began in 2697 BCE (the date Martino Martini gave in 1658 from the Chinese chronicles; modern Chinese chronology usually gives 2698 BCE), taken as the first year of a cycle; the Yellow Emperor is a legendary figure, so this is a back-calculation, not history. The variant epoch of 2637 BCE and the tale that Da Nao invented the cycle for him are (unverified).
For many centuries the cycle named days only. Years were identified by a ruler's regnal year (see Eras, epochs and how years are counted) and, from the Warring States period (475 to 221 BCE), by the position of Jupiter. The earliest known use of the cycle for years is in silk manuscripts from Mawangdui tomb 3, sealed in 168 BCE, which date the first year of Qin Shi Huang (246 BCE) as yimao; the practice became widespread in administration under the Western Han (202 BCE to 8 CE), and the year count has run without a break since. Popular accounts sometimes date systematic year naming to the calendar reform of 85 CE (unverified), but the Mawangdui manuscripts and the Western Han administrative use described above put year labelling earlier. Years before the practice began have been labelled retrospectively.
How it works
The stems are jia, yi, bing, ding, wu, ji, geng, xin, ren, gui. The branches are zi, chou, yin, mao, chen, si, wu, wei, shen, you, xu, hai. Both lists advance together: jiazi, yichou, bingyin, and so on. Because the least common multiple of 10 and 12 is 60, the pair returns to jiazi after 60 steps, ending on guihai. Only half of the 120 conceivable pairs occur: odd stems meet only odd branches.
From the late Warring States and Han periods the cycle was woven into correlative cosmology:
- Yin and yang: odd-numbered stems and branches are yang, even-numbered ones yin.
- Five phases (wuxing): the stems fall into five pairs - jia and yi wood, bing and ding fire, wu and ji earth, geng and xin metal, ren and gui water. Each branch also has a phase.
- Space and time: the branches mark twelve compass directions (zi north, wu south), the twelve months (the zi month holds the winter solstice) and twelve double hours (zi runs from 23:00 to 01:00; see Hours, minutes and how the day is divided).
The standard animals are: zi rat, chou ox, yin tiger, mao rabbit, chen dragon, si snake, wu horse, wei goat or sheep, shen monkey, you rooster, xu dog, hai pig. A year's full name combines a phase-bearing stem with an animal branch, which is why 2026 CE, a bingwu year, is called a yang fire horse year. Subtract 4 from a CE year and take the remainders on division by 10 and 12 to get the stem and branch positions, counted from zero; 1984 CE was a jiazi year. The animal year begins at the Chinese New Year in one school and at the solar term lichun (about 4 February) in the other, not on 1 January; some feng shui schools treat a birth before lichun as belonging to the previous year. Months and hours were at first named by branches alone; later the stem of a month was derived from the year's stem and that of an hour from the day's stem.
What it was used for

Dating. The day count runs independently of months and years, like the seven-day week (see Weeks and the names of days and months), which makes it a strong check for historians. Eclipse records in the Spring and Autumn Annals (722 to 481 BCE) suggest that the day count has run unbroken since that period, and possibly since the Shang. NASA's eclipse catalogue lists a total solar eclipse on 22 February 720 BCE (Julian), whose central path lay far out in the Pacific; whether the Annals entry for that year records this event, and the 720 BCE anchor itself, are (unverified). Events are still known by their year: the Xinhai Revolution (1911 CE), Korea's Imjin War (1592 CE), Japan's Boshin War (1868 CE).
Divination and day selection. Qin and Han "daybooks" (rishu) used the stem and branch of a day to judge whether it suited marriage, travel, building or burial.
Bazi. The "eight characters" or four pillars are the stem and branch of a person's birth year, month, day and hour. Tradition, not secure documentation, credits the Tang scholar Li Xuzhong (c. 761 to 813 CE) with a three-pillar method (year, month and day) and the Song scholar Xu Ziping (the Song ran 960 to 1279 CE) with adding the hour; a closer date for Xu Ziping is (unverified). The method is still called the Ziping method. Practitioners read the day stem as the person, weigh the five phases, and follow ten-year luck cycles; in Korea the system is called saju and in Japan shichu suimei.
Why the branches got animals, and what they mean. The animals were standardized under the Han and paired with the branches; research suggests the animal system arose after the ganzhi cycle, each animal being assigned to an existing branch. The earliest evidence is in bamboo daybooks from tombs such as Shuihudi (closed c. 217 BCE) and Fangmatan (tomb 1, c. 230 to 220 BCE), where branches are matched to animals, which dates the animal series to the 3rd century BCE. The daybooks differ from the later standard and from one another: the Fangmatan texts come closest, while the Shuihudi list puts a deer under the wu branch and the horse under wei, uses a general word for reptile where the standard has separate dragon and snake, and gives some branches non-animal names such as stone or water. These differences may reflect regional traditions, with the Fangmatan texts nearer to northern Qin practice and Shuihudi nearer to Chu practice. (A deer also appears under the wu branch in the Sui-era Buddhist Mohe Zhiguan, which gives three animals per branch.) Wang Chong's Lunheng, from the late 1st century CE, is the earliest transmitted source for the traditional series, listing essentially the modern twelve animals, and the earliest written source for Tai Sui worship; that Wang Chong used the animals to mock five-phase reasoning is (unverified). Use of the animals for a person's birth year is clear by the 6th century CE (unverified). Proposed reasons:
- A mnemonic: abstract branch names were easily confused, and animals made them easier to remember; the Eastern Han scholar Xu Shen already noted that the characters for si (snake), hai and shi (pig) resembled animal images. That the aid served people who could not read, and that this is the most widely accepted explanation, is (unverified).
- Jupiter: the planet takes 11.86 years to circle the Sun (NASA), so it moves through roughly one of twelve stations per year, and the twelve signs are divisions of Jupiter's orbit, not of the Sun's path as in the Western zodiac. Tai Sui, a counterpart star opposite Jupiter, was personified as a deity by the Warring States period and later grew to sixty, one per stem-branch year; its branch named the year. This explains why years come in twelves, not why they are animals; see Jupiter's 12-year cycle and year-naming by planets and signs.
- Animal habits (rats active at midnight, and so on): later rationalisations by Song and Ming writers (unverified).
- Folklore: the race called by the Jade Emperor is a story told about the order, not a source for it; see Myths of the twelve animals: the Great Race and its variants.
The meaning attached to the animals is a matter of folk astrology: the birth-year animal is said to reflect how a person presents or is seen, while the month, day and hour animals carry other readings, and astrologers sort signs into compatible and clashing pairs by five-phase theory. Traits such as clever rat, steady ox or bold tiger vary by region.
Today and legacy

The cycle spread across East Asia; see Japanese, Korean and Vietnamese calendars and Buddhist, Tibetan and Southeast Asian calendars. Vietnam has a cat where China has a rabbit (perhaps through a pun on the old words for the two); Japan and Korea use a sheep where many Chinese sources say goat. Completing 60 years is a milestone birthday: huajia in China, hwangap in Korea, kanreki in Japan. In the bingwu "fire horse" (hinoeuma) year 1966 CE, births in Japan fell about 25 percent from the year before, to 1,360,974, because women born in such a year were thought to have a harsh temperament and bring ruin on a husband; the belief probably began in the early Edo period, and births fell about 4 percent in 1906. Almanacs, temples and fortune-tellers keep the cycle in daily use.
Controversies and debates
- What the signs originally were. No explanation is agreed. Guo Moruo argued that the branches derive from the Babylonian zodiac, comparing the shapes of some branch characters with Babylonian constellations; a Sino-Platonic Papers study calls this speculation without archaeological or historical support, and notes that the Babylonian zodiac was not formalized into twelve stations until about 700 BCE, after a complete ganzhi was already on oracle bones. Edwin Pulleyblank's 1991 article in Early China treated the 22 signs (ten stems and twelve branches) as phonograms naming the initial consonants of Old Chinese, with the calendar use following from that; the article was cited in the Cambridge History of Ancient China and by Smith. Jonathan Smith, building on David Pankenier's proposal that the 22 signs arose early, possibly before the Shang, proposed that the stems originally named ten ecliptic asterisms and that the branches first denoted lunar phases, while Sarah Allan (1991) connected the ten stems to the myth of ten suns that formed the ten-day unit. Another line, from Ferlus (2013), holds that the branch terms were pre-Shang borrowings from Austroasiatic languages. One theory also ties the branches to observations of Jupiter.
- Shang stem names. Whether a king's stem recorded his birth day, his death day, a day chosen by divination or membership of a ritual kin group is unresolved. David Keightley held that the stems were chosen after death by divination; K. C. Chang's kin-group view is (unverified).
- Foreign or Chinese animals. Edouard Chavannes argued in 1906 CE that the animal cycle came to China from Turkic peoples of the steppe (unverified), and a Buddhist legend also derives the twelve animals from a farewell to the Buddha. The Qin-era slips from Shuihudi (found 1975) and Fangmatan (1986) are dated to about 230 to 217 BCE, centuries before the earliest Turkic evidence (inscriptions of the 6th to 8th centuries CE (unverified)), which is why a Chinese origin with outward transmission is the prevailing view (unverified). Whether steppe usage fed back into China is (unverified). The Great Race story is regarded by historians as separate from how the system actually developed.
- Continuity. The claim of an unbroken day count back to the Shang rests on matching eclipse records to computed eclipses; the Annals-era records support continuity from the 8th century BCE, while the Shang extension is inference, and how disputed the matches are is (unverified).
- Jupiter slippage. Because 11.86 is not 12, Jupiter gains one station about every 86 years (11.862 / (12 - 11.862), a calculation from NASA's orbital period). The year count was cut loose from the planet in the Han (unverified), so the modern cycle is arithmetic, not astronomy.
- When year naming began. The 85 CE reform date is repeated in popular accounts but the Mawangdui silk manuscripts of 168 BCE show stem-branch years earlier.
Sources
- Books of Fate and Popular Culture in Early China: The Daybook Manuscripts of the Warring States, Qin, and Han (Harper and Kalinowski, Brill 2017) — daybook marriage, travel and death hemerology; animal-branch lists in the Fangmatan and Shuihudi daybooks, 3rd century BCE; Lunheng as first transmitted source; regional variation
- The Di Zhi as Lunar Phases and Their Coordination with the Tian Gan as Ecliptic Asterisms in a China before Anyang (J. M. Smith, Early China 33, Cambridge Core) — branches as lunar phases, stems as ecliptic asterisms, Pankenier's 22 signs
- The Ganzhi as Phonograms and their Application to the Calendar (E. G. Pulleyblank, Early China 16, Cambridge Core) — 22 signs as phonograms for Old Chinese initials; citing works
- The Chinese 60-Day/Year and Mesoamerican 260-Day Calendars (Sino-Platonic Papers 305) — Guo Moruo's Babylonian theory and its objections, ganzhi on oracle bones by 1200 BCE
- Sexagenary cycle (Wikipedia) — oracle-bone days, Annals eclipses and continuity, Mawangdui 168 BCE, Han adoption, 2697 BCE, Imjin, Xinhai
- Chinese zodiac (Wikipedia) — Han standardization, Xu Shen, Fangmatan, Mohe Zhiguan, Great Race, Vietnam cat, meanings
- Hinoeuma (Wikipedia) — 1966 births down 25 percent, 1906 down 4 percent, the superstition
- Yellow Emperor (Wikipedia) — 2697 BCE (Martini, 1658) and 2698 BCE in modern Chinese chronology
- Fangmatan (Wikipedia) — tomb 1 dated about 230 to 220 BCE, excavated 1986, with daybooks
- Four Pillars of Destiny (Wikipedia) — Li Xuzhong, Xu Ziping, saju and shichu suimei
- Lichun (Wikipedia) — feng shui schools that count births before lichun in the previous year
- Tai Sui (Wikipedia) — Tai Sui opposite Jupiter, Warring States, Lunheng, sixty Tai Sui
- Heavenly Stems (Wikipedia) — Shang temple names, Keightley, Allan, Smith, later yin-yang link
- Heavenly Stems and Earthly Branches (Hong Kong Observatory) — 60 pairs from jiazi to guihai, months and hours, zi hour 23:00 to 01:00, eight characters
- Jupiter fact sheet (NASA NSSDC) — sidereal period 11.86 years
- Jupiter facts (NASA Science) — about 12-year orbit
- Solar eclipses 800 to 701 BCE (NASA Eclipse Web Site) — eclipse of 22 February 720 BCE in the catalogue
- Historical eclipses (NASA Eclipse Web Site) — early Chinese eclipse records; does not cover the 720 BCE entry