Coal, ore and minerals
Railways began by carrying coal from mines. Long “unit trains” of one hundred or more hopper cars still haul coal, iron ore, sand and gravel straight from mine to power plant, mill or port.
Two steel rails, a wheel that rolls almost without friction, and an engine strong enough to pull a whole town’s worth of freight: put them together and the world changes. In under two hundred years, railways grew from a short coal line in northern England into a network of more than a million kilometres that carries food, fuel, machines, mail and billions of people every year. This is the story of how railroads were built, how they work, and how different countries use them.
A steel wheel on a steel rail rolls with very little resistance, so one locomotive can pull a load that would take hundreds of trucks. That is why railways are still the cheapest way to move heavy things over long distances on land, and one of the most efficient ways to move crowds of people.
Railways began by carrying coal from mines. Long “unit trains” of one hundred or more hopper cars still haul coal, iron ore, sand and gravel straight from mine to power plant, mill or port.
Grain elevators stand beside tracks across the American Plains, Canada, Ukraine and Australia. Refrigerated cars, first used in the 1860s and 1870s, let meat, fruit and vegetables travel across a continent without spoiling.
Standard steel boxes move between ships, trains and trucks. From the 1980s, American railroads began stacking containers two high on one car, and the “double-stack” train became a main route for goods from Asia to the heartland.
Special cars carry new cars, liquids, gases, lumber and steel. Every kind of freight has a car built for it.
For the same load, a freight train generally uses far less fuel than trucks. In the United States freight railroads carry about 40 percent of long-distance freight by ton-miles and, on average, move a ton of freight roughly 450 to 500 miles on a gallon of fuel.
In China, India, Russia and the United States, railways carry a large share of the freight that keeps factories, farms and power stations running.

Railways carried the mail for more than a century. In the United States, railway post office cars sorted letters while the train ran, until the last ones closed in 1977. Telegraph wires ran beside the tracks and brought news faster than any train.
Every town once kept its own clock. Trains needed one timetable, so on 18 November 1883 American and Canadian railroads adopted standard time zones. The law followed in 1918.
Catalogue companies such as Sears sent goods by rail to farms across the country. Towns that had a station could order almost anything.
Dining cars, sleeping cars and station hotels made long journeys comfortable. Staff, signallers, dispatchers and repair crews work around the clock to keep it all safe.
Cities such as Chicago, Omaha and Kansas City grew as rail hubs. Commuter lines then let people live outside the city and work inside it.
Railways move relief supplies after disasters and, in wartime, soldiers and equipment. That also makes them a target, and wars have repeatedly turned on who controls the tracks.
Millions ride the train every day, from daily commuters in Tokyo, Mumbai and London to families on holiday. Rail takes you from city centre to city centre without airports or traffic.
Railroads carried immigrants and settlers to farmland, and later helped people move from the countryside to the city in search of work.
Scenic lines such as the Trans-Siberian, the Swiss mountain railways and the Rocky Mountaineer turned the journey itself into the destination.
Electric trains, especially those powered by clean electricity, usually produce much less carbon dioxide per passenger than cars or planes over the same trip.

Trains can be sorted by what powers them, by what they carry, and by where they run. Here they are, roughly in the order they arrived.
A fire heats water in a boiler. The steam pushes pistons, which turn the wheels. A fireman, or stoker, shovels fuel and a tender behind the engine carries the coal and water. Steam locomotives were powerful but dirty and needed a great deal of work to run. Mallard set the steam speed record of 126 mph in 1938, and the giant Union Pacific Big Boys of the 1940s were among the biggest ever built.
A diesel engine drives a generator, and electric motors turn the wheels. Diesels need less crew and maintenance, and from the 1930s and 1940s they replaced steam across North America. Steam hung on in Britain until 1968 and in parts of China into the twenty-first century.
Electric trains take power from overhead wires (a catenary) or a third rail. They are quiet, accelerate quickly and make no exhaust where they run. Electrification began in the 1880s and 1890s, and Switzerland, Japan, China and much of Europe now run mostly on electricity.
Some railroads tried gas-turbine locomotives. Union Pacific used them in the 1950s and 1960s, but cheap diesel fuel brought them to an end.
For lines without overhead wires, battery trains and hydrogen fuel-cell trains are new options. The first hydrogen passenger trains entered service in Germany in 2018.
Magnetic levitation trains float above a guideway and are pushed by magnetic fields, so there is no wheel contact. The Shanghai Maglev has carried passengers since 2004, and a Japanese test maglev has reached 603 km/h (375 mph).






Unit trains of one commodity, mixed freight and intermodal container trains. Cars include boxcars, hoppers, tank cars, flatcars, gondolas, refrigerator cars and auto racks.
Long-distance and sleeper trains, express trains and, on the best routes, high-speed trains that run at 250 to 320 km/h (155 to 200 mph).
Underground and elevated trains for crowded cities. London opened the first in 1863, Boston the first in the United States in 1897, and Tokyo the first in Asia in 1927.
Street-running cars and modern light-rail lines, which take people to the middle of the city without a tunnel.
A toothed rail and gear let a train climb very steep slopes. The Mount Washington Cog Railway in New Hampshire opened in 1869 and still climbs the mountain. Funiculars use cables.
Monorails run on a single beam. Narrow-gauge lines suit mountains and mines, and heritage railways keep steam alive for visitors.
Most of the world’s lines use standard gauge, 1,435 mm or 4 ft 8½ in, the width of George Stephenson’s early lines. Others differ: Russia uses a wider 1,520 mm; India, Pakistan and Argentina use broad gauge of about 1,676 mm; Spain and Portugal have their own wide gauge; and Japan uses narrow 1,067 mm for older lines but standard gauge for the Shinkansen. A change of gauge at a border can force passengers and freight to change trains, or the train to change its wheels.
Horses had pulled wagons on wooden rails in European mines since the 1500s, and in the 1700s iron rails made the track tougher. What was missing was a machine that could pull the load by itself.
In 1804 the Cornish engineer Richard Trevithick built a steam locomotive that hauled iron and men along a tramway at Penydarren in Wales. It worked, but it was heavy and broke the cast-iron rails. In 1812 locomotives began hauling coal on the Middleton Railway at Leeds, and George Stephenson built his first locomotive in 1814.
On 27 September 1825 the Stockton and Darlington Railway opened in northern England, the first public railway to use steam locomotives, with Stephenson’s Locomotion No. 1. In 1829, the Rainhill Trials chose the best engine for the Liverpool and Manchester line. Robert Stephenson’s Rocket won, at about 30 miles an hour. When the Liverpool and Manchester Railway opened on 15 September 1830, it was the first intercity railway where steam locomotives pulled passengers and goods to a timetable. It was also the day the politician William Huskisson was struck and killed by a train, an early warning that speed had its dangers.



The United States is a country of long distances, and railroads gave it a way to cross them. The story is one of ambition, engineering, immigrant labour and, for Native nations, loss.
The Baltimore and Ohio Railroad was chartered in 1827 and opened its first section in May 1830. Peter Cooper’s small Tom Thumb locomotive was tried there that summer. In December 1830 the Best Friend of Charleston began scheduled steam passenger service in South Carolina. Track grew from about 3,000 miles in 1840 to about 9,000 miles in 1850 and more than 30,000 miles in 1860, mostly in the East and Midwest.

Gold in California, settlers in Oregon, and a country divided by the Civil War all pushed for a link to the Pacific. President Abraham Lincoln signed the Pacific Railway Act on 1 July 1862. It gave two companies loans and large grants of public land. The Central Pacific would build east from Sacramento, California. The Union Pacific would build west from the Missouri River near Omaha, Nebraska.

The two lines met at Promontory Summit, Utah, on 10 May 1869. A ceremonial golden spike was set in a laurel tie, and a telegraph operator sent one word to the nation: “Done.” The locomotives Jupiter of the Central Pacific and No. 119 of the Union Pacific faced each other across the gap.


Typical or representative times, rounded. Bar lengths use a compressed scale so the short times can still be seen.
More transcontinental lines followed: the Northern Pacific and the Southern Pacific in 1883, the Santa Fe into California in the 1880s, and the Great Northern in 1893. The Canadian Pacific was completed in 1885, joining Canada from sea to sea.
In 1883 the railroads created the time zones used in North America. In 1886, southern railroads changed about 13,000 miles of track to the standard gauge in roughly two days, so cars could run anywhere.
George Pullman’s sleeping cars, dining cars and Fred Harvey’s restaurants along the Santa Fe made travel comfortable. Railroad towns sprang up wherever the line needed water, coal or repairs.
US railroad mileage peaked at about 254,000 miles in 1916. Trains carried nearly all intercity travel and freight.
Cars, the Interstate Highway System from 1956, and airlines drew people away. Many railroads lost money on passengers, and in 1971 Amtrak took over most intercity passenger service.
After the Staggers Act relaxed control of freight rates in 1980, and with double-stack container trains, freight railroads became leaner and strong. Today about 140,000 route-miles are in service, owned mostly by a handful of large companies.
Read about what is under the tracks on Planet Continent, and the rivers and mountains the railroads had to cross on Planet River and Planet Mountain.
Railways spread outward from Britain along trade routes and empires. Some were built to carry ore or crops to a port. Others joined capitals, or whole nations. Tap a marker, or choose a continent, to see when each country got its first line.
Loading the map…
| Country | First railway | What happened |
|---|
Dates are for the first steam railway or the first line that carried the public, and countries are named as they are today. Sources differ about what counts as the “first,” so some dates are given as a range.
Begun in 1891 and finished in 1916, it runs about 9,300 km (5,800 miles) from Moscow to Vladivostok across seven time zones, the longest railway line in the world.
Completed on 7 November 1885 at Craigellachie, British Columbia. It tied the new country together and carried settlers to the prairies.
Linked east and west in 1917. The Indian Pacific between Sydney and Perth crosses the Nullarbor Plain on a stretch of 478 km (297 miles) with hardly a curve, the longest straight track in the world.
From 34 km in 1853 to a network of tens of thousands of kilometres that carries billions of passengers a year, one of the biggest in the world.
About 160,000 km of railway, with the largest high-speed network in the world. The Qinghai–Tibet Railway, opened in 2006, is the highest railway in the world.
Many African lines were built to carry minerals and crops to the coast. The Uganda Railway, the TAZARA line (1975) and Kenya’s new Mombasa–Nairobi line (2017) are some of the larger projects.
A 50 km (31 mile) tunnel under the sea opened in 1994, joining Britain to the European rail network. Eurostar trains make the trip from London to Paris in about two and a quarter hours.
Opened in 1855 across the Isthmus of Panama, about 48 miles. It carried gold-rush travellers between the Atlantic and Pacific long before the canal.


The United States built railroads first for freight and then fell in love with the car. Japan and much of Europe, with more people in less space, built railways for passengers and kept them. The result is that a train is a normal way to cross a country in Japan and Europe, and a special choice in most of the United States.

| United States | European Union | Japan | |
|---|---|---|---|
| High-speed service began | 2000 (Acela, partly fast) | 1981 (France) | 1964 |
| Fastest regular trains | Up to 150 mph (241 km/h) on limited stretches | About 300 to 320 km/h | Up to 320 km/h |
| Typical train | Locomotive and heavy double-deck cars | Locomotives or multiple units, many single-deck cars | Electric multiple units |
| Who uses the tracks most | Freight | Passengers and freight | Passengers |
| Share of passenger travel | Well under 1% (intercity) | About 7–8% | About a quarter to a third |
| Main idea | Moving freight and a few long routes | Linking neighbouring cities and countries | Moving huge numbers of people on time |
Figures are rounded, vary by year and by how travel is counted, and are meant to show scale, not exact rank.
A railcar is any wheeled vehicle on a railway. Freight cars carry goods, and passenger cars carry people. Some, such as a railcar or diesel multiple unit, have their own engine and need no locomotive. In North America a long freight train may have two, three or more locomotives, sometimes in the middle or at the end, while a Japanese commuter train is usually a set of cars that all drive themselves.
Railways are having a second life. Cities want to move people without traffic or exhaust, and countries want to cut the carbon from freight and travel.
China opened its first line in 2008 and now has far more high-speed track than any other country, by some counts about two-thirds of the world’s. Spain has the biggest network in Europe, and Japan, France and Germany keep expanding. A French TGV set a record of 574.8 km/h on a test run in 2007.
Shanghai’s commercial maglev reaches 431 km/h. Japan is building the Chuo Shinkansen maglev between Tokyo and Nagoya and later Osaka; its opening has been delayed.
Electric trains are cleaner where the electricity is clean. India has been electrifying almost all of its main lines, and many countries are adding wires to their busiest routes.
For quiet country lines without wires, hydrogen and battery trains are being tried in Germany, Britain, Japan, the United States and elsewhere.
Several European operators are bringing back sleeper services, such as Austria’s Nightjet, as travellers look for lower-carbon alternatives to short flights.
Brightline now runs between Miami and Orlando. A California high-speed line and a Las Vegas line are in construction or planning, and their schedules keep changing.
Fly instead? See the sister story on History of Aviation on Our Planet, and track flights on Planet Flight Network. For storms and floods that stop trains, see Planet Weather.
The History of Railroads course has section tests on everything on this page, plus crossword puzzles and Word Trails.
Sources disagree on some dates, distances, speeds and the exact meaning of “first,” so figures here are often rounded. Good places to read more:
Historical pictures are labelled public domain or CC0 on Wikimedia Commons. Each has a credit and a link to its source page, where the licence details are recorded.