Foodway

Tofu: Where It Came From and What the Records Show

A late story credits a Han prince with inventing tofu. The earliest written record is far later. What can be said between the two, and how the making became a recognised craft.

10 min read — 6 sections

A block of Bagongshan tofu from Huainan, Anhui

A Question With Two Answers

Ask where tofu came from and you will usually get one of two answers. The first is a story: a Han-dynasty prince, Liu An of Huainan, invented it while seeking an elixir with a group of alchemists in the Bagong hills. The second is a date: the earliest surviving written mention of tofu belongs to the Five Dynasties period, many centuries after Liu An. Both answers are repeated constantly, and they are often treated as if they were the same kind of claim. They are not. One is a tradition told about a person; the other is a sentence in a book that survives.

This page keeps them apart. It asks who is said to have invented tofu, what the earliest record actually says, how the practice reached the countries now associated with it, and what a modern heritage entry does and does not certify. It does not give a recipe, a set of proportions, or advice about eating tofu — those are different questions, handled elsewhere.

The Prince and the Alchemists

The best-known account places Liu An, prince of Huainan, in the hills near Shouxian in what is now Anhui province. He had gathered a circle of scholars and alchemists — later remembered as the Eight Gentlemen of Bagong — and the story says that a coagulant used in their experiments met a batch of soy milk and produced curd. A local variant has eight old men instructing him to eat ground soybeans for long life. Both are stories about a discovery made by accident in the search for something else.

The textual basis is much later than the event it describes. Li Shizhen wrote in the Ming-dynasty Compendium of Materia Medica that "the method of tofu began with Prince Liu An of Huainan". A Ming author was writing more than a millennium after the Han prince, and a statement of that distance is a tradition, not contemporary evidence. A Yuan-dynasty work, Wu Rui's Daily Materia Medica, repeats the same attribution, and a Five Dynasties note by Xie Chuo says the technique was not heard of before the three dynasties and began to be transmitted from Prince Liu An of Huainan. Each is a later source pointing backwards to the same name. None is a Han record of the making itself.

That does not make the story worthless. It explains why a locality takes pride in a craft and why Liu An's name is attached to it in poetry and local memory. The Song poet Zhu Xi wrote that had he known the "Huainan art" he would have made a living from it, and a Ming poem on Bagongshan tofu opens with the line that the Huainan method was the finest. These are evidence of a living tradition of attribution, not of a Han invention. Whether Liu An actually made the first tofu is left open here, just as the dumplings study leaves the Zhang Zhongjing story open rather than converting a legend into a fact.

The First Written Record

The earliest surviving written mention is narrower than the legend. Tao Gu's Qing Yi Lu, compiled in the Five Dynasties period, records an official named Shi Ji serving as magistrate of Qingyang. He kept himself honest and frugal, went without meat, and bought several pieces of tofu each day. The townspeople called tofu xiao zai yang — "a little slaughtered lamb". That is a small, practical sentence: by that period tofu was cheap enough for a poor official, available in a market, familiar enough to have a nickname, and regarded as a stand-in for meat.

What it establishes is existence by the Five Dynasties period, not the moment of invention. A first written record is the earliest thing we can point to in the surviving evidence; it is not the same as a first occurrence. The scholarly tendency is to place the emergence of tofu somewhere between the mid-Tang period and the Five Dynasties — earlier than Tao Gu's sentence, but far later than the Han. The exact point remains unsettled. Keeping that distinction is the whole method of this collection: say what the sources support, mark what they do not, and resist turning a popular explanation into a documented origin.

China or Japan?

A question that recurs in search is whether tofu is from China or Japan. The two are not rival inventions. The written record described above is Chinese and predates the extensive Japanese use of tofu, and a tradition recorded in Huainan says the method travelled east when the monk Jianzhen crossed to Japan in the Tang period. Korea is likewise linked to a later transmission from China. What the evidence supports is a Chinese origin for the written tradition and a later spread into neighbouring food cultures, where tofu developed its own forms and uses.

The confusion is understandable. In English-language sources tofu is often presented through Japanese terms and Japanese preparations, which can make the Japanese version look like the original. The point here is narrower and more useful: the sources place the first written record in China, and the craft was inscribed on a Chinese national heritage list in 2014 under the name tofu traditional making techniques. That is a documented status, not a claim that every later tofu culture is derivative of it.

The Craft and the List

In 2014 the State Council inscribed tofu traditional making techniques on the fourth batch of the national intangible cultural heritage list under number Ⅷ-232, naming Huainan and Shouxian in Anhui as the declaring regions; an extension for Tai'an in Shandong followed in 2021. The entry recognises a transmitted practice: how beans are selected and soaked, ground and strained, cooked and set with a coagulant, and pressed into shape. The named stages and tools — stone mills, fine cloth strainers, earthen stoves, pressing frames — carry local knowledge about timing and touch that is learned from another maker rather than read from a formula.

Choose the angle carefully. The inscription does not say that tofu as a food is heritage, that Liu An's story is true, or that any one town makes the definitive version. It names a practice and the people who carry it. A representative inheritor of the entry, Yang Shuntian, entered the Bagongshan bean-products factory in 1972 and learned the traditional setting method from older hands — a chain of workshop teaching that is the ordinary way a craft of this kind survives. The related craft of traditional tea processing is another example of the same principle: knowledge held in a chain of makers, not in a written specification.

Why the Distinction Matters

Calling a legend a legend is not an attack on it. It protects the parts of the record that are real. The Five Dynasties sentence about a frugal official and his "little slaughtered lamb" tells us something concrete about tofu as an everyday food. The national entry tells us something concrete about how a making tradition is kept alive now. The Liu An story tells us how a place remembers its own craft. Each is valuable at the weight it can bear, and muddling them does damage to the evidence.

This is also why the page stops where it does. It does not rank tofu-producing places, does not say which texture is correct, and does not turn an origin debate into a contest between countries. For the practices that can be documented — the first record, the transmission of the craft, the terms of the heritage entry — the evidence is clear enough to state, and that is the point of the exercise.

Sources and Evidence Tiers

Claims in this essay are labelled by what kind of support they actually have. Where the record is thin the entry says so rather than resolving it in either direction.

Documented 2 sources

A primary text or an official register states this directly.

  • China Intangible Cultural Heritage — national project list (snapshot 2026-11-25)

    Tofu traditional making techniques, project no. Ⅷ-232, fourth batch, approved 11 November 2014; Huainan (Ⅷ-232_04_340400) and Shouxian (Ⅷ-232_04_341521) in Anhui; extension for Tai'an, Shandong in 2021 (Ⅷ-232_10_370902). Source: ihchina.cn, the official national ICH database.

  • Representative inheritor Yang Shuntian — ihchina.cn

    Fifth-batch national representative inheritor of tofu traditional making techniques; born in Huainan; entered the Bagongshan bean-products factory in 1972 and learned traditional setting from older makers; described as mastering selecting, soaking, setting and finishing.

Archival 3 sources

Modern scholarship reports a primary text; the original has not been read directly here.

  • Tao Gu, Qing Yi Lu (清异录), Five Dynasties period

    Records the magistrate Shi Ji, too frugal to buy meat, buying tofu daily; the townspeople called it xiao zai yang ("little slaughtered lamb"). Earliest surviving written mention used here as evidence of existence by that period, not of origin.

  • Li Shizhen, Compendium of Materia Medica (本草纲目), Ming dynasty; Wu Rui, Daily Materia Medica (日用本草), Yuan dynasty; Xie Chuo, Xie Chuo Shi Yi (谢绰拾遗), Five Dynasties

    Later texts that attribute the method of tofu to Prince Liu An of Huainan. Used here as the documentary basis of the tradition, not as contemporary evidence of a Han invention.

  • Baike.baidu.com, 八公山豆腐 and 豆腐传统制作技艺

    Records the Liu An alchemy legend, Chinese poems referring to the "Huainan art", the 2014 national listing, the tradition of eastward transmission with Jianzhen, and the named craft stages. Used for craft description and the tradition of attribution; health claims on the page are not used.

Open question 2 sources

Insufficient evidence. Stated as unsettled rather than resolved either way.

  • Whether Liu An invented tofu

    Unsettled. The attribution rests on much later textual statements and a local alchemy legend; no contemporary Han record exists. Scholarship tends to place tofu's emergence between the mid-Tang period and the Five Dynasties. Stated as a tradition, not decided in either direction as an invention claim.

  • The exact date or place of tofu's first making

    Unsettled. The earliest surviving written record is a terminus, not an origin. No source consulted here establishes where or when tofu was first made.

Reference

Common Questions

Who invented tofu?

A widespread tradition credits Liu An, prince of Huainan, who is said to have made it while working with alchemists in the Bagong hills. The statement comes from much later texts — a Yuan work, a Five Dynasties note and Li Shizhen's Ming-dynasty Compendium of Materia Medica — not from a Han record. No contemporary evidence establishes the invention, and scholarship tends to place tofu's appearance between the mid-Tang period and the Five Dynasties. The attribution is treated here as a tradition, not a documented fact.

Is tofu from China or Japan?

The earliest surviving written record is Chinese and belongs to the Five Dynasties period, and a tradition recorded in Huainan says the method reached Japan with the monk Jianzhen in the Tang period. Japan then developed its own tofu traditions, which is why English-language sources often present it through Japanese terms. The evidence supports a Chinese origin for the written tradition and a later regional spread; it does not make later tofu cultures derivative.

What is the earliest written record of tofu?

Tao Gu's Qing Yi Lu, from the Five Dynasties period, records an official too poor to buy meat who bought tofu daily and whose neighbours called it "little slaughtered lamb". That shows tofu was a familiar, cheap food by then. An earliest surviving record is not the same as an origin, and no source consulted here establishes where or when tofu was first made.

Is tofu an intangible cultural heritage?

The craft is, in China. In 2014 "tofu traditional making techniques" was inscribed on the fourth batch of the national intangible cultural heritage list under number Ⅷ-232, naming Huainan and Shouxian in Anhui, with an extension for Tai'an in Shandong in 2021. The inscription recognises the transmitted making technique — not the food itself, not Liu An's story, and not any single producer.

What was tofu originally made for?

The earliest written record describes tofu as a cheap market food bought by a frugal official in place of meat, and the townspeople's nickname "little slaughtered lamb" makes that substitution explicit. The invention legend says it arose during alchemical experiments. Those are two different kinds of statement — a documented everyday use and a later story about an origin — and this page keeps them apart rather than merging them into one answer.

How is tofu-making knowledge passed on?

In workshops, from one maker to another. Yang Shuntian, a representative inheritor of the national entry, entered the Bagongshan bean-products factory in 1972 and learned the traditional setting technique from older hands. What transfers is judgement about the stages — reading the milk, feeling the set, adjusting to the season — which is why a written list of steps is not the craft itself. This page does not provide a recipe or proportions.

Where foodways live

Food tradition is learned by eating it where it belongs.

The visit layer follows food traditions to the regions and tables where they are still prepared and eaten — the practice behind the plate.

This is a reading link, not a booking. Opening hours, tickets and prices change — check current details with the provider on the visit page.