Skip to the page

The History of Gambling in Ancient China and the First Lotteries

The earliest lottery system emerged not in Italy or France, but in ancient China, where gambling was embedded in ritual, governance, and military strategy simultaneously.

ancient chinese lottery drawing with keno number selection and historical gambling artifacts
Threads (7)

You find it in a text from the Han Dynasty, 200 BC. A reference to 'white pigeons' that were drawn by officials to distribute resources. The pigeons were not drawn. The system was.

What the Han discovered was this: a transparent randomization system generates legitimacy. If an official decides which family gets the tax exemption, accusations of favoritism erupt. If a lottery decides, the decision appears neutral.

Gambling and governance were not separate domains in ancient China. They were identical.

The Ritual Foundations

Chinese shamanism in the Shang Dynasty (1600-1046 BC) used divination through bone casting. The bones were marked with symbols. The throw was random. The outcome was interpreted.

This was not gambling, technically. It was ritual. But mechanically, it was identical: a random device generates an outcome with meaning attached.

Where the line blurs: by the Zhou Dynasty, actual wagers were placed on divination outcomes. Players bet on which symbol would appear. Now the ritual was also gambling.

The state did not object. It participated. Zhou Dynasty texts document state-sponsored divination gambling. Officials bet alongside commoners.

The First Formal Lotteries

The Han Dynasty (206 BC - 220 AD) ran the 'Baitu' or white-tiger system. Military commanders needed troop distribution across far provinces. Random selection seemed fairest.

Instead of generals selecting favorite officers for advancement, a lottery assigned positions. The mechanism: officials placed marked bamboo slips in a vessel. One slip per officer. The commanding general drew slips to assign rank.

Over time, commoners began betting on which officer would draw highest rank. The military system became public entertainment.

By 100 AD, the Han operated the first state-sanctioned gambling lottery, ostensibly for military advancement purposes, but actually as a revenue mechanism. They called it the 'Hebi Xigong' (crane tribute lottery).

The Revenue Innovation

Lotteries became the solution to a specific problem: the state needed revenue but taxation generated rebellion. A lottery generated revenue without the appearance of extraction.

When farmers paid taxes, they resented the loss. When they purchased lottery tickets and lost, they had 'played.' The psychological difference was immense.

The Song Dynasty (960-1279 AD) formalized this. They ran government lotteries explicitly. By 1100 AD, lotteries were a state revenue source comparable to tariffs. The government published results publicly to generate trust.

The innovation was not gambling. It was using gambling as disguised taxation.

The Game-Specific Development

As lotteries matured, specific games emerged from the lottery structure.

Mahjong evolved from lottery games. The tiles were originally divination tools. Then they became lottery apparatus. Then players developed the tile-combination games we know today. By 1000 AD, Mahjong as a leisure game was distinct from its lottery origins, though both operated simultaneously.

Fan Tan (a game of counting coins under a cup) emerged directly from betting on harvest yields. Farmers would place bets on grain quantities. The game abstracted this into a pure betting mechanism.

The Regulation Problem

By the Ming Dynasty (1368-1644), gambling had become so widespread that officials worried about destabilization. Uncontrolled gambling meant soldiers could not be recruited (they were gambling). Markets suffered. Families dissolved.

The solution was not prohibition. It was regulation. The Ming established official gambling houses run by the state. Private gambling was forbidden. The state monopolized the vice.

This was not moral concern. It was revenue optimization. Regulated gambling generated tax revenue. Unregulated gambling generated nothing for the state.

The Modern Legacy

The Chinese word for lottery, 'caipiaoXi' (colored-ticket game), derives directly from Ming Dynasty terminology. The structure persists.

When the People's Republic introduced lotteries in the 1980s as a revenue mechanism for infrastructure, they were reviving a system 2,000 years old.

What History Reveals

Gambling was not a vice that societies reluctantly tolerated. It was a mechanism that societies designed deliberately, embedded in governance, and refined across centuries.

The belief that 'civilized' societies should minimize gambling is a Western import, and a recent one. For most of recorded history, the societies that lasted longest were the ones that understood gambling and used it effectively: as a tool for legitimacy, revenue, and social ordering.

Ancient China understood this. The West eventually learned it. The learning took centuries.

Next notes

More from #history

ancient gambling history scrolls documenting lottery origins in classical chinese dynasties

The History of Gambling in Ancient China and the First Lotteries

In a courtyard in Chang'an, nineteen centuries ago, a merchant drew a wooden slip from a jar and read a number. The slip meant nothing unless a second slip, held by a minister at the imperial palace, read the same number. This is how we remember, or half-remember, the first lottery.

By CryptoSlots Club Notes