Invention · Industrials · Machinery
Who invented the railway locomotive?
Ask who invented the railway locomotive and the answer that comes back is usually George Stephenson. The honest answer is a generation older and a good deal stranger: the first steam locomotive to run on rails was built by Richard Trevithick in 1804 to settle a five-hundred-guinea wager between two Welsh ironmasters. Stephenson did not invent the locomotive. He did something arguably harder - he turned it into an industry.
From the book The Railway LocomotiveChapters 11, 12, 13 and 14. Read the full book free as a PDF.
A bet in Merthyr Tydfil
In 1803 Samuel Homfray, master of the Penydarren Iron Works at Merthyr Tydfil in South Wales, wagered five hundred guineas with his neighbour Anthony Hill that a steam engine could haul ten tons of iron down the nine and a half miles of the Merthyr tramroad to the Glamorganshire Canal. Homfray's confidence had a name attached: Richard Trevithick, the Cornish engineer whose high-pressure steam engines his works already used. On 21 February 1804 the engine made the journey, pulling the iron, seventy men who had climbed aboard for the adventure, and - though nobody present could have said so - the entire future of land transport. Guinness World Records recognises it as the first full-scale working railway steam locomotive.
The machine was improvised around its road. It had a single horizontal cylinder eight and a half inches across, a boiler whose single flue doubled back on itself, and plain flangeless wheels, because the tramroad was a plateway - flat cast-iron plates with guiding flanges, laid for horses. The five-ton engine cracked the plates by the dozen on the way down. Homfray won his bet, the iron reached the canal, and the world barely noticed: Wales was the edge of the industrial world, and a machine that broke the road it ran on looked like a curiosity.
The lesson of Catch Me Who Can
Trevithick built twice more. His 1805 engine for the Wylam colliery in Northumberland never ran, for want of rails strong enough to carry it - the first proof that locomotive and track are one machine, and the weaker half sets the limits. In 1808 he laid a circular track on open ground in London, near where Euston station now stands, and hauled paying passengers in circles at twelve miles an hour behind an engine he named Catch Me Who Can. It was the first time the public could buy a ride behind steam, and it failed commercially. Trevithick went to South America to sell pumping engines, lost what he had, and died poor in 1833. The pattern recurs throughout industrial history: the man who makes the decisive leap is rarely the man who builds the industry on it.

The coalfield workshop
Between 1804 and 1825 the locomotive grew up in private, in the collieries of Northumberland and Durham. At Wylam, William Hedley's Puffing Billy of 1813-14 settled the question that had dogged Trevithick: a smooth iron wheel on a smooth iron rail grips by friction alone, with no rack or toothed rail, and Hedley demonstrated it with a test wagon loaded with observers. At Killingworth, George Stephenson - enginewright from 1812 - built his first locomotive, Blucher, in 1814, then spent fifteen years correcting one defect at a time: stronger wrought-iron rails, coupled wheels to spread the weight, and the exhaust steam blast piped up the chimney, which made the fire burn harder exactly when the engine worked hardest. It was the steam locomotive's most useful side effect: the exhaust that creates the draught is steam already used in the cylinders, put to a second use, though the draught is not free power: it adds back pressure that costs the engine some efficiency.
In 1823 George and his son Robert founded Robert Stephenson and Company in Newcastle - the first factory in the world built specifically to manufacture locomotives. Until then every engine had been a colliery's own product; from 1823 there existed a firm whose whole business was locomotives, building for railways its men would never see.
The track mattered as much as the engine. The colliery years were also the years in which brittle cast-iron plates gave way to cast-iron edge rails and then, by the 1820s, to rolled wrought-iron rails - the enabling material the locomotive had been waiting for since 1804. And the stakes are worth remembering: in the world before the locomotive, nothing on land had ever moved faster than a horse. The demand to travel - to visit, to trade, to see - had been capped for all of history by the speed of an animal, and nobody knew the size of that demand until the cap came off. The Stockton and Darlington's directors expected a coal road with a sideline in passengers; they found the reverse, a public so eager to be carried that passenger receipts outran every forecast.
Stephenson's two verdicts
The Stockton and Darlington Railway, opened on 27 September 1825 with Stephenson at the controls of Locomotion No. 1 and some six hundred passengers behind, put the pieces together: a public company, steam power, and a paying public. Then, in October 1829, the Liverpool and Manchester Railway staged the Rainhill trials - a five-hundred-pound prize, published specifications, three independent judges. Five machines entered; four broke down; Robert Stephenson's Rocket, with its revolutionary boiler of twenty-five copper fire-tubes, completed the course at an average of better than thirteen miles an hour without a single defect, then ran light at thirty-five for the crowd. Rainhill settled that the locomotive would work the railways, settled its design for a century, and settled who would build them. So: Trevithick invented the railway locomotive. The Stephensons proved it could pay.

Quick answers
Who built the first railway locomotive?
Richard Trevithick. His Penydarren engine hauled ten tons of iron and seventy men along nine and a half miles of Welsh tramroad on 21 February 1804 - twenty-five years before Stephenson's Rocket.
Did George Stephenson invent the locomotive?
No. Stephenson built his first locomotive, Blucher, in 1814, ten years after Trevithick's run. His achievement was different: he matured the machine in the colliery years, founded the first locomotive factory in 1823, and won the Rainhill trials that fixed the design.
What was the Rainhill prize?
Five hundred pounds, offered by the Liverpool and Manchester Railway in 1829 for a locomotive that could pull three times its own weight at ten miles an hour within strict weight and cost limits. Rocket was the only entrant to finish the course.
Sources
- Guinness World Records, "First steam locomotive to run on rails"
- BBC News, "How a £525 bet gave birth to your morning commute" (2024)
- Wikipedia, "Puffing Billy (locomotive)"
- Historic England, "A Brief Overview of the Stockton & Darlington Railway"
- National Railway Museum blog, "Shildon: the cradle of the railways and Locomotion No. 1"
- ASME landmark brochure, "The Rainhill Trials" (PDF)
- Wikipedia, "Rainhill trials"
