The Civil War was the first large war in which railroads moved and fed armies on a grand scale, and Virginia, with the Confederate capital at Richmond and the Union capital just across the Potomac, was where that new kind of warfare was tested hardest. Many of the state’s most famous battles were fought for railroad junctions, and the war in the East ended when the Union finally cut the last rail lines into Richmond and Petersburg. This page explains why railroads mattered so much and follows them through the major campaigns.

Quick answer: Railroads let armies operate far from rivers and coasts by carrying the huge quantities of food, fodder and ammunition that soldiers and horses needed. In Virginia the key lines met at junctions such as Manassas, Gordonsville, Burkeville and above all Petersburg, where five railroads converged. The Union’s U.S. Military Railroad rebuilt and ran captured lines to supply its armies, while the Confederacy’s rail system wore out. Grant’s 1864-1865 siege of Petersburg aimed to cut those lines, and the seizure of Lee’s ration trains at Appomattox Station on April 8, 1865, forced Lee’s surrender the next day.[1][2][3]

Contents

Why armies needed railroads

An army of the 1860s ate enormous amounts. Each soldier needed roughly three pounds of food a day, and each horse or mule far more in hay and grain. A force of 100,000 men with its draft animals required millions of pounds of supplies every day. Moving that much by wagon was almost impossible over long distances, because the mules pulling the wagons consumed much of what they carried, and they had to be fed whether they worked or not. A locomotive, by contrast, burned wood only when it ran and could haul many times the load at several times the speed.

Before railroads, large armies stayed close to navigable rivers or the sea. Railroads allowed them to campaign deep inland, as long as the tracks were held and kept in repair. Telegraph lines strung along the rails also carried orders between the front and the capitals.[1]

The railroads that held the Midwest

The foundations of Union victory were laid in the 1850s, when four trunk railroads crossed the Appalachians to link Eastern ports with the Ohio Valley and the Great Lakes. The Erie reached Lake Erie in 1851, the Pennsylvania Railroad reached Pittsburgh in 1852, the New York Central linked New York with Buffalo in 1853, and the Baltimore and Ohio reached the Ohio River at Wheeling, then in Virginia, in 1853.

Before those lines, farmers in Ohio, Indiana and Illinois shipped most of their crops down the Mississippi to New Orleans. Afterward, much of their trade flowed east by rail and canal to New York, Philadelphia and Baltimore. Those new economic ties helped keep the Old Northwest firmly in the Union in 1861. Northern railroads were also more standardized and better connected than Southern ones, where lines owned by separate companies often used different track gauges and did not interchange freight.[1]

Virginia’s lines ran east-west

Virginia’s railroads had been built to bring tobacco, wheat, iron and coal from the interior to the Fall Line cities and ports: Alexandria, Richmond, Petersburg and Norfolk. Most lines therefore ran east-west, not north-south. Even in Alexandria the three local railroads did not connect with one another. That geography mattered when Union armies tried to advance on Richmond, because there were few rail lines leading in the right direction, and each one became a target.

The Virginia and Tennessee Railroad

One line had special strategic importance. The Virginia and Tennessee Railroad, completed from Lynchburg to Bristol in 1856, tied the far southwest of the state to the east. Before it arrived, farms and salt works in the upper Tennessee and Holston valleys sent much of their produce downriver toward Tennessee, because hauling goods by wagon over the Blue Ridge to Lynchburg or Petersburg was so expensive. The railroad reoriented that trade toward eastern Virginia, raised the value of farmland and drew Southwest Virginia’s economic and political leaders closer to the slaveholding east.

During the war the line became the Confederacy’s main rail link between Virginia and the western theater, carrying troops, salt from Saltville, lead from the Wythe County mines and food. Union raiders attacked it repeatedly, and its salt works and bridges were the objects of battles in 1864. The northwestern counties, tied by the B&O to Baltimore and the Ohio Valley, went the other way and formed West Virginia; our page on why West Virginia split from Virginia explains the divide.

Manassas Junction and the first railroad battle

The first major battle of the war was fought where two railroads met. At Manassas Junction the Orange and Alexandria Railroad, running southwest from Alexandria toward Gordonsville, crossed the Manassas Gap Railroad, which ran west through the Blue Ridge to the Shenandoah Valley. Confederate forces fortified the junction in 1861 to block a Union advance toward Richmond.

In July 1861 Confederate General Joseph E. Johnston slipped away from Union forces near Winchester, marched his troops over the Blue Ridge and loaded many of them onto Manassas Gap Railroad trains at Piedmont Station, today’s Delaplane. They arrived in time to help win the First Battle of Manassas (Bull Run) on July 21, one of the first times troops were moved to a battlefield by rail.[1][4] Through the following winter the Confederates supplied their lines at Centreville over a short military railroad built from Manassas, and drew food from the Shenandoah Valley over the Manassas Gap line. A year later, at Second Manassas in August 1862, Stonewall Jackson’s men fought from the embankment of an unfinished railroad grade.[5] Our page on Civil War in Virginia covers the wider campaigns.

The U.S. Military Railroad

In January 1862 Congress authorized President Lincoln to take control of railroads when the nation’s safety required it, and in February Secretary of War Edwin Stanton named Daniel C. McCallum director of the U.S. Military Railroads. At first the agency controlled only the short line from Washington to Alexandria; by May 1862 it was running the Orange and Alexandria and the Manassas Gap lines as supply routes.[2] Its headquarters and shops were in Alexandria.

The engineer Herman Haupt led field operations in Virginia, building a Construction Corps that rebuilt bridges and track almost as fast as Confederates destroyed them. After seeing a trestle Haupt had thrown across Potomac Creek near Fredericksburg in 1862, Lincoln marveled that it contained “nothing in it but cornstalks and beanpoles.” By the end of the war the agency had operated parts of 17 railroads in Virginia, Maryland and Pennsylvania and more than 2,100 miles of track across the South, and its Construction Corps had grown to nearly 10,000 men.[2] The Long Bridge across the Potomac, rebuilt for locomotives in 1863, was its link to the North; see our page on the Long Bridge.

A worn-out Confederate system

The Confederacy never matched that organization. It had no equivalent agency, its railroads remained private companies with competing interests, and its few iron mills and machine shops were devoted to cannon, munitions and ironclads rather than rails and locomotives.[1] Equipment wore out and could not be replaced. Railroad presidents complained that they could buy wood and grease but not rails, engines or skilled men, and lines were stripped to keep more important routes running. By 1863 most Virginia railroads could run only a couple of trains a day in each direction. Both sides tore up track where they could, heating the rails over bonfires of crossties and bending them so they could not be reused.

The Shenandoah Valley gap

No railroad ran the full length of the Shenandoah Valley during the war. One line ran from Harpers Ferry to Winchester; another ran south from Strasburg to Mount Jackson; between Winchester and Strasburg there was no track at all. Both armies in the Valley depended on wagon trains for much of their supply. When General Philip Sheridan laid waste to the Valley’s barns and mills in the fall of 1864 and defeated Jubal Early at Cedar Creek, the Union considered supplying its troops by rail through Manassas Gap, but raids by John S. Mosby’s partisan rangers made those lines too risky to depend on.[1][6] Our page on railroads of the Shenandoah Valley follows the lines that were completed after the war.

Petersburg: the railroad siege

In 1864 Ulysses S. Grant’s Overland Campaign fought its way south through the Wilderness, Spotsylvania and Cold Harbor without capturing Richmond. In June he swung his army across the James River toward Petersburg, 23 miles south of the capital. Petersburg mattered because five railroads converged there, carrying the supplies that kept Richmond and Lee’s army alive.[3]

The siege lasted more than nine months. Grant extended his lines west and south step by step, cutting the Norfolk and Petersburg, then the Weldon Railroad to North Carolina, and finally reaching for the South Side Railroad to Lynchburg. His own army was supplied by a U.S. Military Railroad line from the supply base at City Point, rebuilt and extended along the siege lines.[1] On April 1, 1865, Union troops broke through at Five Forks, and the next day they seized the South Side Railroad. With no rail connection left, Lee evacuated Petersburg and Richmond that night.[7]

Retreat to Appomattox

Jefferson Davis and his cabinet fled Richmond by train on the night of April 2, riding the battered Richmond and Danville Railroad to Danville, which served briefly as the last capital of the Confederacy.[8] The tracks were in such poor condition that the train crawled.

Lee hoped to march west, pick up rations shipped by rail and turn south along the Richmond and Danville line to join Confederate forces in North Carolina. At Amelia Court House the expected supplies were missing, and Union troops blocked the railroad at Jetersville. Lee turned west toward Farmville, losing much of his army at Sailor’s Creek on April 6.[9] He crossed the Appomattox at High Bridge and pushed on toward Appomattox Station on the South Side Railroad, where trains of rations were waiting. On the evening of April 8 Union cavalry under George Custer reached the station first and captured the supply trains.[10] Surrounded and without food, Lee surrendered to Grant at Appomattox Court House on April 9, 1865.

Timeline

Year Event
1851-1853 Four trunk railroads cross the Appalachians to the Ohio Valley
1856 Virginia and Tennessee Railroad reaches Bristol
July 1861 Johnston’s troops reach First Manassas by rail
Jan.-Feb. 1862 Congress authorizes federal control of railroads; McCallum heads the USMRR
1862 Haupt’s Potomac Creek bridge; Second Manassas fought along a railroad grade
1863 New railroad bridge across the Potomac at Washington
1864 Sheridan’s Valley campaign; siege of Petersburg begins in June
April 1-2, 1865 Five Forks; South Side Railroad cut; Richmond evacuated
April 8, 1865 Union cavalry capture Lee’s supply trains at Appomattox Station
April 9, 1865 Lee surrenders at Appomattox Court House

Frequently asked questions

Why were railroads important in the Civil War? They carried food, fodder, ammunition and troops far faster and more efficiently than wagons, letting armies operate far from rivers and coasts.

Why was Petersburg so important? Five railroads met there, carrying most of the supplies that reached Richmond and Lee’s army. Cutting them forced the Confederates to abandon both cities.

What was the U.S. Military Railroad? A War Department agency that seized, rebuilt and operated railroads in occupied territory to supply Union armies.

How did railroads lead to Lee’s surrender? Union cavalry captured the Confederate supply trains at Appomattox Station on April 8, 1865, leaving Lee’s starving army surrounded.

References

  1. American Battlefield Trust, “10 Facts: Railroads in the Civil War.” https://www.battlefields.org/learn/articles/10-facts-railroads-civil-war
  2. David A. Pfeiffer, “Working Magic with Cornstalks and Beanpoles: Records Relating to the U.S. Military Railroads During the Civil War,” Prologue 43, no. 2 (Summer 2011), National Archives. https://www.archives.gov/publications/prologue/2011/summer/usmrr.html
  3. National Park Service, Petersburg National Battlefield, “History & Culture.” https://www.nps.gov/pete/learn/historyculture/index.htm
  4. National Park Service, Manassas National Battlefield Park, “First Manassas.” https://www.nps.gov/mana/learn/historyculture/first-manassas.htm
  5. National Park Service, Manassas National Battlefield Park, “History & Culture.” https://www.nps.gov/mana/learn/historyculture/index.htm
  6. National Park Service, Cedar Creek and Belle Grove National Historical Park, “History & Culture.” https://www.nps.gov/cebe/learn/historyculture/index.htm
  7. American Battlefield Trust, “Five Forks.” https://www.battlefields.org/learn/civil-war/battles/five-forks
  8. Danville Museum of Fine Arts and History (the “Last Capitol of the Confederacy”). https://www.danvillemuseum.org/
  9. American Battlefield Trust, “Sailor’s Creek.” https://www.battlefields.org/learn/civil-war/battles/sailors-creek
  10. National Park Service, Appomattox Court House National Historical Park, “Battle of Appomattox Station.” https://www.nps.gov/apco/learn/historyculture/battle-of-appomattox-station.htm