TianEon
Learn

The King Wen sequence: why the 64 hexagrams are in this order

Updated October 24, 2026

The King Wen sequence is the order in which the 64 hexagrams appear in the received Zhouyi, from Qian to Wei Ji. Its one firm structural rule is that the hexagrams come in 32 pairs: each even-numbered hexagram is the previous one turned upside down, or, where that would change nothing, its opposite. Beyond the pairs, the order is explained by tradition — above all by the Xugua commentary — rather than by any formula anyone has proved.

Why "King Wen"?

Tradition credits King Wen of Zhou (周文王) with doubling the eight trigrams into sixty-four hexagrams and composing the hexagram judgments, so the received order carries his name. That is an attribution, not a documented fact; the history of the text is longer and more layered. Calling it the King Wen sequence is simply the conventional way to distinguish it from the binary "Fu Xi" order that Shao Yong (邵雍) drew in the Song dynasty, discussed in Early Heaven bagua.

It is also not the only ancient order. The silk manuscript excavated at Mawangdui, from a tomb closed in 168 BCE, arranges the same hexagrams by their upper trigrams instead (see Mawangdui and the excavated I Ching). The received order is the one that the commentaries, and every translation from Legge and Wilhelm onward, follow.

The pairs: inverse or opposite

Write the hexagrams out in twos and the pattern is unmistakable. Hexagram 3, Zhun (Difficulty at the Beginning), turned upside down, becomes Hexagram 4, Meng (Youthful Folly). 11 Tai (Peace) inverted is 12 Pi (Standstill). 63 Ji Ji (After Completion) inverted is 64 Wei Ji (Before Completion).

Fifty-six of the sixty-four hexagrams work this way: 28 pairs of inverses — the same figure seen from the other end. Eight hexagrams, however, look the same upside down, so inversion cannot produce a partner. These four pairs are matched instead by opposites, every line flipped:

The Tang scholar Kong Yingda (孔穎達) put it in eight characters: 二二相耦,非覆即變 — "they are matched two by two; if not inverted, then changed." Later writers call the inverse partner 綜卦 and the opposite 錯卦. A fuller treatment, with all 32 pairs, is in hexagram pairs, and the general relationships between hexagrams are in nuclear, inverse and opposite hexagrams.

The pairing is not decoration. Partners usually address the same theme from two sides: Progress and Darkening of the Light, Decrease and Increase, Gathering Together and Pushing Upward. When you read one, the other is often the most useful second opinion.

The two canons

The received text is divided into an upper canon (上經), hexagrams 1–30, and a lower canon (下經), hexagrams 31–64. The split looks lopsided — thirty against thirty-four — until you count shapes instead of hexagrams. The upper canon has six self-inverse hexagrams and twelve inverse pairs: eighteen distinct figures. The lower canon has two self-inverse hexagrams and sixteen inverse pairs: also eighteen. Whether that balance was designed or noticed afterwards, it shows the division is not arbitrary.

The two halves also open in parallel. The upper canon begins with Qian and Kun, Heaven and Earth, and ends with Kan and Li, Water and Fire. The lower canon begins with 31 Xian (Influence, often read as courtship) and 32 Heng (Duration, often read as marriage), and ends with the two hexagrams of completion and incompletion. Commentators have long read this as cosmos first, then human relationships and affairs.

The Xugua: the order as a story

One of the Ten Wings, the Xugua (序卦, "Sequence of the Hexagrams"), walks through the whole order and gives a reason for each step. It opens:

有天地,然後萬物生焉。盈天地之間者唯萬物,故受之以屯。 — "There are Heaven and Earth, and then the myriad things are born. What fills the space between Heaven and Earth is the myriad things; therefore Zhun follows." And since 物生必蒙 — "things at birth are necessarily young and unformed" — Meng comes next.

The links are often clever, sometimes strained, and they read like a mnemonic chain as much as a philosophy. The text closes on a famous note: things cannot come to an end, and so the book ends with Wei Ji, Before Completion. The Xugua and Zagua guide covers this commentary, and its companion that reshuffles the pairs, in detail.

Interpreters disagree about how seriously to take it. Cheng Yi (程頤) used the Xugua's links at the head of each hexagram in his commentary; many modern scholars regard it as a later rationalisation of an order whose real origin is unknown. People have also searched the sequence for a hidden numerical logic, with no result that has won general acceptance.

What the order does not mean

This matters most for your readings:

  • A number is a position, not a score. Hexagram 64 is not "worse" or "later in life" than Hexagram 1. The numbers are a filing system.
  • There is no ladder of fortune. The sequence does not move steadily from good to bad, or from youth to age. Auspicious and difficult hexagrams are scattered throughout.
  • Neighbours are not predictions. Receiving Hexagram 11 does not mean Hexagram 12 is coming next. Your changing lines, not the sequence, tell you where a cast is heading — see why there are two hexagrams in a reading.

What the order does give you is context: the Xugua's account of how a situation arises from the one before, and a partner hexagram that shows the same situation from the other side.

Using the sequence when you read a cast

When you receive a hexagram, glance at its pair partner in the hexagram library. If you drew 41 Sun (Decrease), read the Judgment of 42 Yi (Increase) too: the pair reminds you that the two are phases of one movement. Then read the Xugua's line for your hexagram, as a sentence about how this kind of situation tends to arise. Keep both as background; the primary text, and above all your changing lines, remain the answer. And if you are learning the hexagrams by heart, memorising them in pairs halves the work — see how to memorise the 64 hexagrams.