History

The Transcontinental Railway (1850–1855)

The Panama Rail Road is the under-told story of the California Gold Rush: while forty-niners were walking the Chagres route across the Isthmus in 1849-1852, a New York corporation was laying the world's first transcontinental railroad under the same terrain, on the same thirty-month clock, and out of the same desperation that had driven the mule-train crossings. The first revenue train ran on 28 January 1855 (five years and ten months after the charter, and well after the rush had peaked) and the line became one of the most profitable short-line railroads ever built, before the United States acquired it as part of the Canal Zone in 1904 and again in 1979 as part of the treaty return.

Why New York merchants chartered the Panama Rail Road (1848–1849)

The discovery of gold at Sutter’s Mill in California in January 1848 and the resulting rush of forty-niners to the West Coast created an immediate transcontinental transit problem. The overland trail to California was thirteen hundred miles across the Plains and the Sierra Nevada, took four to six months, and was impassable in winter; the all-sea route around Cape Horn took six months and went through stormy southern latitudes; the central-American crossings, overland from the US East Coast to one of several Pacific ports (Panama, Nicaragua, Tehuantepec), took a fraction of the time but were choking on forty-niners by mid-1849 [2].

A group of New York merchants led by William H. Aspinwall, who had invested in Pacific Mail Steamship Company steamers, saw the transit problem as an opportunity. Their reasoning was that a railroad across the narrow Isthmus of Panama, even if expensive to build, would be a near-monopoly transit corridor between the US East Coast and San Francisco for the duration of the Gold Rush. The Panama Rail Road Company was chartered by the State of New York on 7 April 1849, with Aspinwall as its leading figure. The price tag the company set itself was modest: it would build a 47-mile railroad across one of the worst-terrain stretch of the Americas, financed mainly by selling stock and mortgage bonds, and pay for itself from fares and freight [2].

Building across 47 miles of swamp and jungle (1850–1855)

Construction began in early 1850, starting simultaneously at both terminals. The Atlantic-side company town of Aspinwall (later renamed Colón) was founded on Manzanillo Island in May 1850; the Pacific terminus was a crossing of the old mule-train route to Panama City. The terrain between the two coasts was not one tropical jungle, as the company had been led to expect; it was an alternating sequence of coastal swamp, the Chagres River valley (a flood-prone torrent whose level could rise over 45 feet in a couple of hours after heavy rains), the central cordillera crossing near Culebra (passing through dense rainforest), and a small Pacific-side coastal plain [1].

Workers faced conditions that killed by the thousand. The route at coastal-marsh elevation was “gelatinous swamps infested with alligators” with “swamp water up to four feet deep” and “deluges of up to 3 yards of rain”, the Panama-side rainy season dropping that much in a day. The first Chagres bridge failed when the river rose over 45 feet and washed a span away. By the time the line was complete, 170 bridges and culverts of 15 feet or more and 134 of less than 15 feet had been built, over three hundred in all, almost all of them repeatedly washed out and rebuilt [1].

The Panama Rail Road Company’s own history records the early phase as a financial crisis. “At the end of twenty months, by toil and sweat and back-break, seven precarious miles of track had been laid. The ends of the rails lay on reasonably solid ground at Gatun, on the edge of the Chagres valley. Work came to a halt” [1]. The company had exhausted its 1850 capital stock and the underwriters were refusing to extend credit. The end of the stop-start cycle came from an unexpected source: the stranded paddle-steamer passengers of November 1851, who paid “$25.00 to ride seven miles and $10 to walk the right of way and $3.00 per 100 pounds of luggage” to be hauled over the unfinished track, an “infusion of money [that] saved the company” [1].

Gold Rush traffic, financial returns, and the transcontinental train (1852–1855)

By 1852 the railroad’s revenue from fares (which ran as high as $25 per person for first class on the full journey, among the highest rates then in existence for a 47-mile ride) together with freight tariffs had begun to outpace its construction debt service. On February 2, 1852 the town on Manzanillo Island was incorporated and named Aspinwall; by March 1852 regular passenger service was running sixteen miles from Aspinwall; and by July 1852 track had reached Barbacoas, twenty-three miles from Aspinwall, where a 300-foot bridge had to be built across the Chagres [1]. The same high fares stayed in force for years, and by the time the road was finished nearly a third of its tremendous cost had already been liquidated from operating revenue alone [1].

The world first transcontinental train, the moment the company had been advertising, ran on 28 January 1855. Chief engineer George M. Totten drove the final spike at midnight on 27 January during a heavy rain; the first through train left Aspinwall at dawn on the 28th and arrived in Panama City the same evening. The route that had taken two to four days by mule train took five hours by rail. The company had spent some $8 million on construction, eight times its initial 1850 estimate, and somewhere between 5,000 and 10,000 workers had died during construction, mostly from cholera, malaria, and yellow fever [2].

The route that the railroad had built across was the same geography a French canal-promotion company would survey within a decade. The Canal Zone concession, after 1904, included the operating railroad; the United States government acquired the line as part of its Canal Zone assets and rebuilt it with cuts and fills optimised for canal-era traffic. The Panama Canal Treaty of 1977 returned the operating railroad to Panama, which sold the operating concession to a private operator; the line continues today as the only transcontinental rail crossing in Central America, with passenger service operating as the Panama Canal Railway between Colón and Panama City.

The railroad’s later decades: 1855–1904

After the 1855 completion the Panama Railroad settled into a long period of profitable operation as the principal transcontinental transit carrier for the Pacific-coast commerce of California, Oregon, and British Columbia. The California Gold Rush peaked in 1852 and declined after 1857, but the railroad’s customer base expanded: Chilean wheat and copper, Peruvian guano, and Ecuadorian cacao were the principal Pacific-coast cargoes after 1860, and the company added a regular Pacific-coast steamer service from Panama City to Valparaíso that ran in conjunction with the railroad for almost the entire 1855-1900 period. Its combination of monopoly transit position and the highest fares then in existence for a 47-mile ride made the railroad one of the most profitable in the world. The railroad was also a principal beneficiary of the canal-promotion activity: the French Compagnie Universelle du Canal Interocéanique purchased controlling interest in the Panama Railway Company, and from 1881, when construction of the Panama Canal began, the railroad carried personnel and light freight for the French engineers. The railroad and the canal enterprise were complementary businesses on the same Isthmian route [2].

The railroad was caught in the same political instability as the Isthmus. The 1885 crisis forced the railroad to suspend service for approximately three weeks while the Colombian civil war played out on the Isthmus. The 1899-1902 Thousand Days War (covered in Panama as Part of Gran Colombia and Colombia) was more disruptive: the line was partly requisitioned by Colombian troops and partly by the U.S. Marines, the road was damaged in several places, and the service was intermittent for much of 1899-1901. The railroad emerged from the war with a damaged roadbed and a reduced revenue base; the company’s fortunes were also affected by the post-war collapse of the Isthmian transit economy that the canal would eventually replace. By 1904 the railroad was operating well below its 1890s capacity when the United States government under Theodore Roosevelt purchased the railway from the French canal company, acquiring its roughly 75 miles of track, 35 locomotives, and rolling stock as part of the Canal Zone assets. The U.S. government operated the railroad as part of the Canal Zone infrastructure from 1905 to 1979, and the railroad’s role shifted from transcontinental freight to Canal-Zone operational logistics [2].

The railroad in the canal era and after 1979

From 1905 to 1914 the railroad was the principal carrier of construction materials, personnel, and supplies for the U.S. canal project (covered in Canal Construction Era: 1904–1914). The canal construction effort rebuilt large sections of the railroad’s roadbed to support heavier equipment, and the line carried a substantial share of the freight volume of the construction period. After the canal opened in 1914 the railroad’s role changed: most of the transcontinental freight moved by ship through the canal, and the railroad shifted to local freight and to moving Panama Canal Zone personnel. The canal-era rebuild of the railroad included the replacement of the wooden trestles that had characterised the original construction with steel and concrete structures designed for canal-era loads; this rebuild is the configuration that survives today [2].

After the 1977 Carter–Torrijos Treaties, control of the railroad passed to Panama in 1979 as part of the Canal Zone transition, and conditions began to decline. In 1998 the government of Panama offered private companies a 50-year concession, transferring control to the private Panama Canal Railway Company (PCRC), a joint venture between Kansas City Southern and Mi-Jack Products, which rebuilt the line again from January 2000 to July 2001 at a cost of $76 million. From 1998 to 2025 the railway was jointly owned by those partners (by then Canadian Pacific Kansas City and Mi-Jack Products); on April 2, 2025, they sold the railway to APM Terminals, which is its current owner. The modern railroad operates as a container-and-passenger service between the Manzanillo International Terminal at the Atlantic end and the Panama Canal Railway Station at Corozal (Pacific side, near Panama City); the freight service is principally intermodal container traffic that uses the canal, and the passenger service operates twice-daily between Colón and Panama City. The railroad is one of the few continuously operating transcontinental rail crossings in the Americas and is the only such crossing in Central America. Its modern role, ferrying containers and passengers across the Isthmus, is structurally similar to its original role of the 1850s, but the technology (steel rail and diesel locomotives vs. the original wooden trestles and small steam locomotives) and the cargo (intermodal containers vs. gold-rush passengers and Andean silver) are entirely different [2].

The railroad’s five principal bridges and its 47-mile right-of-way sit on the same trans-Isthmian corridor that Spain opened and that the 1855 railroad formalised (see Casco Viejo: From Ruins to UNESCO Heritage). The Panama Canal Railway remains an operating commercial enterprise, and its right-of-way is part of the heritage corridor that the 1673 Casco founding opened and that the 1855 railroad rebuilt in iron.

Where to take this next

The transcontinental railroad was the spine of the Gold-Rush transit economy that ran across the Isthmus from 1849 to the opening of the Panama Canal in 1914. For the broader transit picture and the mule-train crossings that preceded the railroad, see California Gold Rush and Panama Transit. For what came after: the abandoned-rivet French canal of 1881-1889 and the American-era project that opened in 1914, see Canal Construction Era (1904-1914). For the moment that the railroad replaced, see Spanish Conquest and Settlement (1510–1600), specifically the section on El Camino Real, the mule road whose 65-mile route and two-to-four-day transit time the railroad shrank to a half-day rail journey.

Last reviewed: