Who Invented Gunpowder? From Chinese Alchemists to the Guns of Europe

Sumeru & Seed Editorial Board

Gunpowder was not invented by a soldier. Chinese alchemists of the ninth century, looking for an elixir of life, mixed saltpetre, sulphur and charcoal, and wrote a warning: men who tried it had burned their hands and faces, and even their houses. Within two hundred years the Song state was printing the formula in a military manual. Here is how the powder became fire arrows, bombs and the first guns, and how it reached Europe.

Invented
in China, by Daoist alchemists, by the 9th century (Tang dynasty)
Ingredients
saltpetre (potassium nitrate), sulphur and charcoal
Oldest written formulas
the Wujing Zongyao, a Song military manual of 1044
First uses in war
fire arrows and incendiary bombs, 10th–11th centuries; the fire lance in battle by 1132
Oldest dated gun
the bronze gun from Shangdu (Xanadu), inscribed with a date of 1298
In the Islamic world
the recipes of Hasan al-Rammah, before 1280; saltpetre called "Chinese snow"
In Europe
Roger Bacon describes firecrackers in 1267; the first picture of a gun, 1326
In Sumeru Chess
Song Fire Lances and Jin Fire Lances, troops of Chapter VI
Song soldiers defend a city wall with a fire lance, fire arrows and a bomb. An imagined scene painted by Sumeru & Seed, after the weapons described in the Song manuals.
Song soldiers defend a city wall with a fire lance, fire arrows and a bomb. An imagined scene painted by Sumeru & Seed, after the weapons described in the Song manuals.
Short answer

Gunpowder was invented in China by the ninth century, during the Tang dynasty, by Daoist alchemists who were heating saltpetre, sulphur and carbon-rich plants in search of elixirs; an alchemical book of about that time already warns that the mixture burns hands, faces and houses. The first written formulas for gunpowder as a weapon are in the Wujing Zongyao, a military manual of the Song dynasty completed in 1044. The Song and their enemies, the Jin and the Mongols, developed fire arrows, bombs, the fire lance and by the late thirteenth century the first metal guns. Knowledge of the powder reached the Islamic world and Europe in the thirteenth century, where Roger Bacon described it in 1267.

An elixir that burned the house down

Chinese alchemists worked with saltpetre for centuries before anyone thought of war. A Daoist text of 808 gives a recipe of six parts sulphur, six parts saltpetre and one part of the herb birthwort, to be heated: a mixture that would have flared. A generation or two later, a book of alchemical cautions, the Zhenyuan miaodao yaolüe, warned that some practitioners had heated sulphur, realgar and saltpetre with honey, and that smoke and flames had resulted, "so that their hands and faces have been burnt, and even the whole house where they were working burned down."1

That sentence is the earliest clear description of gunpowder. Nobody invented it on purpose; it was the side effect of a search for long life. The Chinese name it was given, huoyao (火藥), still means "fire medicine".

The first formulas: the Wujing Zongyao, 1044

By the tenth century the armies of China were using it. In 904, at the siege of Yuzhang (today's Nanchang), an officer is said to have ordered his men to "shoot off a machine to let fire and burn" a city gate, perhaps the first gunpowder arrows in war.2 A silk banner from Dunhuang of the mid-tenth century shows, among the demons attacking the Buddha, one holding a tube that spurts flame: the earliest picture of a fire lance.

A Buddhist banner from Dunhuang, 10th century: the Buddha is attacked by the demons of Mara. Among them, at the upper right, one holds a tube that spurts flame, the earliest known picture of a fire lance, and another holds a bomb.
A Buddhist banner from Dunhuang, 10th century: the Buddha is attacked by the demons of Mara. Among them, at the upper right, one holds a tube that spurts flame, the earliest known picture of a fire lance, and another holds a bomb.Unknown authorUnknown author, via Wikimedia Commons, Public domain. Resized.

In 1044 three scholars, Zeng Gongliang, Ding Du and Yang Weide, completed for the emperor Renzong the Wujing Zongyao, "Collection of the Most Important Military Techniques". It gives three recipes for "fire medicine": one for an incendiary bomb thrown by a catapult, one for a hooked bomb to set fire to wooden siege works, and one for a poisonous smoke ball. The first contains about 55 per cent saltpetre, with sulphur and charcoal. That is not enough to explode; these were weapons of fire, not of blast. The same book describes fire arrows, a "thunderclap bomb" in a bamboo case, and a flamethrower with a double-acting piston that pumped a jet of burning oil. The original edition of 1044 is lost; the oldest surviving copy is a reprint of 1510.3

The Song made these things in quantity. In 1083 the court sent 100,000 gunpowder arrows to one garrison and 250,000 to another.2

Fire lances, bombs and the first guns

Year What happened
1126 The Jin besiege Kaifeng; thunderclap bombs are used in its defence
1132 The Song garrison of De'an (Anlu, Hubei) uses fire lances against the Jin: their first confirmed use in battle
1214–1227 A bronze gun found at Wuwei, Gansu, is dated by its context to the last years of the Western Xia
1221 The Jin attack Qizhou with iron-cased bombs that the Song cannot match
1232 The Mongols besiege the Jin in Kaifeng; the defenders use "heaven-shaking thunder" bombs in iron casings
c. 1288 A bronze hand gun from Heilongjiang, dated by the context of its find
1298 The Shangdu (Xanadu) gun: 34.7 cm long, 6.2 kg, the oldest gun with a date on it

The fire lance was the bridge between a firework and a gun: a bamboo or paper tube of powder tied to the end of a spear, lit before contact, that threw flame and fragments at the enemy for a few seconds. When the tube was made of metal and the powder was given more saltpetre, so that it drove a projectile instead of a flame, the gun had been invented. That step was taken in China in the thirteenth century, during the long wars of the Song, the Jin, the Western Xia and the Mongols.2 The fall of the Jin capital in that war is told in The Battle of Sanfeng Mountain, 1232; the end of the Western Xia, whose city of Wuwei gave up the bronze gun, in The Fall of Zhongxing, 1227.

How gunpowder reached the West: from the arsenals of China across the Mongol empire to the Islamic world and Europe. The lines show the direction of spread, not known roads.
How gunpowder reached the West: from the arsenals of China across the Mongol empire to the Islamic world and Europe. The lines show the direction of spread, not known roads.

How it reached the West

Exactly how the knowledge travelled is not recorded. The Mongol conquests of the thirteenth century joined China to Iran, Iraq and Russia in one empire, and craftsmen and engineers were moved from one end of it to the other; but the historian Timothy May has written that there is no concrete evidence that the Mongols used gunpowder weapons regularly outside China.2

What is certain is the timing. The Syrian writer Hasan al-Rammah set down before 1280 recipes for incendiaries and rockets and a method of purifying saltpetre, with 68 to 75 per cent of it in the mixture, close to the later classic proportion. Arabic writers called saltpetre "Chinese snow". In 1267 the English Franciscan Roger Bacon, then working in Paris, described in his Opus Majus a children's toy, a firecracker of parchment, whose bang and flash he found astonishing. A Latin Book of Fires attributed to one Marcus Graecus gives recipes about 1280–1300. And in 1326 an English manuscript by Walter de Milemete shows the first known picture of a European gun: a vase-shaped cannon firing a great arrow at a castle gate.2

The West had had a fire weapon before. From the seventh century the Byzantine navy defended Constantinople with "Greek fire", a liquid sprayed from siphons that burned on water; its recipe was a state secret and is still unknown. But it was a liquid incendiary, probably based on crude oil, not an explosive. Gunpowder came from the other end of the world.

Why it mattered

Writing in 1620, the English philosopher Francis Bacon named three inventions that had "changed the whole face and state of things throughout the world": printing, gunpowder and the magnet, the compass. Their origins, he added, were recent but obscure.4 Gunpowder and the compass, as historians later showed, came from China, and so did the first printing, though Gutenberg's press of the 1450s was his own invention. Gunpowder ended the age of the castle in Europe and of the walled city in Asia, and the empires of the next centuries, Ottoman, Mughal, Qing, Spanish and British, were built by those who used it best. The age of gunpowder on the battlefield is the age of Chapter VIII of Sumeru Chess: see Who Defeated Napoleon at Waterloo?.

Gunpowder in Sumeru Chess

In Chapter VI of Sumeru Chess, the Age of Storm and Ashes, gunpowder is on the board on both sides of the war in north China. The Song army fields the Song Fire Lances, bamboo tubes of powder and shot; the Jin field the Jin Fire Lances, the "flying fire lances" they turned on the Mongols in 1233. Both fight as missile troops that strike before the lines close, as the real fire lance did in its few seconds of flame.

Song Fire Lances, from the troop cards of Sumeru Chess, Chapter VI
Song Fire Lances, from the troop cards of Sumeru Chess, Chapter VI
Jin Fire Lances, from the troop cards of Sumeru Chess, Chapter VI
Jin Fire Lances, from the troop cards of Sumeru Chess, Chapter VI
Step into this history
In Chapter VI of Sumeru Chess, the Age of Storm and Ashes, the Song and the Jin both field Fire Lances, the gunpowder troops of the war in north China.
Museum card drawn after a photograph by Scott Semans, Wikimedia Commons, CC BY 3.0.

Card backs of Chapter V. Each opens the civilization's page.

Questions people ask

Who invented gunpowder?

Chinese alchemists of the Tang dynasty, by the ninth century. No single inventor is known; the earliest clear description is a warning in an alchemical text that the mixture burned people and houses.

When was gunpowder invented?

By about the middle of the ninth century. The first written military formulas come from the Song manual Wujing Zongyao of 1044.

What is gunpowder made of?

Saltpetre (potassium nitrate), sulphur and charcoal. The early Chinese mixtures had about half saltpetre and burned; later ones, with about three quarters, exploded.

Was gunpowder first used for fireworks?

It was first a by-product of alchemy and was used in war from the tenth century, in fire arrows and incendiary bombs. Firecrackers and fireworks developed alongside the weapons.

When did gunpowder reach Europe?

In the thirteenth century. Roger Bacon described a gunpowder firecracker in 1267, and the first picture of a European gun dates from 1326.

What was the first gun?

The fire lance, a tube of powder on a spear, appeared in China in the tenth century. Metal guns that fired projectiles followed in the thirteenth; the oldest with a date on it is the bronze gun of 1298 from Shangdu (Xanadu).

Is gunpowder one of the Four Great Inventions of China?

Yes. Gunpowder, paper, printing and the compass are popularly called the Four Great Inventions of ancient China.

Notes

  1. Joseph Needham, Science and Civilisation in China, vol. 5, part 7: The Gunpowder Epic (Cambridge, 1986), p. 112; Peter Lorge, The Asian Military Revolution (Cambridge, 2008), p. 32.
  2. Tonio Andrade, The Gunpowder Age: China, Military Innovation, and the Rise of the West in World History (Princeton, 2016): the arrows of 1083 (p. 32), the thunderclap bomb at Kaifeng in 1126 (p. 34), De'an 1132 (p. 38), Qizhou 1221 (p. 42), the Shangdu and Wuwei guns (pp. 52–54), and on Yuzhang 904 and Kaifeng 1232; on Yuzhang, Jiuguo zhi 《九國志》, ch. 2; Needham, The Gunpowder Epic, pp. 41–42 and 48–50 (Hasan al-Rammah, Roger Bacon); J. R. Partington, A History of Greek Fire and Gunpowder (Cambridge, 1960), pp. 48–49 (Marcus Graecus); Timothy May, review of Iqtidar Alam Khan, Gunpowder and Firearms, H-Net Reviews; Timothy May, The Mongol Conquests in World History (London, 2012).
  3. Zeng Gongliang, Ding Du and Yang Weide, Wujing Zongyao 《武經總要》 (1044), the chapters on fire weapons; Needham, The Gunpowder Epic; the oldest surviving copy is the reprint of 1510.
  4. Francis Bacon, Novum Organum (1620), book I, aphorism 129.

Further reading

  • Tonio Andrade, The Gunpowder Age (Princeton University Press, 2016).
  • Joseph Needham, Science and Civilisation in China, vol. 5, part 7: The Gunpowder Epic (Cambridge University Press, 1986).
  • Kenneth Chase, Firearms: A Global History to 1700 (Cambridge University Press, 2003).
  • J. R. Partington, A History of Greek Fire and Gunpowder (Johns Hopkins University Press, 1999 reprint).
  • 潘吉星《火药的发明和西传》.
Back to blog

Chapter V · Age of Faith & Fire

Now play this history

The rulers, generals and armies of this essay are cards in Sumeru Chess. Open the Collection to see every card of the age, then take them into battle in your browser, no download.

‹ More essays in the Sumeru Library
♜ See the cards