How Did Humans Invent Guns?

How Was the Gun Actually Invented? | The 1,200-Year Accident In the 8th century, a group of Tang Dynasty alchemists were trying to cure a skin disease. They accidentally set their workshop on fire, burned their own hands and faces, carefully recorded that the substance was extremely dangerous — and moved on. That failed pharmaceutical experiment was the beginning of the gun. Nobody set out to build a firearm. Nobody in that workshop had any intention of inventing a weapon that would eventually decide the outcome of battles, dismantle feudal social orders, and reshape the political architecture of multiple continents. What they had accidentally created was classified not as a weapon but as a hazardous failed medicine. Everything that followed took twelve centuries, an entire continent, and a chain of people who were almost universally focused on whatever problem was immediately in front of them. 🧵 What you'll discover: • The specific chemical reaction between saltpeter, charcoal, and sulfur that made everything possible — and why the saltpeter's role was the key that unlocked the entire mechanism • Why the earliest military uses of gunpowder had nothing to do with launching projectiles — Song Dynasty engineers used it purely for fire and psychological disruption, and the conceptual leap to a projectile hadn't been made yet • How the fire lance — a bamboo tube of gunpowder attached to a spear — became the first weapon to cross that conceptual threshold, and exactly how the addition of pellets and ceramic shards transformed it from a flame weapon into the world's first firearm • Why bamboo's structural limits forced the invention of metal barrels — and how the hand cannon emerged directly from that engineering constraint • The underappreciated role of the Mongol conquests as one of history's most consequential technology transfers — distributing gunpowder knowledge across Eurasia not through trade or diplomacy but as an incidental consequence of military campaigns • How castle walls and armored knights — the two dominant military forces of medieval Europe — both became obsolete through the same underlying mechanism, and what replaced them • The matchlock, the flintlock, and the percussion cap: what specific problem each one solved, why each solved it better than anything before it, and why each one eventually reached its own limit • How Japan received the matchlock from Portuguese traders in 1543 and refined it to a level European observers acknowledged as superior — and how China later reabsorbed an improved version of its own original invention The gun was not invented. It accumulated — across twelve centuries, one practical problem and one practical solution at a time, by people who had no idea where the chain was eventually going to end.