The Khipu Code

A century of scholarship on what Inca knotted cords actually recorded — and what we still cannot read

Learning Objectives

By the end of this module you will be able to:

  • Describe the physical structure of a khipu and the variables that carry information (cord color, twist direction, ply, fiber, attachment orientation, knot type, knot position).
  • Explain how the decimal encoding system works, and contrast it with the binary coding hypothesis.
  • Summarize the scholarly debate about whether some khipu encoded narrative or phonetic content in addition to numerical data.
  • Identify what makes the undeciphered proportion of khipu a live research frontier rather than a settled absence.
  • Assess Garcilaso de la Vega's 1609 account as a historical source with specific, identifiable limits.

Core Concepts

What a khipu is

A khipu (also spelled quipu; Quechua for "knot") is a recording device made of a primary horizontal cord from which pendant cords hang. Those pendant cords can themselves have subsidiary cords attached. The physical properties of every cord and every knot are candidates for carrying meaning: color, fiber type (cotton or camelid), twist direction (S or Z), ply, the spacing between knots, knot type, and the orientation of the attachment knot that joins each pendant to the main cord.

Reading direction

Khipu are typically read from the main cord downward through the pendant hierarchy. The positional level of a knot on a cord encodes its decimal magnitude — highest on the cord = highest order of magnitude.

The decimal layer: what Locke established in 1923

The foundational breakthrough in khipu scholarship came in 1923, when American anthropologist L. Leland Locke analyzed 42 khipu held at the American Museum of Natural History. He demonstrated that khipu use a base-10 positional notation built from three knot types:

  • E-knot (figure-8 knot): represents 1
  • Long knot (wrapped 2–9 times): represents units 2–9
  • Single knot: represents 10 or a power of 10 depending on its position along the cord

The position of a knot cluster on a cord encodes its decimal place — the highest cluster is the highest order of magnitude — making this a true place-value system comparable in logical structure to the notation we use today. Cord color encoded categories (what is being counted), while knot structure encoded quantities. Locke's analysis provided the essential key that all subsequent work built on.

The mathematical sophistication goes further. Marcia and Robert Ascher's research (1970–1988) on 206 khipu found "sum cords" — special cords whose values match the totals of all other pendant values in a bundle. This proves that Inca administrators were not just recording numbers but performing systematic arithmetic: addition, subtraction, multiplication, division, and proportional fractional parts. A sum cord that is consistently correct is evidence of verified calculation, not approximate tallying.

The non-numerical layer: variables beyond the decimal

Locke's decimal model accounts for a portion of surviving khipu. Contemporary scholarship asks what the remaining physical variables encode. The candidates under active investigation are:

VariableDescription
Cord color and color patternWhich hue, whether dyed or natural, solid or mottled
Fiber typeCotton vs. camelid (alpaca, llama) fiber
Twist direction (S vs. Z)The direction in which the cord is spun
PlyHow cords are combined and twisted together
Knot orientationWhether the terminal knot is S or Z
Attachment knot orientationWhether a pendant attaches via verso or recto
SpacingThe distance between knot clusters

Evidence that these variables are meaningful rather than incidental comes from multiple directions. An 1895 testimony by an Aymara-speaking khipu maker, collected in unpublished field notes by the archaeologist Max Uhle and recovered from archival sources, provides direct evidence that twist direction (ply) was deliberately signifying — not structural, not decorative. And in a 2024 study published in Ethnohistory, Mackinley FitzPatrick identified, for the first time, attachment knot orientation (verso vs. recto) as a marked/unmarked sign system encoding moiety affiliation — upper versus lower social group membership — across six khipu from the Santa Valley. That is not numerical information at all.

The binary coding hypothesis

Gary Urton proposed that khipu encode non-numerical semantic content through the combination of multiple physical variables simultaneously. By calculating how many distinct values each variable can take, he estimated the system could generate over 1,500 unique units of information — a combinatorial capacity he compared to binary coding systems. The analogy is structural: just as binary digits combine to represent any value or symbol, khipu physical features combine to represent categories, identities, or narratives that are not reducible to numbers.

This hypothesis positions khipu as a potential proto-writing system — or a fully independent writing system — capable of encoding identity and narrative information.

The same object carries both a ledger and a letter. The decimal system was the part we could read first. The rest is still being learned.

The quipucamayoc: institutional holders of the system

The quipucamayoc (Quechua khipu kamayuq, "khipu-authority") were the specialists who created and deciphered khipu in the Inca empire — accountants, census-takers, tribute managers, historians. The role was not administrative convenience; it was an institutionalized knowledge position. Under Spanish colonial administration, quipucamayoc were recognized by colonial courts as legitimate authorities whose testimony could be summoned to settle disputes over tribute payments and goods production. A colonial court accepting khipu evidence is implicit legal acknowledgment that khipu functioned as independently intelligible records — not merely as reminders subordinate to what the keeper already remembered.

This matters interpretively. If khipu were merely mnemonic supplements to oral memory, there would be no basis for treating one keeper's reading as verifiable or authoritative over another's. The colonial legal record implies the opposite: that the khipu itself could, in principle, be consulted as a text.

Narrative Arc

1609: Garcilaso sets the terms

The earliest sustained account of khipu in European writing is Garcilaso de la Vega's 1609 Comentarios Reales. Garcilaso, the son of a Spanish conquistador and an Inca noblewoman, described quipu as "perishable expedients" that aided the recall of already-memorized histories — memory aids subordinate to oral transmission, not autonomous records. This interpretation dominated scholarly and popular thought for centuries. Khipu became, in this framing, impressive but fundamentally dependent on the speaker's prior knowledge.

The problem identified by contemporary scholars is that Garcilaso was not a quipucamayoc. He may have witnessed only "everyday" or publicly performed readings — the face the system showed to outsiders. The specialized encoding practices of trained keepers may have been deliberately restricted. What Garcilaso described could have been the accessible surface of a system whose depth he had no access to. His account is not fabricated; it is epistemologically bounded.

1923: Locke decodes the numbers

Three hundred years after Garcilaso, Locke demonstrated that the knot structure of khipu encodes a consistent, verifiable decimal system. This was not guesswork — the sum cords made it falsifiable. You could check whether the arithmetic was correct. It was. This gave khipu scholarship something it had lacked: a ground truth, a portion of the code that was definitively readable.

It also, paradoxically, narrowed the frame for decades. If khipu encode numbers, and the numbers check out, why posit anything more? The accounting interpretation became the default.

1970s–1988: The Aschers build the corpus

Mathematician Marcia Ascher and anthropologist Robert Ascher spent roughly two decades cataloging hundreds of khipu from museum collections across the Americas and Europe. Their foundational corpus documented mathematical relations among pendant cords systematically: how pendants summed other pendants, how top cords registered the sums of all pendants, how pendants summed across khipu by color. Every subsequent quantitative analysis of khipu structure has built on this work. The Aschers established that khipu mathematics was not isolated to single objects but operated across khipu — a networked record-keeping system.

2000s–2010s: Beyond the decimal

As the corpus grew and computational methods became available, scholars began systematically examining the non-numerical variables. Urton proposed the binary coding hypothesis. Computational analysis of khipu from the administrative center of Puruchuco revealed how census and tribute data were synthesized across hierarchical accounting levels — administrative sub-units feeding data upward into regional totals. This demonstrated the khipu system functioned as a layered bureaucratic infrastructure, not isolated ledger books.

2015–2017: The phonetic hypothesis

In 2015, researchers identified khipu in San Juan de Collata (Peru) that appeared to be written letters exchanged by local leaders during an 18th-century revolt against Spanish authority — not numerical records at all. Anthropologist Sabine Hyland claimed the first phonetic decipherment of these epistolary khipu. Her methodology proposes that cord color and material properties encode Quechua phonemes: for instance, she hypothesizes that a blue llama cord twisted clockwise symbolizes the syllable "ka," linking the regional word ankas ("blue") to its initial sound. This remains the most contested area of khipu scholarship — the hypothesis has not been independently confirmed — but it represents the sharpest challenge yet to the accounting-only model.

2024–present: Structural signs and open repositories

FitzPatrick's 2024 identification of attachment knot orientation as a moiety-encoding sign system is the most recent confirmed structural discovery. It establishes that at least one non-numerical variable encodes categorical social information in a systematic, falsifiable way.

In parallel, open-access digital infrastructure has transformed the field. The Open Khipu Repository, administered by FitzPatrick's Open Khipu Research Laboratory, and the Khipu Field Guide, which has curated and restored data for 703 khipu, now make the corpus accessible to computational researchers worldwide. The next breakthroughs will likely come from machine learning applied to this open data.

Worked Example

Puruchuco: a khipu system in administrative action

The site of Puruchuco on the central coast of Peru was an Inca administrative center whose excavated khipu provide one of the clearest available pictures of how khipu functioned as a bureaucratic system rather than as isolated records.

Computational analysis of the Puruchuco khipu reveals a three-level hierarchy:

  1. Local khipu recorded granular data — individual households, small units of tribute, local labor obligations.
  2. Intermediate khipu synthesized data from multiple local khipu into regional summaries.
  3. State-level khipu aggregated the regional data into empire-wide accounts.

The data did not just flow upward by copying. Administrators manipulated the data during transfer — combining, proportioning, recalculating — before recording it at the next level. You can verify this because the mathematical relationships between khipu at different levels are internally consistent in ways that could not be coincidental.

Why this matters for the broader question

Puruchuco demonstrates that khipu was an infrastructure: a system designed so that multiple specialists at multiple administrative levels could coordinate records across space and time. The quipucamayoc who held the local khipu and the official who received the state-level khipu were using compatible, interoperable objects. That requires a shared encoding convention — a "language," in the functional sense — not just individual keepers with idiosyncratic mnemonics.

This is the case that makes the Garcilaso "mnemonic supplement" reading hardest to defend at scale. A mnemonic device helps one person remember. An administrative infrastructure with verified arithmetic and hierarchical data synthesis is something else.

Key Takeaways

  1. The decimal system is established, not hypothetical. Since Locke's 1923 analysis and confirmed by Ascher's corpus work, it is clear that khipu encode base-10 positional numbers through three knot types. Sum cords make this falsifiable — and the arithmetic checks out.
  2. The physical variables extend well beyond knots. Color, fiber, twist direction, ply, spacing, knot orientation, and attachment knot orientation are all candidates for carrying non-numerical meaning. At least some of these — including ply and attachment orientation — have direct evidential support.
  3. The undeciphered proportion is not a settled negative. Approximately 450 of 600 surviving khipu have been analyzed for non-numerical content; many remain opaque. The absence of a bilingual key (khipu paired with a Spanish document translating it) means we cannot yet read the full system, but that absence of a key is not evidence the system is only numerical.
  4. The quipucamayoc and the colonial court record are crucial evidence. The fact that Spanish colonial courts recognized quipucamayoc testimony as authoritative implies that khipu functioned as independently verifiable records, not oral performances triggered by knotted prompts.
  5. Garcilaso is a source with known limits, not a definitive authority. His 1609 account shaped interpretation for centuries, but he was not a specialist and almost certainly did not have access to restricted encoding practices. His description captures something real — and something partial.

Further Exploration

On khipu structure and the decimal system

On the decipherment debate

On the Ascher corpus and computational approaches

On FitzPatrick's 2024 breakthrough

For institutional context