The History of Gunpowder: From Ancient China to Global Warfare

In ninth-century China, a Taoist alchemist was searching for the elixir of immortality. He believed that heating saltpeter together with sulfur and carbonaceous materials could transmute metals. During one experiment, a spark touched the mixture — and he found himself standing in a cloud of smoke, burns on his hands and face. Records suggest the house burned down along with him.[1] This singed alchemist had no idea that he had stumbled upon not the path to eternal life, but a substance that would, over the course of centuries, reshape the balance of power across the world.

The Chinese word for gunpowder, 火藥 (huǒyào), literally means “fire medicine.” The name itself reveals the origins: gunpowder was not born as a weapon. It emerged as an accidental discovery in the laboratory of medicine.

A Byproduct of Immortality: Taoist Alchemy and the Birth of Gunpowder

Taoist alchemy pursued two goals. One was the transmutation of base metals into gold; the other was the creation of an elixir of immortality.[1] Both goals centered on saltpeter (potassium nitrate) as a key ingredient. Saltpeter is a white mineral that crystallizes naturally on cave walls and at the bases of buildings, and alchemists of the time believed it possessed powerful life-giving properties.

The earliest reference to gunpowder appears in the work of the fourth-century Taoist thinker Ge Hong (葛洪, 283–343 CE), the Baopuzi (抱朴子). Ge Hong recorded experiments mixing heated saltpeter with pine resin and carbonaceous materials.[1] This combination closely matches the three components of gunpowder — saltpeter, carbon (charcoal), and sulfur. Yet Ge Hong either did not notice the explosive nature of the mixture, or chose not to record it.

The first clear written description of gunpowder’s composition appears in Taoist texts from the Tang dynasty (618–907 CE). The Taishang Shengzu Jindan Mijue (太上聖祖金丹秘訣), compiled in 808 CE, contains a record that mixing saltpeter, sulfur, and carbon caused “flames to erupt, burning people’s hands and faces, and setting houses ablaze.”[1] This is among the oldest extant documents recording gunpowder’s explosive properties. Another Taoist text from around 850 CE, the Zhenyuan Miaodao Yaolüe (真元妙道要略), warns of the hazards of this mixture, suggesting that alchemists repeatedly suffered such accidents.[1]

The first precise formula for gunpowder appears in the Wujing Zongyao (武經總要, 1044 CE). This Northern Song dynasty military encyclopedia records three distinct gunpowder formulations. Notably, all three had a lower proportion of saltpeter than what would be considered a modern propellant — they were closer to incendiary mixtures than true explosive charges.[2] A genuine propellant requires saltpeter at over 75% to generate sufficient explosive force to propel a projectile. This demonstrates that gunpowder was not optimized for military purposes from the start, but developed gradually through centuries of experimentation.

Gunpowder formula page from the Wujing Zongyao
Gunpowder formulas recorded in the Wujing Zongyao (武經總要, 1044) Source: Wikimedia Commons (Public Domain)

From Fire Arrows to Cannons: The First Gunpowder Weapons

The military application of gunpowder began with fire. Documents from the Five Dynasties and Ten Kingdoms period (906–960 CE) mention the huǒjiàn (火箭), or fire arrow — a pouch filled with a gunpowder mixture attached to the tip of an arrow, which was ignited and fired at enemy positions to start fires.[2] The concept was not to propel the projectile but to set it ablaze and send it flying.

More complex weapons appeared in the tenth and eleventh centuries. The fire lance (huǒqiāng, 火槍) consisted of a bamboo tube packed with gunpowder that was ignited and directed at the enemy — a primitive form of flamethrower. The Wujing Zongyao records, alongside fire arrows, a range of gunpowder weapons including fire bombs (huǒqiú, 火球) and poison smoke bombs (dúyānqiú, 毒煙球).[2] The poison smoke bomb combined gunpowder with arsenic and various toxic substances — a precursor to what we would today call chemical weapons.

The most important characteristic of gunpowder weapons in this period was their relationship to existing arms. Gunpowder was introduced not as a completely new weapons system, but as an augmentation grafted onto already existing systems — arrows, catapults, ships. It was a supplementary technology that amplified the firepower of existing weapons. This is one reason why the early development of gunpowder weapons was slower than one might expect.

A qualitative shift came in the thirteenth century. As the proportion of saltpeter increased and formulations became more precise, gunpowder could produce not just fire but powerful explosions.[3] This change made possible the cannon (huǒpào, 火砲) — a weapon that propelled a projectile by detonating gunpowder inside a metal tube. The oldest surviving metal cannon in the world was manufactured in China in 1288 and is currently housed in the Inner Mongolia Museum.[3]

The Mongol Empire and the Spread of Gunpowder Technology

How gunpowder passed from China to the Islamic world and Europe remains a subject of debate among historians. The two most plausible routes are gradual transmission along the Silk Road and the expansion of the Mongol Empire in the thirteenth century.[4]

The Mongol Empire activated both routes simultaneously. As the Mongols conquered northern China, they absorbed the gunpowder technicians of the Jin dynasty (金, 1115–1234). They then deployed these technicians in their westward campaigns. Polish and Hungarian sources record that Mongol forces used gunpowder smoke screens or explosives at the Battle of Legnica (1241) and the Battle of Mohi (1241).[4]

Gunpowder is estimated to have reached the Islamic world between 1240 and 1280. Middle Eastern texts from this period begin to contain gunpowder formulas. Notably, the Islamic world was not merely a passive recipient. Islamic chemists advanced the refinement of gunpowder and improved, in particular, techniques for purifying saltpeter.[4] These improvements contributed to raising the quality of the gunpowder that eventually reached Europe.

The earliest written European record of gunpowder appears in the Opus Majus, written in 1267 by English friar and philosopher Roger Bacon.[4] While describing the components of gunpowder, Bacon encrypted the formula as an anagram to prevent the knowledge from falling into the wrong hands. This in itself is a remarkable detail: that the first written European record of gunpowder appeared in encrypted form underscores that its strategic value was recognized from the very beginning.

Cannons and the End of the Medieval Castle

The earliest European record of a metal cannon is a 1326 document from the city council of Florence, recording the purchase of iron cannonballs and a cannon.[5] That same year, the English scholar Walter de Milemete’s treatise, dedicated to Edward III, includes an illustration of a cannon firing an arrow — the oldest pictorial record of a cannon in Europe.[5]

Early European cannons were closer to psychological weapons than militarily effective tools. At the Battle of Crécy (1346), the small cannons used by English forces are analyzed to have contributed less through accuracy or destructive power than by frightening the French cavalry’s horses with noise and smoke.[5] Knights and their horses had never encountered such sounds before.

By the fifteenth century, however, cannons had grown enormously in size and power. The climax came at the Siege of Constantinople in 1453. Sultan Mehmed II of the Ottoman Empire commissioned a Hungarian master cannon-founder named Orban to build a massive cannon called the “Basilica” — eight meters long and capable of firing cannonballs weighing approximately 680 kilograms.[6] Orban had originally tried to sell his skills to the Byzantine emperor, but the emperor, struggling with financial difficulties, could not pay adequate compensation, and so Orban turned to the Ottoman side. A historical irony.

The Theodosian Walls, considered impregnable for over a thousand years, could not withstand 53 days of bombardment. One Byzantine defender recorded the experience as follows: “It was as if the air itself was being torn to pieces. It felt like something from another world.”[6] A thousand years of Eastern Roman imperial history fell to gunpowder.

The fall of Constantinople mattered not merely because it announced the end of an empire. The event sent a message across all of Europe: no wall could hold against a sufficiently powerful cannon. The feudal order of medieval Europe was built upon the castle as an inviolable stronghold. Gunpowder shook that foundation.

The Conquest of Constantinople
Fausto Zonaro, “The Conquest of Constantinople” (c. 1903) Source: Wikimedia Commons (Public Domain)

The Gunpowder Empires: Ottoman, Safavid, Mughal

The fall of Constantinople was also the opening shot heralding the rise of the so-called “gunpowder empires.” The concept, named by historians Marshall G. S. Hodgson and William H. McNeill, refers to three Islamic empires — Ottoman, Safavid, and Mughal — that dominated vast territories in the fifteenth through early eighteenth centuries by placing gunpowder technology at the heart of their military power.[7]

All three empires depended on gunpowder technology, but the manner and context of its use differed. The Ottoman Empire specialized in siege warfare using large cannons. The Safavid Empire introduced gunpowder weapons amid repeated conflicts with the Ottomans, but initially relied more on traditional cavalry tactics. After being overwhelmed by Ottoman firearms at the Battle of Chaldiran (1514), the Safavids accelerated their adoption of gunpowder technology.[7]

The founder of the Mughal Empire, Babur, employed gunpowder to dramatic effect at the First Battle of Panipat in 1526. The Delhi Sultanate’s Ibrahim Lodi led a massive army that included some ten thousand war elephants. Babur’s forces were outnumbered, but when the elephants panicked at the sound of cannon fire and turned to trample their own troops, the tide of battle reversed.[7] Elephants had been a formidable weapon on Asian battlefields for thousands of years. In the age of gunpowder, they became a liability.

While gunpowder undeniably contributed to the establishment of all three empires, the concept of “gunpowder empires” itself has drawn criticism. The success of these empires cannot be explained by gunpowder technology alone; administrative systems, economic resources, religious legitimacy, and diplomatic strategy all played complex roles.[7] The label “gunpowder empires” risks encoding a technologically determinist bias.

The Gunpowder Revolution in Europe: The Dissolution of Feudalism and Centralization

The impact of gunpowder on European society extended well beyond a simple change in the way wars were fought. Gunpowder technology accelerated the dissolution of European feudalism and the formation of centralized nation-states.

The logic runs as follows. Operating cannons required enormous expense. Large-caliber artillery demanded levels of financing that no individual knight or small-scale lord could sustain. As a result, only central rulers — kings and emperors — could afford to field cannons.[8] At the same time, as cannons could now demolish walls, it became increasingly difficult for regional lords to maintain fortified positions from which to resist royal authority. Gunpowder simultaneously weakened the military autonomy of the feudal nobility and reinforced the power of the crown.

This logic, however, has also been criticized as an oversimplification. Actual history was more complex. As gunpowder technology spread, defensive architecture evolved in parallel. Italian architects developed the trace italienne — low, thick, angled walls designed to absorb the impact of cannonballs.[8] With the advent of the bastion fortress, siege warfare once again became a long and expensive proposition. The competition between offense and defense continued.

Another significant transformation that gunpowder brought to European society was the rise of the infantry. Training a single knight took decades. A musketeer could be trained in a matter of months. Gunpowder weapons eroded the military monopoly held by the professional warrior class and opened the possibility of mass conscript armies.[8] This represented both the democratization of military technology and, simultaneously, the scaling up of warfare itself.

Nobel and Dynamite: The Industrial Turn of Gunpowder

On September 3, 1864, an explosion ripped through a laboratory in Heleneborg, Sweden. The accident, which occurred during experiments with nitroglycerin, killed five people — among them Alfred Nobel’s younger brother Emil.[9]

The tragedy did not stop Nobel. If anything, it intensified his obsession with safer explosives. Nitroglycerin was far more powerful than black powder, but it was extremely unstable under shock, causing frequent accidents during transport and handling. In 1867, Nobel discovered that absorbing nitroglycerin in diatomaceous earth (diatomite) rendered it stable against shock while retaining its explosive power.[9] This was dynamite.

Dynamite was roughly eight times more powerful than traditional gunpowder and far safer to handle than nitroglycerin. The results manifested in two directions. One was industrial: railways, canals, bridges, tunnels, mines — most of the infrastructure of modern industrial civilization was built using dynamite. The Panama Canal, Brooklyn Bridge, London Underground, and Hoover Dam are among the examples.[10] The other was military: dynamite made warfare more destructive and became a weapon in the hands of revolutionary movements and terrorists alike.

Nobel himself lived within this contradiction. He believed that dynamite would deter war — that if destructive capacity became too great, war itself would become impossible.[9] This optimism proved wrong.

In 1888, when Nobel’s brother Ludvig died, a French newspaper mistakenly printed Alfred Nobel’s obituary. The headline read: “The merchant of death is dead.” Nobel is said to have been deeply shaken by this preview of his posthumous image. Some argue that this experience was connected to the testament he drafted in 1895, leaving the bulk of his fortune to fund the Nobel Prizes — though historians have not conclusively established this causal link.[9] What is confirmed through his correspondence, however, is that Nobel was influenced by the pacifist writer Bertha von Suttner and that in his later years he wrestled with the relationship between his invention and warfare.[9]

Portrait of Alfred Nobel
Alfred Nobel (1833–1896) Source: Wikimedia Commons (Public Domain)

The World That Gunpowder Changed

Looking back at the history of gunpowder, it is clear that this substance was not simply a tool for making war more lethal. Gunpowder was a tool for dismantling existing power structures and erecting new ones. The military autonomy of the feudal nobility, sheltered behind solid walls; the battlefield monopoly of the knightly class; the Byzantine Empire that had dominated the Mediterranean — all of these outlived their usefulness in the face of gunpowder.

At the same time, gunpowder gave rise to new forms of power concentration. The enormous expense of gunpowder weaponry worked in favor of central authority, and this became one of the driving forces behind the formation of European nation-states and vast empires. Dynamite laid the material foundations of the Industrial Revolution. Without tunnels, canals, and railways, the industrialization of the nineteenth century would have proceeded far more slowly.

Yet gunpowder technology did not bring about all these changes on its own. Technology always operates in combination with the purposes, interests, and imagination of the people who wield it. The fact that gunpowder began as a byproduct of the elixir of immortality, then became a weapon of the battlefield, and later a tool of industry, tells us that the meaning of this substance does not reside in the technology itself. From the moment a burned alchemist stood singed amid the smoke, humanity has held the same substance in its hands and continued, time and again, to make different choices with it.


References

[1]: Wikipedia, “History of gunpowder — Discovery” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/History_of_gunpowder); Wikipedia, “Baopuzi” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Baopuzi)

[2]: Wikipedia, “Wujing Zongyao” — Song dynasty military encyclopedia recording gunpowder formulas, 1044 CE (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Wujing_Zongyao); Asia for Educators, Columbia University, “Song Dynasty China: Gunpowder” (factual reference; https://afe.easia.columbia.edu/songdynasty-module/tech-gunpowder.html)

[3]: Wikipedia, “Gunpowder weapons in the Song dynasty” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Gunpowder_weapons_in_the_Song_dynasty); Wikipedia, “History of gunpowder — Early gunpowder artillery” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/History_of_gunpowder)

[4]: Wikipedia, “History of gunpowder — Transmission to the Islamic world and Europe” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/History_of_gunpowder); Wikipedia, “Roger Bacon” — encrypted gunpowder formula in Opus Majus (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Roger_Bacon)

[5]: Wikipedia, “Gunpowder artillery in the Middle Ages” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Gunpowder_artillery_in_the_Middle_Ages); Wikipedia, “Walter de Milemete” — oldest European cannon illustration, 1326 (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Walter_de_Milemete)

[6]: Britannica, “Fall of Constantinople” (factual reference; https://www.britannica.com/event/Fall-of-Constantinople-1453); Wikipedia, “Orban” — builder of the Basilica cannon (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Orban)

[7]: Wikipedia, “Gunpowder empires” — Ottoman, Safavid, and Mughal gunpowder technology (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Gunpowder_empires); EBSCO Research Starters, “Rise of the Gunpowder Empires” (factual reference; https://www.ebsco.com/research-starters/history/rise-gunpowder-empires)

[8]: Press.Rebus.Community, “Chapter 8 – Cannon and Fortresses in Early Modern Europe” (factual reference; https://press.rebus.community/historyoftech/chapter/cannon-and-fortresses-in-early-modern-europe/); Wikipedia, “Trace italienne” — bastion fortifications (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Trace_italienne)

[9]: Wikipedia, “Alfred Nobel” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Alfred_Nobel); Wikipedia, “Dynamite” (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Dynamite); Britannica, “Alfred Nobel” (factual reference; https://www.britannica.com/biography/Alfred-Nobel)

[10]: National Geographic, “The explosive origins of the Nobel Prizes” (factual reference; https://www.nationalgeographic.com/history/history-magazine/article/alfrednobelfounderprize); History.com, “How Alfred Nobel’s Invention of Dynamite Reshaped the World” (factual reference; https://www.history.com/articles/dynamite-invention-nobel)

[11]: Wikipedia, “Cannon” — history of earliest European metal cannons (CC BY-SA 4.0; https://en.wikipedia.org/wiki/Cannon); EBSCO Research Starters, “Siege of Constantinople (1453)” (factual reference; https://www.ebsco.com/research-starters/history/siege-constantinople-1453)

You Might Also Like

This article was written with the assistance of AI tools and published after source verification and fact-checking by the Origin Trace Editorial Team.