Vol. 1 · No. 336 December 2026
Wednesday, December 2, 2026

The Granary Underground: A Chinese History Story

In 749 the state granaries of Tang China held twelve and a half million shi of grain. Nearly half of it lay under one walled field outside Luoyang, in pits dug like buried jars, lined with fire-hardened earth and packed with chaff. This Chinese history story follows the granary at Hanjia from the emperors who chased their grain east, through the bricks that recorded each pit like a ledger entry, to the year the books stopped and the grain that came out of the ground black in 1971.

In 1971, while ground was being broken north of the old city of Luoyang, the shovels came up through a layer of matting.

Under the matting was more matting. Under that was grain.

The grain had gone black. Picked up in the hand it was hard as small stones.

Only when the survey was done did anyone understand the scale of it. This was not one pit. It was a field of pits.

Two hundred and eighty-seven were found by drilling. Others put the full count at more than four hundred when the place was in use.

Both numbers can be true.

Drilling only reaches what it reaches. Part of the field lies under a village, a road and a row of houses, and cannot be touched.

Other pits were cut open centuries ago by wells, cesspits and later foundations, and left nothing to find.

So four hundred is an estimate and two hundred and eighty-seven is a count.

Nineteen pits were opened. Nine of them contained bricks.

The bricks had writing on them.

The Ground North of the City

In 605 the emperor Yang Guang ordered a new eastern capital built on the Luo river.

The labour was counted in millions of man-months. It took ten months.

The palace stood near the water. Along its northern side ran a walled enclosure called Hanjia.

Hanjia had two jobs. To the south it was a shield for the palace. To the north it was a granary town.

The emperors of Sui and Tang spent as much time in Luoyang as in Chang’an.

The reason was plain.

Chang’an sat in a basin, and the basin did not grow enough to feed itself. Once the population rose, the Wei river could not carry the difference.

In 594 the harvest failed, and the emperor went east with a crowd of hungry people to eat in Luoyang. The histories gave him a nickname: the emperor who chased his grain.

Under the Tang, Gaozong and then Wu Zetian lived in Luoyang for long stretches, and food was half the reason.

Where a dynasty puts its capital follows where the grain comes from.

So the digging began on the high ground inside Hanjia.

A second granary went up outside the city wall, west of the Luo, called Huiluo.

Huiluo was built fast and used briefly. Its walled compound ran a kilometre east to west and three hundred metres north to south, and more than two hundred pits have been found inside it.

Hanjia lasted longer. Its compound measured six hundred metres by seven hundred, more than forty hectares.

There was more inside it than pits.

There were roads, wells, houses for the men who kept the accounts, and hard-packed earth where carts had stood.

A granary town is a small town, except that few people live in it and a great deal is stored.

The Sui fell. The Tang took the granaries over and went on using them for two hundred years.

A dynasty can collapse without its grain being buried. The next one simply sends different men to count it.

Huiluo had less luck. It stood outside the walls, close to the river, and in the wars at the end of Sui it was abandoned first.

Hanjia was inside the walls. The wall held, the guards held, and the pits survived.

A Jar the Size of a Room

The pits were not built. They were dug.

A round hole, wide at the mouth and narrow at the base, like a jar sunk into the ground.

That shape is not decorative. A wall that leans inward carries its own weight, and does not fall in.

The mouth is a dozen metres across and the floor six or seven metres down. A man standing at the bottom looks up at a circle of sky.

Then the burning.

Fires were kept going in the pit for days until the earth of the wall hardened into a shell.

That shell is the first barrier against damp.

Then matting. Then chaff. Then matting again.

Chaff is the husk left after threshing. It does not take up water. It blocks the moisture and it blocks the heat.

The grain went in, and the top was covered with matting, packed with chaff, and sealed under earth.

By the end, the grain had no contact with air, water or insects.

Later writers gave the method a name: matting with chaff between.

Filling a pit was a scene.

Grain came off the boats and was measured out by the dou, one measure at a time, and tipped in.

One man called the numbers. One man wrote them down. The officer in charge of the granary stood and watched.

A single pit held hundreds of thousands of jin. Filling one took days.

When it was full, the earth went back on, a rough shelter was raised over it, and the pit number was painted up.

When several hundred pits were opened in the same season, the high ground was covered with people.

Why go to all this trouble.

Because grain spoils.

The Tang Code of Administration is blunt about it. Millet keeps nine years. Rice keeps five. In low wet ground, millet keeps five and rice three.

Anything short of that is a shortfall on the books.

A shortfall is paid for by the man whose name is on the account.

So the pit is dug deep, the wall is burned hard, the chaff is packed thick. None of it is fussiness. All of it is insurance.

What the Bricks Say

In the nine pits that produced bricks, the wording runs to a pattern.

First the granary and the position: Hanjia, so many rows south from the east gate, so many pits west.

Then the origin and the kind of grain: tax rice from such a prefecture, tax millet from such a prefecture.

Then the quantity in shi. Then the date.

Then the men: the officer who sealed the pit, the clerk, the supervisor, a string of names and titles.

One brick reads: tax rice from Suzhou, thirteen thousand shi.

Suzhou is in the lower Yangzi, more than a thousand kilometres away. The rice came up the canal, into the Yellow river, into the Luo, and was unloaded on this high ground.

Suzhou is not the only name on the bricks. Chuzhou, Jizhou, Xingzhou, Dezhou, Puzhou.

Millet from the north, rice from the south, all of it stacked in one field outside Luoyang.

If a single pit held grain from several prefectures, it held more than one brick.

Which section of the pit came from which prefecture was written down. If something went wrong, there was a man to find.

The position line tells you something else. The pits were laid out in rows.

Rows ran east to west, columns north to south, and a man walking in through the gate knew where he was going.

This was not random digging. It was dug to a plan.

None of these words were meant for us.

They were meant for the auditor.

A state granary is public money in another form, and public money needs an account.

The pit number is the address. The prefecture is the origin. The quantity is the receipt. The officer name is the liability.

Tang administration sorted its storage by purpose. The prefectural granary held the tax. The transit granary held grain in motion. The capital granary fed the court. The frontier granary fed soldiers. The price granary bought cheap and sold dear. The charity granary held grain against famine.

Hanjia was two of these at once. It was a transit depot and it was the eastern capital larder.

Grain arrived in two ways as well.

One was the tax, collected by acreage, recorded on the bricks as tax rice from a named prefecture.

The other was purchase. The state bought grain in good years at a set price and held it, then opened the pits when the price climbed.

Tax is hard and arrives every year. Purchase is soft and follows the harvest.

Both went into the same field of pits, and the accounts were kept apart.

The books closed once a year. Grain in, grain out, and loss written down as loss.

The finer the account, the less a keeper could take.

A thousand years later the ledgers are dust. The bricks are not.

Those few dozen characters are the only part of this granary that time did not eat.

Cutaway view of a Tang grain pit with matting and chaff layers - Chinese history illustration

The Year 749

The Tongdian preserves the audit of the granaries for 749.

In that year the state held twelve million six hundred and fifty-six thousand six hundred and twenty shi of grain of all kinds.

That figure covers the whole empire. It was scattered across prefectural granaries, price granaries and charity granaries from the frontier to the coast.

Hanjia alone held five million eight hundred and thirty-three thousand four hundred shi.

Very nearly half.

One depot, half a country.

The number needs care.

A shi is a measure of volume, not weight. In Tang terms one shi came to some dozens of kilograms on a modern scale, and the measures themselves were not uniform from province to province.

So the conversion is rough.

The proportion is not rough. Close to half of the state grain of the empire lay under one field outside Luoyang.

Why Luoyang.

Because of the canal.

Rice boats came up from the Yangzi. At Luoyang they had to unload, transfer, and wait for the level of the Yellow river.

Luoyang was the hinge of the system. A hinge needs a store, and the store has to be big enough that a boat does not wait.

The canal had a known capacity of its own.

In 733 the minister Pei Yaoqing reorganised the transfer, and in three years moved seven million shi to the capital region.

Two million a year, more or less, was what it took to keep Chang’an fed.

Hanjia held more than twice the annual flow.

It was not a warehouse. It was a buffer.

A good harvest in the south, and the boats came up and unloaded at Luoyang. A bad year in the west, and the grain went on from Luoyang.

The gap between the two was carried by those pits.

Grain does not lie still in a pit for ever.

After a set number of years it was rotated: the old grain out to the army, to state workshops, to a famine district, and new grain in.

So the figure for 749 is a stock on one day, not a total across centuries.

Behind a single line in a ledger is grain that moved every day of the year.

How a Granary Empties

Six years after that audit, An Lushan raised his army at Fanyang.

Luoyang fell quickly, and the granaries changed hands.

In war, grain is currency. Whoever takes the city opens the pits first.

The city changed hands several times in eight years.

Most of the houses burned. The wall of the granary compound stood, and the pits stood, but nobody was keeping the books.

A granary without books is not a granary. It is a set of holes.

Then the canal itself changed.

After the rebellion the transport commissioner Liu Yan split the route into stages, with grain unloaded at Bianzhou and again at Shanzhou. Luoyang stopped being the hinge.

The pits were there. The accounts were there. The people stopped coming.

The Tang fell, and Hanjia with it.

The Luo flooded more than once in the Song, and silt closed over the high ground.

Farming above, pits below. Nobody could say what was underfoot.

Then in 1971 a shovel rang on matting.

Nineteen pits were excavated. One of them, numbered 160, still held most of its grain.

The grain had carbonised. It was black, and the grains were still separate.

Weighed out, it came to something like half a million jin.

It had not rotted in more than a thousand years, because the pit was dry, sealed and steady in temperature.

Nobody had eaten it. Nothing had destroyed it. It simply stayed.


The site is a national protected area now.

In 2014, when the Grand Canal was inscribed by UNESCO, both Hanjia and Huiluo were named among the heritage points.

A small museum stands on the ground. Pit 160 is open to the air, its floor covered with a layer of black grain that catches the light.

Lean over the railing and it is an ordinary round hole.

The wall is baked earth, the colour of brick.

Europe had the same problem and solved it the other way.

Rome lived on grain ships from Egypt. The cargo was unloaded at Ostia into horrea, long warehouse blocks with raised floors, thick walls and small windows.

The floor was raised for air, and to keep the rats out.

Romans built upwards, in stone and vault, to beat the damp.

Chinese builders dug down, and used fire and chaff.

Two methods, one purpose: to carry grain across the winter that has no harvest.

The Roman warehouses are ruins with visitors. The Chinese pits still have grain in them.

Modern granaries use the same logic with better tools.

Temperature probes, humidity control, nitrogen flushing, fumigation against insects and mould.

Two thousand years on, the enemy is still water, heat and insects.

However carefully the account is kept, nobody counts on being dug up in a thousand years.

The grain was never eaten. The books were never audited again.

They simply stayed where they were, and testify that a dynasty once counted a single grain of rice that closely.

Like (0)
AdminAdmin
The Boy Who Would Not Kneel: A Chinese History Story
Previous 11/21/2026 05:25
Kublai Khan: The Nomad Who Became Emperor of China
Next 11/21/2026 06:41

Related posts

  • Six Years Behind One Wall: A Chinese History Story

    For six years the Song held Xiangyang, a walled town on the Han River that stood between the Mongol armies and the Yangtze. This Chinese history story follows the blockade built out of three small forts, the three thousand boatmen who cut the chains and rowed into the town at dawn, the counterweight engine that broke the sister city across the water, and the commander who opened the gate in 1273 and ended the Southern Song three years later.

    10/23/2026
  • The Old General Who Leapt Over the Wall: A Chinese History Story

    In March 1885 a sixty seven year old general came out of retirement, built a wall across a mountain pass in Guangxi, and threw back a French attack at the point of a spear. Six weeks later Beijing signed the treaty that gave away the reason for the war. This Chinese history story follows the battle of Zhennan Pass and the peace that undid it.

    11/09/2026
  • The Last City on the Yellow River: A Chinese History Story

    In 1227 an army sat outside the capital of the Western Xia for half a year. The wall cracked in an earthquake, the emperor asked for one month of grace, and the man he was surrendering to had already been dead for three days. This Chinese history story follows a state with its own script and law code from its founding in 1038 to the crates carried out of its ruins in 1909.

    10/31/2026
  • Ten Roads to Chang’an: A Chinese History Story

    For sixty seven years after Shazhou fell, its people wore Tibetan dress and took out their Tang robes only for the ancestral offerings. In 848 a local family rose, took the town, and found that the road to the capital ran through enemy country. This Chinese history story follows the ten copies of one report, the ten parties sent by ten roads, the one that arrived in 850, and the army that was given back its old name.

    11/15/2026
  • The History He Bought With His Body: A Chinese History Story

    In 99 BC a palace historian said one sentence in defence of a defeated general, and it cost him everything he had. He could have died. He chose the punishment that let him live and keep writing. A Chinese history story about the Records of the Grand Historian, and the letter that explains why it exists.

    10/18/2026
  • The Man Who Counted Circles: A Chinese History Story

    Working on a floor covered with bamboo counting rods, a fifth century astronomer doubled a polygon twenty four thousand sides deep and pinned pi between two seven digit numbers, a record that stood for a thousand years. This Chinese history story follows the calculation, the calendar he fought the court to defend, the south pointing cart he rebuilt, and the mathematics book that vanished.

    11/08/2026