FYI-235 · History · Filed Nov 21, 2026
Gunpowder's Invention, From Taoist Warning to War Manual
Gunpowder was invented in 9th-century China by Taoist alchemists: a text of about 850 warns of burned hands and houses; the first recorded formulas date from 1044.
Among the books of the Taoist canon is a catalogue of mistakes. The Zhenyuan miaodao yaolue, a handbook of alchemy, lists more than thirty methods that its writer held to be false, and says that the deluded seekers who used them wasted their money, ruined their families and lost their lives.
One entry says that some had heated sulphur, realgar (an arsenic mineral) and saltpetre with honey, and the flames rose “so that their hands and faces have been burnt, and even the whole house burned down.” The book is attributed to a 3rd-century master, but Joseph Needham, the Cambridge historian of Chinese science, judged that very little of it was his and settled on about 850 as the best date for the passage.
Tang alchemists had it by about 850
Gunpowder was invented in Tang dynasty China in the 9th century, by Taoist alchemists, and the discovery cannot be pinned to a person or a year. The first true gunpowder formula to be written down came later, in a military manual from 1044.
The mixture came out of the search for elixirs. Alchemists subdued a mineral by fire before they trusted it, and the same Taoist handbook gives a test for saltpetre: laid on red-hot charcoal, subdued saltpetre turns to an oil, while saltpetre that has not been subdued bursts into flame the moment it touches the coals. It also warns that raw saltpetre must never be heated with the three yellow minerals, or disaster follows at once.
The Chinese name still calls it a medicine
The Chinese word for gunpowder, huoyao, means something like fire-medicine: its second half, yao, first meant a plant drug. Xu Shen’s Shuowen jiezi, a Han dynasty dictionary of the characters, defines yao as a plant that cures disease, and the Sung court’s military manual sets out its gunpowder recipes under the heading huoyao fa, the method for fire-medicine.
The name stayed when the powder went to war. When the Sung city of De’an held out against a rebel army under Li Heng in 1132, an account of the siege says the defenders took fire-bomb medicine, huopao yao, and long bamboo poles and made more than twenty fire-lances. The weapon itself is older than that siege: its first appearance in art is on a silk banner from Dunhuang, the Assaults of Mara, painted in the first half of the 10th century and now in the Musee Guimet in Paris.
The first written formulas come from a court manual
The manual is the Wujing zongyao, the “Collection of the Most Important Military Techniques,” and it records the first true gunpowder formula. According to the catalogue of the Qing imperial library, the Sung court ordered Zeng Gongliang, Ding Du and others to compile it around 1040, and they took five years over it.
Its recipe for a caltrop fire-ball calls for two and a half jin of saltpetre, a jin and a quarter of sulphur and five liang of charcoal, pounded together with pitch and dry lacquer and bound with bamboo shavings, hemp, tung oil and wax. The first military use was as an incendiary: small packages of gunpowder wrapped in paper or bamboo were attached to arrows and lit with a fuse.
The Qing editors who catalogued the manual in 1781 thought little of its generalship: the emperor Renzong, they wrote, was a good ruler in peacetime but no soldier, and his compilers knew little of command. They kept it anyway, because of all the books on war compiled at the Sung court, it was the only one that had survived.
The early record of the powder, in order:
| Date | Record | What it shows |
|---|---|---|
| 9th century | Zhenyuan miaodao yaolue | A warning of burned hands, faces and houses |
| 10th century | A silk banner from Dunhuang, now in the Musee Guimet, Paris | A painted fire-lance |
| 1044 | Wujing zongyao | The first written formulas |
| 1132 | Account of the siege of De’an | Fire-lances made of bamboo |
| 1267 | Roger Bacon’s Opus Majus | A children’s toy that bursts with a bang |
Europe first heard it as a toy
Roger Bacon, the English friar, wrote his Opus Majus for Pope Clement IV, and its section on the calendar speaks of what happens “in this year 1267.” In it he describes “that toy of children which is made in many parts of the world, namely, an instrument as large as the human thumb.” “From the force of the salt called saltpeter so horrible a sound is produced at the bursting of so small a thing,” Robert Belle Burke’s 1928 translation continues, that it exceeds the roar of thunder.
Within six decades Europe had guns, and a picture of one. An illumination in a book on how to rule that Walter de Milemete made for the young Edward III in 1326 appears to show a small cast-bronze gun of the kind that fired bolts, though the text itself contains not a single mention of guns. Researchers at the Royal Armouries later built a replica, a bulbous bronze barrel on a trestle table; at the third attempt, Times Higher Education reported, it shot its steel-tipped arrow “several hundred metres.”
A German monk took the credit for centuries
Europe also found an inventor of its own. The antiquary William Camden took up the question in the enlarged 1614 edition of his Remaines. He had heard of the Chinese claim and waved it away: “Some haue sayled a long course as farre as China the farthest part of the world to fetch the inuention of guns from thence, but wee know the Spanish Prouerb, Long waies, long lies.”
On guns, his answer came from closer to home: the authors he trusted, he wrote, agreed that they were invented “in Germanie, by Berthold Swarte,” a monk skilled in alchemy, who was mixing brimstone and saltpetre in a mortar when a spark fell in and the blast threw off the stone that covered it.
As early as 1727, the English translation of Boerhaave by Peter Shaw and E. Chambers noted that gunpowder was usually ascribed to Bartholdus Schwarts, a German monk, and a footnote on the same page pointed out that Schwartz was said to have taught the Venetians in 1380, while French account registers mentioned the powder as early as 1338. Needham calls the story’s long life “a tribute to the Europocentrism of Westerners.”
“The legend of Berthold Schwartz was in China no legend.” - Joseph Needham, Science and Civilisation in China, 1986
The first record that Needham counts as gunpowder is a warning against making it: after the burned hands and the burned house of about 850, as Needham reads the text, Taoist alchemists “are thus warned clearly not to do it.” Strictly FYI.
Drafted with AI assistance, then checked against the sources linked above. How we work explains the process.
Spotted an error? Write to us. Fixes are listed in the corrections log.
The standing notice
Liked this? Get new entries by email.
Confirm once from your inbox. Every email has an unsubscribe link.
FYI-235 · https://www.strictly.fyi/blog/when-was-gunpowder-invented/