History
The First Granary Made the First King: How Farming Invented Inequality
For most of human history there were no kings. Then grain could be stored, counted and taxed — and inequality had its start date. How the first granary made the first ruler.
We tend to talk about agriculture and inequality as if the second were simply part of the human condition — as if there have always been the rich and the poor, the ruler and the ruled, and always will be. But when I look closely at the deep past, I don’t see a timeless hierarchy. I see something more unsettling: a start date. Large, durable, heritable inequality is not the default setting of our species. For most of the time humans have existed, it barely appears at all. Then, roughly ten thousand years ago, in a handful of river valleys and hill country, it switches on — and once it does, it almost never switches off. The thing that flipped the switch was not a king or a conqueror. It was a building full of grain.
This is where I think the pattern I keep chasing actually begins. A new capability appears. It produces a surplus. And whoever manages to own, count, and defend that surplus gains a kind of power that outlasts them — power that hardens into rank, and then into rule. The granary is the first machine in that story. The ledger that kept track of what was inside it is the second. Everything after — the enclosure of common land, the factory, the data centre — is a variation on the same move.
Why hunter-gatherers were so hard to rule
To feel how strange the granary is, you have to picture the world before it. For the overwhelming majority of human history, our ancestors foraged. They hunted, fished, dug tubers, gathered nuts and fruit and honey. And the striking thing many archaeologists and anthropologists have noted is how flat most of these societies tended to be. Not utopian, not free of violence or status or ego — but structurally resistant to any one person accumulating lasting dominance over everyone else.
The reason is almost boringly practical. You cannot hoard a dead antelope. Meat rots in days. Wild plants ripen on their own schedule and spoil soon after. If your wealth is food that decays, the only sensible thing to do with a windfall is share it — and sharing, repeated over generations, becomes a fierce social norm. Many foraging groups actively level their most successful members, mocking the proud hunter, insisting the big kill belongs to everyone. Mobility reinforced this. If a would-be strongman started throwing his weight around, people could simply walk away and join a neighbouring band. It is very hard to become a tyrant over people who can leave, and who own almost nothing you can seize.
So the question is not really “why did some people become greedy?” Greed, ambition, and the will to dominate were surely always with us. The question is what changed in the world so that those impulses could finally stick — so that an advantage in one generation could be locked in and passed to the next. And the honest answer points to something you can store.
Grain is wealth that waits
Cereals changed the physics of wealth. Wheat, barley, rice, maize, millet — these are seeds, and seeds are evolved to survive. Dried and kept dry, grain lasts for months, even years. It is countable by the basketful. It is portable. It can be measured out, lent, owed, and demanded back. For the first time, a person could hold a large quantity of pure, stored value that did not rot before winter.
That single property — storability — quietly rearranged everything. A surplus that keeps is a surplus that can be owned. And what can be owned can be taken, taxed, inherited, and fought over.
You cannot build a dynasty on meat that rots in three days. You can build one on a granary that keeps for three years.
Notice what a full storehouse makes possible. It lets some people stop farming. If a village produces more grain than it eats, it can feed specialists who grow no food at all — potters, weavers, priests, soldiers, scribes, and eventually rulers. Every one of those roles is paid for out of the surplus. The granary is the thing that buys them. And the people who control access to it — who decide how it fills and who it feeds — are holding a lever no forager ever had. Walking away stops being easy, too. Once your survival is tied to fields you cleared and a store you helped fill, leaving means abandoning the harvest. The exit that kept foragers free begins to close.
I want to be careful here, because this is exactly the point where the old story gets told too simply. Grain did not force anyone to become a king. It made kingship affordable. It created a prize — a concentrated, defensible, heritable pile of value — and human politics did the rest.
The ledger: the first machine of control
If the granary created the surplus, something else had to manage it — and this is the part of the story I find most revealing, because it links the ancient world directly to our own. You cannot run a large store of grain by memory. You need to know how much came in, from whom, how much is owed, how much was drawn out, and by whose authority. You need a record.
It is not a coincidence that the earliest writing we know of, in ancient Mesopotamia, is not poetry or prayer. It is accounting. The first clay tablets are receipts and tallies: so many measures of barley, so many jars of oil, so many head of livestock, this much owed to the temple. Writing — one of the most powerful technologies our species ever built — seems to have been invented, first and foremost, to keep the books on stored wealth.
Think about what a record does. It turns a fuzzy human obligation into a hard, external fact. A debt you merely remember can be forgiven, softened, argued down. A debt written on a tablet in an official hand, held by the temple that also holds the grain, is a different kind of thing. It persists past the mood of the moment and past the lifespan of the person who owed it. The ledger makes obligation permanent, and permanence is the raw material of power. This is why I call the granary and the ledger together the first machine: one stores the value, the other stores the claims on it, and between them they let a small group hold a whole society in a standing relationship of debt and rank.
From counting grain it is a short step to counting people. Once you can record what a household stored, you can record what a household owes — a share of its harvest, a stint of labour on the walls, a son for the army. The tax and the census are the granary’s children. And a ruler who can measure you can extract from you on a schedule, year after year, whether you consent to it or not.
The honest complication
Now I have to slow down, because the neat version of this story — farming appears, surplus appears, and inequality and kings drop out automatically — is too clean, and recent scholarship has done real damage to it. If I told it to you as an iron law, I would be misleading you.
The clearest challenge comes from David Graeber and David Wengrow’s The Dawn of Everything, which gathers a great deal of archaeology to argue that the deep human past was far more varied and experimental than the tidy ladder from foragers to farmers to states suggests. Their case, and the wider body of work it draws on, complicates the story in ways I think are genuinely important:
- Farming did not switch inequality on overnight. In many places, thousands of years pass between the first cultivation of crops and the first unmistakable evidence of entrenched hierarchy. The granary and the king are not the same event; sometimes they are separated by a hundred generations.
- Some foragers were not flat at all. On rich coastlines and salmon rivers — the Pacific Northwest is the classic example — hunter-gatherers built ranked societies with hereditary nobles, commoners, and even slaves, without farming grain. Abundant, storable wild food could do some of the same work.
- Some early farmers stayed stubbornly equal. There is evidence of large, dense settlements that grew crops for centuries while apparently resisting the emergence of rulers, seemingly by design — through deliberate arrangements that kept anyone from rising too far above the rest.
- People moved back and forth. Communities took up farming and then abandoned it; they organised hierarchically in one season and equally in another. The past looks less like a one-way escalator and more like a long series of experiments in how to live.
I take this seriously, and I think it sharpens rather than destroys the argument. The lesson is not that stored surplus is harmless. It is that surplus is a possibility, not a sentence. Grain made durable inequality achievable and defensible in a way it had never been before — it loaded the gun. But whether the trigger got pulled depended on politics, culture, and the choices real people made, sometimes to refuse it. That some societies said no is not evidence that the danger was imaginary. It is evidence that the danger was real and had to be actively fought.
Surplus does not command us to build kings. It makes kings possible — and then it is up to us whether we let them.
The same move, ten thousand years on
What holds across all the variation — the through-line I keep pulling on — is the shape of the move, not its inevitability. A new capability arrives that lets a society produce more than it immediately consumes. That surplus can be stored, and therefore owned. Whoever manages to control the store, and control the records that track it, gains power that compounds and outlives them. That is the pattern of the granary and the ledger. And it is precisely the pattern I see repeating whenever a genuinely new capability appears.
It runs straight through the way technology gets captured again and again: the tool is new, the surplus it throws off is new, but the scramble to own that surplus is ancient. You can watch the same logic in the enclosure of the commons, when land that whole villages had shared was fenced, titled, and turned into private surplus by people who held the deeds and the law. You can hear it in the fury of the Luddites, who understood that the new machines were not neutral — that the question of the age was never whether the loom could weave, but who would own what it produced and who would be cut out.
And you can see it, unmistakably, right now. The great surplus of our own moment is data — the exhaust of billions of ordinary human lives, stored because storage finally became cheap enough to keep everything. Like grain, it sits uselessly until someone counts it. The counting-house has simply changed its name: the model trained on that data is the new ledger, the machine that turns a mountain of stored human activity into concentrated, defensible, compounding power. The names on the storehouse are different. The move is the same one the first temple scribes made when they pressed the first tally into wet clay.
I find this history clarifying rather than despairing. If inequality on this scale had a beginning, then it is not written into us; it is a thing we built, under particular conditions, and sometimes chose not to build. The granary made the first king because a society let it. Knowing that, the real question in front of us has never changed. When a new capability creates a new surplus, who gets to own it, who pays for it, and who is willing to fight over how it is shared? That question is ten thousand years old. We are simply the ones being asked it now.
Frequently asked questions
Did agriculture cause inequality?
Many historians and archaeologists argue it made large, durable inequality possible. Stored grain created a surplus that could be owned, counted, taxed and defended — and with it came records, hierarchy and rulers. Foraging societies had far less scope to concentrate wealth this way.
Were early humans more equal before farming?
Generally more egalitarian, though not uniformly — recent scholarship shows a lot of variation. What farming and stored surplus added was the ability to lock inequality in place and pass it down, turning temporary advantage into lasting hierarchy.
What does the origin of inequality have to do with technology today?
It shows the pattern is old: a new capability (storable grain, then the ledger) creates surplus, and whoever controls the surplus gains lasting power over everyone who depends on it. Data and AI are the newest version of a very old move.