Panama Canal

Panama Canal Railway: Historic Transcontinental

The Panama Railroad, opened on 28 January 1855 as the first inter-oceanic railroad in the Americas, predates the canal by almost sixty years and is, in a real sense, the reason the canal was built here at all. Conceived for the California Gold Rush and built across disease-haunted swamps at a cost of about eight million dollars and thousands of workers' lives, it became one of the most profitable railroads in the world and later the construction backbone of both the French and American canal projects. Rebuilt to standard gauge in 2001 and acquired by APM Terminals in 2025, the line still runs. This page covers the railroad's Gold Rush origin, its canal-era role, and the modern passenger-and-freight railway that operates alongside the waterway today.

Why a railroad: the California Gold Rush

The Panama Railroad exists because of the California Gold Rush. The discovery of gold in January 1848 created an immediate surge of migration from the eastern United States to the Pacific coast, and the fastest route between the two was not the overland trail or the sail around Cape Horn but the isthmus of Panama: by ship to the Caribbean side, across the narrow waist of the isthmus, and by ship again to San Francisco [3]. The crossing itself was the bottleneck: it ran by dugout canoe up the dangerous Chagres River and then by mule over the old Spanish trails, a transit that could take four to eight days and that exposed travellers to tropical disease [1]. A railway across the isthmus was the obvious way to collapse that bottleneck, and the Gold Rush gave it both its demand and its financing.

The promoter who turned the idea into a company was William Henry Aspinwall, the New York merchant who had won the bid to build and operate the Pacific Mail steamship line connecting Panama to California and who then conceived a railway across the isthmus [1]. Aspinwall and his partners incorporated the Panama Railroad Company in New York in 1849, raised a million dollars from the sale of stock, and set out to build a line from a new Atlantic terminus to Panama City [1]. The enterprise was well-timed by accident as much as design: the steamship connection on both sides meant that a completed railroad would plug directly into a scheduled ocean service, giving the Gold Rush traffic a near-unbroken route from the East Coast to California.

Construction, 1850–1855

Construction began in 1850, and the conditions were brutal. The Atlantic terminus (founded as the town of Aspinwall on the swampy mangrove islet of Manzanillo, and later renamed Colón) had to be reclaimed from a tidal marsh, and the first miles of the route ran through gelatinous swamps that swallowed enormous volumes of gravel backfill and required workers to labor in standing water [1]. The company history records that after twenty months of work only about seven precarious miles of track had been laid, and the original million-dollar capital was nearly exhausted, before Gold Rush passenger traffic from stranded steamers saved the enterprise [2]. The building of those first miles to Gatún, on the edge of the Chagres valley, was the make-or-break phase of the whole project [2].

Disease was the constant enemy. Cholera, malaria, and yellow fever killed workers faster than the company could recruit them (the worst year, 1852, saw cholera sweep the line and kill nearly all of chief engineer George Totten’s staff) and the labour force was drawn from the United States, the Caribbean, Europe, Colombia, China, India, and Ireland to keep the work going [1]. The human cost is estimated at 5,000 to 10,000 deaths across the construction, a toll the company never fully counted, and it is why the line’s Mount Hope cemetery (originally Monkey Hill) accepted near-continuous burials [1]. The project cost roughly eight million dollars to complete, eight times the initial 1850 estimate, a sum that reflected the mountains, swamps, and more than three hundred bridges and culverts the route had to cross [1].

The line was completed in January 1855, and the first train ran from ocean to ocean on 28 January 1855 [1]. Referred to at its opening as an inter-oceanic railroad, it was later described as a transcontinental railroad despite crossing only the narrow isthmus, and it was the first such line in the Americas [1]. The completed railroad was forty-seven miles long and almost immediately one of the most profitable in the world [1].

The railroad that made the canal possible

The railroad’s significance outlived the Gold Rush, because the existence of a working rail line across the isthmus was one of the decisive reasons a canal was built in Panama rather than Nicaragua. The ACP’s history and the canal’s own record both note that the railway was a key factor in the selection of the Panama route, since it gave any canal project an immediate construction-transport backbone and an established right-of-way [1]. When the French began their sea-level canal attempt in the 1880s, they purchased controlling interest in the Panama Railway Company in 1881, and the United States bought the railway from the French canal company in 1904 as part of its acquisition of the canal properties [1].

For the American construction, the railroad was not merely an asset but the organising tool of the whole earthmoving effort. Chief engineer John Frank Stevens reconceived the canal project as a railroad-driven earthmoving operation, rebuilding the line to heavy-duty standard and using it, with steam shovels mounted on rails and dirt trains running on parallel tracks, to remove the hundreds of millions of cubic yards of spoil from the Culebra Cut [1]. The line was rerouted to accommodate the creation of Gatún Lake, and it was completed in its final canal-era configuration in 1912, two years before the canal itself, at a cost of about nine million dollars [1]. The canal could not have been built on its schedule without the railroad; the two are, historically, a single project in two phases.

Decline and the 2001 rebuild

After the canal opened, the railroad’s importance declined. The waterway it had enabled made the isthmus crossing by ship faster than by rail for almost all traffic, and after the Second World War the line fell into neglect. By the 1990s trains were limited to ten miles per hour and the operation was losing money [1]. The turning point came in 1998, when the Panamanian government turned control over to the private Panama Canal Railway Company (PCRC), a joint venture of the Kansas City Southern railway and the gantry-crane manufacturer Mi-Jack Products, which proposed rebuilding the line to standard gauge to carry intermodal container traffic parallel to the canal [1].

The rebuild ran from January 2000 to July 2001 at a cost of about seventy-six million dollars, converting the track from the original five-foot gauge to the 4 foot 8½ inch standard gauge used on the North American rail network, laying continuously welded rail on concrete ties, and building two container terminals: one at Manzanillo on the Atlantic near Colón, and the Pacific Intermodal Terminal near Balboa [1]. The rebuilt line is single-track with passing sections, realigned with a shortcut around the Gatún locks, and sized to carry the double-stack container trains for which it was rebuilt [1]. The reconstruction effectively turned the historic Gold Rush railroad into a modern intermodal freight operation, with a passenger service as a secondary product.

The modern railway: passengers and freight

The modern Panama Canal Railway runs two distinct services. The passenger service is a roughly three-hour round trip between Panama City (Corozal station) and Colón, with a traveling time of about one hour each way, operating Monday through Friday [1]. It functions primarily as a commuter line for those living in Panama City and working in Colón, but it has also become a tourist excursion, running parallel to the canal with classic rail cars fitted with first-class amenities, bar service, and second-level viewing domes [1]. For a visitor, the passenger train is the landside complement to the partial-transit boat tour, a way to travel the canal’s length and see its geography without being on the water.

The freight service is the economic core of the modern operation. The line is designed to carry double-stack container trains, with a basic capacity of ten trains in each direction per day, extendable to a maximum of thirty-two, moving roughly five hundred thousand container moves a year (about 900,000 TEU) with a maximum capacity of two million TEU [1]. That capacity positions the railway as a Pacific-to-Atlantic land bridge for containers, a service that competes with, and in some traffic complements, the canal itself, particularly when the waterway’s slot scarcity or draft restrictions make a container’s ocean transit slow or expensive [1]. The railway has also proved vulnerable to the same physical hazards as the canal: in June 2020 the bulk carrier Bluebill struck the railway bridge over the Chagres River near Gamboa, severing the line midway until it reopened in late September [1].

The logic of running a container railway parallel to a container canal is that the two serve different time horizons. A ship transiting the canal moves a very large cargo in roughly a day but must wait for a slot and conform to the waterway’s draft; a double-stack train on the railway moves a smaller cargo, about seventy-five containers per train, but on a fixed, roughly hour-long schedule that does not depend on the lake’s level or the daily slot count [1]. When the 2023–2024 drought cut the canal’s daily transits, the kind of time-sensitive container traffic that could not wait for a slot was precisely the traffic the land bridge is built to carry, which is the commercial case for maintaining a 1855 railroad alongside a 1914 canal. The two are alternatives in capacity-constrained conditions and complements the rest of the time, and the 2025 acquisition by a major container-shipping terminal operator reflects a bet that the land-bridge role will grow rather than shrink [1].

The 2025 acquisition and the railway today

The railway’s ownership changed hands in 2025. On 2 April 2025, Canadian Pacific Kansas City and Mi-Jack Products sold the Panama Canal Railway to APM Terminals, the port-and-terminal arm of Maersk, bringing the line under the control of one of the world’s largest container-shipping and terminal operators [1]. The acquisition ties the intermodal land bridge more closely into the global container networks APM Terminals already operates at the Atlantic and Pacific ends of the route, and it signals that the railway’s container-bridge function, not its historic Gold Rush role, is now its commercial raison d’être.

The irony of the railway’s present is that the line built to move people and freight across the isthmus before there was a canal now does the same job alongside one, in a form its 1855 builders would not recognise but for a purpose they would. The Panama Railroad was the isthmus’s first trans-oceanic crossing; the canal was the second; and the two now run in parallel, the 1914 waterway carrying the ships and the 1855 railroad (rebuilt in 2001) carrying the containers and the commuters, each filling the gaps the other leaves.

Reading the railway

The Panama Canal Railway is best read as the isthmus’s original inter-oceanic crossing, the construction backbone of the canal that succeeded it, and the modern container land bridge that runs alongside that canal [2][1]. A reader who wants the canal construction the railroad enabled should turn to the construction-history page; a reader interested in the container trade the modern railway serves should consult the cargo-and-trade page; and the Gold Rush migration and the West Indian workforce that built and operated these crossings are covered on the history section’s Gold Rush and West Indian workers pages. The railway is the thread that runs through all of them: the first engineering crossing of the isthmus, and still, after a 2001 rebuild and a 2025 acquisition, a working one.

Last reviewed: