The first true gun was made in China in the 1280s: a bamboo tube packed with gunpowder, sealed and lit, firing a stone or metal pellet. The oldest surviving metal-barrel gun is the Xanadu hand cannon, cast around 1298, excavated in Inner Mongolia in 1970. Gunpowder weapons appeared in Europe by the 1320s and 1330s, and the technology spread across Eurasia within a generation.

That dates the weapon. It does not explain why it took a particular form. The deeper question is why a gun, rather than a better crossbow, became the default projectile weapon almost everywhere by 1500. The answer sits at the intersection of combustion physics, metallurgy, and logistics.

Mechanism: how a tube turns powder into a projectile

Gunpowder is not an explosive in the modern sense. It is a low explosive that deflagrates, meaning it burns faster through the packed charge than the speed of sound, but far slower than the detonation velocity of TNT. In a confined tube, that burn generates gas faster than the projectile can leave. Pressure builds behind the ball and accelerates it down the bore.

The sequence matters. Ignition starts at the surface of the granules. Heat and gas spread into the charge, and burning accelerates as pressure and temperature rise. A typical black-powder charge reaches peak pressure in roughly 1 to 5 milliseconds inside a small-arms barrel. Barrel length must match the powder's burn rate; too short and unburnt powder exits as smoke, too long and friction slows the ball after gas pressure falls.

The first guns were weak by any modern standard. Early hand cannons fired stone or iron balls at low velocity and were aimed by holding the tube under one arm. Their principal value was psychological and economic, not ballistic. Mounting a powder charge inside a metal tube was cheaper than training a longbowman for a decade, and that cost differential is what actually drove adoption.

This is the counterintuitive detail: the first gun was not superior to existing weapons on the battlefield. English longbowmen outranged and outshot early cannon for a century after firearms appeared. Guns won because they displaced training time onto a manufacturing process.

Quantified context: the 700-year spread

The transition from discovery to dominance took centuries, and the numbers show why.

Gunpowder reaches Europe via Mongol and Islamic trade routes around 1260 to 1300. First recorded European firearm use, a cannon at the Battle of Crécy, is dated to 1346, though Italian and German cities record firearms earlier in the 1320s. The matchlock mechanism, which freed a shooter's hands to aim, appears around 1475. The flintlock, more reliable in rain and faster to load, arrives around 1610 to 1630. The percussion cap, using a shock-sensitive primer, is patented around 1820 and reaches wide military use by the 1840s. Smokeless powder, introduced in 1884, roughly triples velocity and eliminates the smoke cloud.

Each of those steps took one to three generations to diffuse. The bottleneck was rarely the idea. It was the manufacturing base: consistent barrel forging, reliable lockwork, and the logistics of moving powder without it absorbing moisture.

One plain-language way to hold the timeline: the gun was invented in the 1280s, but it took until the 1500s for firearms to displace bows in most armies, and until the 1850s for accuracy at range to become dependable.

Timeline: from bamboo tube to rifled muzzle-loader

Period Development Why it mattered
1040s Chinese formulas for gunpowder mixtures recorded Standardized ratios made ignition predictable
1280s Bamboo and early metal tube guns in China First working firearm mechanism
c. 1298 Xanadu hand cannon cast in bronze Oldest surviving metal-barrel gun
1320s-1340s Firearms reach Europe Cannon and hand cannon enter sieges
c. 1475 Matchlock ignition Aiming and firing become one-person tasks
c. 1610-1630 Flintlock ignition Reliability in weather; faster reload cycle
1820s-1840s Percussion cap Eliminates the exposed powder pan
1884 Smokeless powder Higher velocity, less fouling, no smoke cloud

Edge cases: where the record gets murky

The "first gun" claim depends on what counts as a gun. The Xanadu hand cannon is the oldest surviving metal firearm, but surviving objects are a biased sample. Bamboo tubes rot. Bronze barrels get recast into other bronze. Any wooden-barreled weapon from the 1200s is simply gone.

The Chinese record also describes fire lances, which were tubes that sprayed flame and shrapnel rather than launching a single projectile. Most historians treat those as a precursor, not a gun. The dividing line is a projectile sealed in a tube and driven by gas pressure, and that distinction is a definitional choice, not a clean physical threshold.

Europe's first firearms appear in city records and account books before they appear in surviving hardware. A payment record for a gun is stronger evidence of use than a single excavated barrel, but it does not tell you what the gun looked like or how well it worked.

There is also a claim worth flagging as overstated. Popular accounts sometimes credit the invention to a single named figure, usually a European monk or alchemist. The documentary trail points to a gradual Chinese development over decades, with no single inventor, which is why no credible date attaches to one person's name.

Misconceptions that persist in thin explainers

The most common error is treating gunpowder as a European invention. Gunpowder was developed in China by the 800s and documented in military formulas by the 1040s, centuries before any European firearm. Roger Bacon described its properties in the 1260s, but describing a substance is not inventing it.

A second error conflates the cannon with the handgun. Siege cannon, which are large and immobile, appear in European records around the same time as hand-sized firearms. Describing all early firearms as "cannon" obscures that personal firearms existed early and were militarily marginal.

A third error assumes that early guns were dangerous to the user. They were, but the reason is often misstated. The hazard was not spontaneous explosion of the powder. It was inconsistent barrels, poor powder quality, and the physical need to hold a burning match beside an open charge.

Red flags to watch when reading popular gun-history claims:

A single named inventor with no documentary citation. A date for "the first gun" with no mention of what counts as a gun. Claims that firearms immediately replaced bows. Confusion between first documented use and oldest surviving object. Chinese invention treated as legend rather than documented record. No distinction between cannon and handheld firearms.

Comparison: what the first guns beat, and what beat them

Weapon Effective range Training time Cost driver Limitation
Early hand cannon (1280s-1400s) Tens of yards Days to weeks Powder and iron Slow reload, poor accuracy
Longbow 150-200 yards Years Bowyer and archer skill Archer supply cannot scale
Crossbow 50-100 yards Weeks Mechanical parts Slow wind, low rate of fire
Early matchlock musket (1500s) 50-100 yards Weeks Barrel and lockwork Match cord fails in rain
Flintlock musket (1700s) 100-150 yards Weeks Lockwork precision Fouling after a few shots

The pattern in that table is the whole story of the gun's rise. Firearms were never the best weapon in every column. They won on training time and scalability, which is the column that determined how large an army could be fielded.

Practical actions: how to date a gun claim yourself

If you encounter a "first gun" claim, apply these steps in order. Each is a threshold, and applying them in the wrong order gives you a false confident answer.

Step one: define the weapon. If the object sprays flame rather than launching a projectile, it is a fire lance, and it belongs to a different lineage. A gun needs a sealed tube, a projectile, and gas-driven launch.

Step two: check whether the date refers to the surviving object or the documentary record. The Xanadu hand cannon dates to roughly 1298, but written records of firearms slightly precede it. Do not treat the oldest object as the moment of invention.

Step three: look for the word "documented" versus "dated." A carbon or thermoluminescence date on a barrel gives an age; a city ledger gives a use date. These answer different questions.

Step four: distinguish regional firsts. The first European firearm, the first Chinese firearm, and the first surviving firearm all have different dates. A claim that collapses them is a red flag.

Step five: reject precise dates that no primary source supports. A claim like "the first gun was made on June 14, 1298" is not a fact; it is a fabrication dressed as precision. Legitimate scholarship gives decades or "circa" dates for this period.

Reconciling the thresholds explicitly: the earliest documented gunpowder weapon is Chinese and predates 1100; the earliest true firearm mechanism dates to the 1280s; the oldest surviving metal-barrel gun is the c. 1298 Xanadu hand cannon; European firearm records begin in the 1320s. None of those numbers contradicts the others, because each measures something different. The mistake is treating them as alternative answers to one question.

Limitations: what the evidence cannot settle

The archaeological record cannot tell you how many early guns existed, how effective they were, or who made the first one. Bamboo and wooden components decayed. Bronze was recycled. Powder quality varied so widely that a surviving barrel tells you nothing reliable about the performance of an original charge.

Experimental archaeology can reconstruct plausible velocities, but reconstructions depend on assumptions about powder composition and projectile fit. Those assumptions are not recoverable from the artifacts. Any performance number for a 13th-century gun should be read as a modeled estimate, not a measurement.

The documentary record is likewise uneven. Chinese sources are detailed for military formulas but thin on specific weapon provenance. European records are strong on municipal purchases and weak on engineering detail. Neither source set supports a precise "first" beyond the decade level, and any explainer that gives a precise date without qualification is overstating the evidence.

What the record does support firmly is sequence: gunpowder chemistry in China by the 800s, tube-launched projectiles by the 1280s, metal barrels by the end of that century, and European adoption within about thirty years. Those intervals are well documented and robust. The finer questions, including the exact identity of the first maker, are probably lost.

The practical consequence is this. When someone asks when the first gun was made, the honest answer has two layers. The first working firearm dates to the 1280s in China, and the oldest surviving metal-barrel gun to about 1298. Everything more precise than that is inference, and inference dressed as certainty is the main way thin explainers get this topic wrong.

If you are relying on a gun date for legal, safety, or regulatory purposes, such as compliance with a firearm law or a museum acquisition standard, this article is general educational information only. It is not a legal opinion or a safety determination, and it does not substitute for a qualified professional or the relevant regulatory authority in your jurisdiction.