In 54 BC the price of grain in the capital fell so far that people stopped bringing it to market.
It had been a good year in the Guanzhong plain. The millet and wheat came in heavy, the carts piled up at the city gates, and a bushel sold for less than it cost to haul it there. Farmers did the arithmetic and left the new crop in the yard for the animals, or did not cut it at all.
There is a four character phrase for this in Chinese: cheap grain hurts the farmer.
It is not a proverb about feelings. It was a description of what was happening that autumn.
A finance official named Geng Shouchang sent up a memorial.
He proposed that granaries be built in the frontier commanderies, and that the state buy grain when the price was low, paying above the market, and sell when the price was high, asking below it. Buying a little high protected the farmer. Selling a little low protected everyone who had to buy bread.
The emperor agreed.
The four characters in that memorial became one of the longest lived names in Chinese public finance: the Ever Normal Granary.
Cheap Grain, Poor Farmers
The idea was older than Geng Shouchang.
In the fourth century BC an administrator in the state of Wei named Li Kui had worked out the arithmetic. Grain that is too expensive injures the buyer, he wrote. Grain that is too cheap injures the farmer. If the buyer is injured, people scatter. If the farmer is injured, the state goes poor.
The remedy was called level buying.
The harvest was graded into three tiers. In a great year the government bought a third of the surplus and left the rest; in a good year it bought a fifth; in an ordinary year a tenth. In a poor year, a bad year and a famine year, it sold back in the same proportion, a little above cost in the good times and a little under the market in the bad.
The elegance is that it solves two problems with one warehouse. When grain is cheap, the farmer gets cash. When grain is dear, the townsman can still afford a meal.
The state takes no profit in the middle. What it takes is a word that is hard to translate: steadiness.
There is a distinction worth making here, because Chinese administrators made it constantly. In 110 BC the finance minister Sang Hongyang had set up a system called level standard, which used state stocks to steady prices in general. That was the state competing with merchants, and it was hated. The granary did something narrower and more defensible. It did not trade in anything except grain, and it did not try to make money, only to keep one price from running away.
English readers already have a picture of what a grain reserve looks like, because it is in the first book of the Bible. Joseph reads the dream of the seven fat years and the seven lean ones, and builds storehouses in Egypt, and fills them, and the country survives the famine. That story fixes the image: a wise minister, full bins, a saved nation.
The Chinese version looks similar and is not the same. Joseph stored for the crown, and when the famine came the crown sold grain, and by the end of the story in Genesis the crown owned the land and the people along with it. Geng Shouchang proposed something more modest and much harder. The state would buy above the market and sell below it, permanently, in every year, good or bad, for no profit at all. The point was not to fill a royal warehouse. The point was to keep one number, the price of a bushel, from swinging far enough to ruin either end of the country.
One is a reserve. The other is a rule.
A warehouse is not a building. It is a switch.
The First Granary
The first Ever Normal Granaries went into the frontier commanderies.
The location was not an accident. Frontier commanderies kept large garrisons, and the grain for those garrisons had to be hauled from the interior, at a freight cost that often exceeded the value of the grain itself. Put a granary on the frontier and you buy locally in a good year and sell locally in a bad one, and the freight you do not pay is the profit.
The local farmers got something out of it too. They no longer had to accept whatever the grain merchants offered, because there was another buyer in the market and he was not trying to get rich.
The histories give the result in three characters. The people found it convenient.
Geng Shouchang was made a marquis of the interior. For a finance official in the Former Han that was about as good an ending as the job allowed.
The granary lasted ten years.
In 44 BC the emperor abolished it, along with the state salt and iron offices and a frontier farming bureau. The stated reason was a Confucian argument that the government should not compete with its own merchants for profit. The real reason was easier: the eastern provinces had had several bad harvests, and an institution that bought grain was a convenient thing to blame.
A system designed for famine years was abolished in a famine year.

Who Holds the Key
Under the later Han, someone proposed restoring it.
The man who blocked the proposal was named Liu Ban, and what he said is the sharpest sentence in the whole history of the institution. The granary, he argued, carries the name of benefiting the people while in fact injuring them. The powerful families work the system, and the ordinary man never gets the fair price.
It is worth sitting with that sentence. The objection is not that the scheme is badly designed. The objection is that it is well designed and still fails, because a warehouse has a door, a door has a lock, and a lock has a key.
Whoever holds the key owns the grain.
In a good year the buying price has to be set. Whose grain is bought first, and at what price, is decided by the clerk at the scale. The great households have more grain, and they know the clerk, so their grain goes first and the price is agreed over tea.
In a bad year the selling has to be queued. Who buys first, and how much, is also decided by the clerk. The household that has actually run out of food is usually near the back of the line, and by the time it reaches the counter there is chaff in the bottom of the bin.
Good design, executed by people.
The Western Jin restored the granary in 268. The Sui set one up at Shanzhou in 583 and an office in the capital to supervise it. The Tang opened them in eight grain producing prefectures and then across five provinces.
By 749 the ten circuits held about four point six million piculs in Ever Normal Granaries. In the same year the charitable granaries held about sixty three million.
Those two numbers together tell you something. The institution that actually reached the villages was the charitable one, funded by a compulsory levy of two sheng per mu at harvest, not the one that traded in the market. The levy needed no price setting and no queue. It simply took the grain at the field.
Bai Juyi, the Tang poet, praised the design in a line that lists its ancestors and calls it a storehouse that never dries up and a treasury that never empties.
He was praising the design. The design deserved it.
The people inside the warehouse were another matter.
The Song tried to fix this by separating the auditor from the operator, creating a circuit level office whose only job was granaries. It created a new problem. The auditor sat several hundred miles away and inspected twice a year. The prefect sat in the city every day and had no authority to act. One could not see, the other could not move.
By the Southern Song, using granary money for soldiers had become routine. The building stood. The ledger balanced. The grain was elsewhere.
Six Hundred Piculs
The man who finally made the design work was Zhu Xi, the philosopher.
In 1168 there was a famine in Chong’an in Fujian. Zhu Xi was living in the district. He applied to the prefecture and borrowed six hundred piculs of official grain to lend out.
The rules were his.
In the lean weeks before harvest, villagers could borrow grain. After the autumn harvest they paid it back with interest, two pecks on every picul.
Two pecks is twenty per cent. The interest did not go to the government. It stayed in the store as capital, and it was cut in half in a poor year and cancelled altogether in a famine.
Fourteen years later, in 1181, the store held three thousand one hundred piculs. The capital was still the original six hundred. The other twenty five hundred had accumulated two pecks at a time.
Zhu Xi wrote the whole procedure up as a set of regulations and asked that it be adopted elsewhere. The institution became known as the community granary. It sat in the village, it was not run by the county office, and the accounts were kept by the villagers themselves.
Why it worked is not complicated.
The granary was in the village. The borrower was a neighbour. So was the bookkeeper.
Everyone knew which household had actually run out and which one had grain at home and was borrowing anyway to lend it out at a profit. The cost of watching was almost zero, because the watch was free.
That is not a moral achievement. It is a matter of distance.
A Southern Song handbook on famine relief draws the line between the two systems in one sentence. The Ever Normal Granary sells; the charitable granary gives. Selling requires a price. Giving requires a list.
Zhu Xi wrote the regulations in obsessive detail, down to the days for repayment and the shape of the measuring scoop. He wrote them that way because he knew the holes would appear.
They did. In the late Southern Song many community granaries failed, taken over by local magnates or starved of the interest payments that were supposed to keep them alive. The same disease, in a different building.
Grain on Paper
Under the Ming and Qing the machinery became tidier than it had ever been.
The Ming ordered each county to keep reserve granaries in its four rural quarters, stocked with government money, lent out in bad years and repaid at harvest. The Qing put Ever Normal Granaries in every prefecture and county. They fixed the rule of lending in spring and repaying in autumn, at one peck of interest per picul. They also set quotas by county size: twelve thousand piculs where the county was large, eight thousand where it was medium, four thousand where it was small, and none of it to be touched for anything else.
Tidy machinery, tidy problems.
The first was the shortfall. Grain in a store has to match a number on a page. Grain moulds, dries out, gets eaten by rats, and gets borrowed by people who do not pay it back. Every magistrate had to be audited when he left office, and any shortage came out of his own purse.
So the clever magistrate learned one lesson. Do not keep much grain.
An empty store with a clean ledger is safer than a full store with a discrepancy.
The second problem was silver. After the sixteenth century tax reform, assessments were converted to silver, and so was the capital of the granary. Silver in a chest gets lent out, and a loan to a colleague is hard to call in. By the time you need to buy grain, the exchange rate has moved and the original sum no longer buys the original quantity.
The third problem was refusing to sell. Open the store in a famine and the price falls, which enrages the men holding grain for speculation. Keep it shut and the hungry crowd outside the yamen grows. Caught between the two, the magistrate did the thing officials have always done. He waited, until the harvest came or the province sent relief.
From the 1820s onward, provincial audits of the granaries returned smaller and smaller numbers. By the 1890s many county stores were empty buildings with the three characters of the name still on a board over the beam.
The institution was formally abolished after 1912. The republic replaced it with quota granaries under new names and the same idea. Store in the fat year, release in the lean one.
Geng Shouchang sent up his memorial in 54 BC. Nineteen centuries separate that date from the abolition.
It never worked perfectly. It lasted ten years under the Han, was overshadowed by the charitable granaries under the Tang, had its capital converted into a lending fund under the Song, and was hollowed out by shortfalls under the Qing. Every failure had a different reason. Every failure had the same cause: grain inside, people outside.
And yet it was rebuilt every time. Abolished, restored, renamed, tried again. Because the eight characters at the bottom of it never stopped being true. When grain is cheap the farmer is hurt, and when grain is dear the buyer is hurt. As long as there are good years and bad years, someone will try to do something at a warehouse door.
The old community granary at Chong’an is still a place you can visit; the county calls it the Zhu Xi granary. In 1882 a merchant official built a walled granary complex at Dali in Shaanxi, an inner fort inside an outer one, finished in brick and still whole. People call it the finest granary under heaven.
The bins are empty. The walls are standing.