Why WondersBig questions, clear answers.

Why Was the Transcontinental Railroad Built?

History Level 2 · Investigator Ages 9–12

Short answer

In the 1860s, crossing the United States took months by wagon or ship. Congress paid two companies to build a railroad linking the East to California, and the tracks met at Promontory, Utah, on May 10, 1869.

Old photograph of a railroad line through a hemlock forest in the Lehigh Valley
Image: William H. Rau; The Cleveland Museum of Art · CC0 (Open Access)

Picture the United States in 1860. If you lived in New York and wanted to visit California, you could ride a wagon across plains, deserts, and mountains, or sail all the way around South America. Either trip could take months. A railroad running across the whole continent would shrink that journey to days and tie the country’s coasts together.

Congress makes a deal

Building a railroad that long was too expensive and risky for a company to do alone. So on July 1, 1862, Congress passed the Pacific Railway Act. The law offered two big kinds of help. It provided government bonds, which worked like loans, to raise money. It also gave the builders large grants of land along the route.

The act picked two companies. The Union Pacific would build westward, and the Central Pacific would build eastward. The idea was that they would race toward each other and meet somewhere in between.

Who did the work

Construction started in 1863. The Union Pacific began at Omaha, Nebraska, and hired more than 8,000 immigrants from Ireland, Germany, and Italy. The Central Pacific began at Sacramento, California, and its workforce included more than 10,000 Chinese laborers. Those crews had to blast through mountains, cross deserts, and keep working through harsh winters.

The National Park Service describes the railroad as a story of many people and cultures coming together. That is true, but the story is not all happy. The tracks cut across the homelands of American Indian nations, and that led to conflict. Historians today tell the railroad’s story with all of these people in it.

The last spike

On May 10, 1869, the last rails were laid during a ceremony at Promontory, Utah. Two locomotives, one from each company, met nose to nose, and a final spike was driven into the track. The site is now Golden Spike National Historical Park, where you can learn about those two engines and the special spikes made of precious metals.

What changed afterward

The first line was only the beginning. Congress eventually approved four transcontinental railroads and handed out 174 million acres of public land for their routes. Trains carried people, mail, and goods across the country far faster than before. Fast, scheduled trains even caused a new problem with clocks, which helped lead to time zones.

So why was it built? To connect a huge country, to move people and goods quickly, and because the government decided the project mattered enough to pay for much of it.

Fun facts

  • Four precious-metal spikes are remembered at Golden Spike National Historical Park in Utah.
  • Congress eventually approved four transcontinental railroads and gave away 174 million acres of public land for them.

Key words

transcontinental
Going all the way across a continent.
subsidy
Money or other help a government gives to get a project done.
right-of-way
A strip of land that a road or railroad is allowed to use.

See the full glossary

Quick quiz

1. Which law helped pay for the railroad?
Show the answer

The Pacific Railway Act. The 1862 Pacific Railway Act gave land and government bonds to the builders.

2. Where did the two lines meet?
Show the answer

Promontory, Utah. The last spike was driven at Promontory, Utah, on May 10, 1869.

3. Which railroad company hired more than 10,000 Chinese workers?
Show the answer

Central Pacific. The Central Pacific, building east from California, relied heavily on Chinese laborers.

What did you think?

Tap one. We only count the button, never who pressed it: no names, no accounts, no cookies.

Still have a question? Kids: ask a grown-up to email our editors for you. Found a mistake? Send a correction.

Sources

Pages our editors opened and checked for this answer.

  1. Pacific Railway Act (1862) | National Archives — retrieved November 23, 2026
  2. History & Culture - Golden Spike National Historical Park (U.S. National Park Service) — retrieved November 23, 2026
  3. Golden Spike National Historical Park (U.S. National Park Service) — retrieved November 23, 2026

Related questions

  • A 19th-century print of a mosque in Cairo, the capital of modern Egypt
    Why Do Countries Have Capitals?

    Why does a country need a capital city? Lessons from ancient Memphis in Egypt and the U.S. Constitution's plan for Washington, D.C., for kids.

    Countries & Places Investigator Ages 9–12

  • Earth photographed from the International Space Station during a night pass
    Why Do We Have Time Zones?

    Why does the clock read different times in different places? Sun time, railroads, the 1884 prime meridian conference and the 24 time zones, for kids.

    Countries & Places Investigator Ages 9–12 Try it

  • Detail of a painted mural showing the Wright Flyer, made for the Centennial of Flight
    Why Did the Wright Brothers Fly at Kitty Hawk?

    Why did the Wright brothers leave Ohio to fly at Kitty Hawk? Wind, sand, gliders and the 1903 Wright Flyer, explained for kids.

    History Investigator Ages 9–12

  • Satellite image of Yellowstone National Park showing lakes, forests and mountains
    Why Do We Have National Parks?

    Why did the U.S. create national parks? How Yellowstone became the first national park in 1872 and why the Park Service began in 1916, for kids.

    Countries & Places Explorer Ages 6–8