The Yosemite Valley Railroad (YVRR) was a short-line railroad in Merced and Mariposa counties, California, that operated from 1907 to 1945. The railroad ran from Merced along the Merced River canyon to El Portal, on the western boundary of Yosemite National Park. Railroad construction was prohibited within the park, so passengers disembarked at El Portal and continued to Yosemite Valley by stagecoach or, after 1913, by motor stage. Overnight accommodations were available at the Hotel Del Portal until its destruction by fire in 1917.

The YVRR replaced the stagecoach routes that had served Yosemite-bound travelers since the mid-1870s. The railroad's opening in 1907 reduced through traffic on the Coulterville Road, which had been the primary tourist route to Yosemite via the historic mining town of Coulterville. By the 1920s, automobiles had begun to overtake the railroad in tourist volume. The completion of the All-Year Highway and the decline in recreational travel during World War II eliminated most remaining demand for rail passenger service.

In addition to passenger traffic, the YVRR served as a freight carrier, transporting logs for the Yosemite Lumber Company and limestone for the Yosemite Portland Cement Company. The closure of both operations in the early 1940s hastened the railroad's decline. The last regularly scheduled train ran on August 24, 1945. Some structures and rolling stock survive on display in El Portal, but little else remains.

Among its notable passengers, the YVRR carried two presidents: William Howard Taft in October 1909 and Franklin D. Roosevelt on July 15, 1938.

Background

Before the railroad's construction, the only access to Yosemite was a two-day stagecoach journey that was uncomfortable and carried the risk of robbery. The Southern Pacific's "Cannon-ball" stage from Raymond to Yosemite Valley was faster, completing the trip in twelve to fourteen hours, but the fare put it beyond the reach of most travelers.

Origins

Right of way The Yosemite Valley Railroad ran from Merced to El Portal, a distance of , following the Merced River for much of its length. At Merced, connections were made with the Southern Pacific and Santa Fe railways.

Several companies had shown interest in building a rail line to Yosemite, but a group of Oakland and San Francisco financiers secured the right of way for the most practical route. The company hired Nathaniel C. Ray in 1902 as chief engineer. The northern boundary of Yosemite National Park then extended further north than its present location, and Congress prohibited railroads from entering any national park. After several legislative attempts to adjust the boundary, a bill passed in 1905 transferred certain lands from the park to the forest reserve, allowing the YVRR to obtain a permit to operate within the reserve in 1907.

Construction Tracklaying began on November 1, 1905, with the arrival of the first ten carloads of rail. The company purchased two locomotives from the Northern Pacific Railway, a steam shovel, and a small narrow-gauge work engine. A labor shortage prompted the company to advertise for 1,000 workers at wages of $2.25 per day. The resulting rush caused overcrowding in Merced hotels and long lines at the employment office, prompting the company to post a sign: "Bus leaves for camp each morning at 7 AM. Everybody can have a job. Don't ask questions!" The workforce grew to about 1,500 men in January 1906, though turnover was high.

The railroad's first regularly scheduled train left the Santa Fe depot, six miles outside Merced, on December 18, 1905 — the third anniversary of the railroad's incorporation. The company was complying with its state charter, which required five miles of track to be in regular operation within three years. Tracks reached Merced Falls on March 4, 1906, and regular service began on May 25, 1906.

Construction to El Portal ran through rough foothill and mountain terrain. Supplies and equipment were transported by pack horses, ropes, sleds, two-wheeled horse carts, wheelbarrows, and drags. By May 1907, the rails had nearly reached the boundary of Yosemite National Park, but the government refused to grant further right of way into the valley. The railroad instead built a stagecoach road covering the six miles from El Portal to Yosemite Valley at a cost of $73,260.

The entire roadbed was blasted out of solid rock, requiring approximately of dynamite and powder and of fuse. Three Howe truss bridges crossed the canyon at Hopeton, Pleasant Valley, and Bagby, with 65 smaller bridges and trestles along the route. The completed line had 63.5 miles of grades and 32.9 miles of curves, with a maximum grade of 1–2%. The main line used Bessemer rail weighing 70 pounds per yard, and there were 505 curves and 10,265 miles of yards and sidings. A telephone and telegraph line was completed along the route on July 1, 1907, connecting Yosemite with the outside world.

First full-length run On May 15, 1907, the YVRR's first full-length run departed Merced for El Portal with 12 passengers aboard. Through connections at Merced, tourists could reach Yosemite in less than a day from San Francisco (9 hours) or Los Angeles (16 hours).

The schedule allowed passengers to leave Merced at 2:00 p.m. and arrive at El Portal at 6:00 p.m. After dinner and an overnight stay at the tent hotel, passengers departed the next morning and arrived at the Sentinel Hotel before lunch. On the return trip, passengers reached El Portal in the afternoon, stayed overnight, and caught the morning train to Merced, connecting with northbound and southbound Southern Pacific and Santa Fe trains.

In 1907, the first year of operation, recreation visits to Yosemite National Park increased 30% to 7,102. By 1915, annual visits surpassed 30,000.

Early operations

1900s

The railroad found early success. Within two months of its first run, it had signed mail and express contracts, and freight revenue from mines and quarries was rising. The Southern Pacific abandoned its competing route and began advertising connections with the Yosemite run.

The railroad's headquarters were in the new Merced depot, which included a roundhouse. At the eastern terminus, the four-story Hotel Del Portal attracted prominent visitors, including Senator Benjamin Tillman, Governor James Gillett, William Randolph Hearst, J. B. Duke, and John Muir.

By late 1907, more than 50 people a day were making the trip. In December 1907, the railroad ran its first winter excursion, giving visitors year-round access to the park for the first time — decades before the All-Year Highway opened to automobile traffic. The railroad carried 23,089 passengers and reported a book profit of $73,000 in its first year of operation.

In 1909, the YVRR established Pullman service, which became one of the most heavily traveled routes by 1910. The railroad partnered with the Selig Polyscope Company to produce a travelogue about the Yosemite run that was screened internationally.

1910s

In 1910, the Yosemite Lumber Company began operations, and the railroad transported logs from the mountains to the sawmill at Merced Falls. Standard-gauge flat cars with bulkheads were required for the steep incline grades. Log cars ran from the woods down the incline and along the main line to the mill without reloading, saving labor costs. The lumber traffic doubled the railroad's freight income from $64,000 to $128,000.

In November 1913, the first automobile stage replaced the horse-drawn stages on the route from El Portal to Yosemite Valley. The 25-passenger White Motor Company buses completed the trip in one hour and thirty-five minutes, compared with four hours by horse stage. By 1915, passenger and freight revenue continued to grow, and 80% of summer passengers were tourists from the Eastern United States.

In 1916, the YVRR leased the Hotel Del Portal and the stage line to the Desmond Park Service Company. The increased visitation enabled the Yosemite National Park concessionaire to expand its offerings, including construction of the Glacier Point Hotel in 1917.

A fire on October 27, 1917, destroyed the Hotel Del Portal, causing an estimated $100,000 in losses. The El Portal Inn, operated by a YVRR subsidiary, replaced it by the start of the next tourist season.

"Grand Central of the West"

After World War I, the YVRR earned the nickname "Grand Central of the West." Despite growing competition from buses and private automobiles, the railroad continued to attract visitors, including Prince Axel of Denmark and King Albert of Belgium, who traveled in private rail cars.

In 1921, Yosemite surpassed Yellowstone National Park in annual attendance by approximately 10,000 visitors. The railroad set records that year, carrying 2,000 passengers in a single day. Heavy Yosemite-bound specials and regular log trains to Merced Falls brought the payroll to 350 employees. In 1925, passenger travel reached an all-time high, with more than 85,000 paying riders.

To compete with the growing popularity of private automobiles, the YVRR offered auto-ferrying services, building platforms at Merced and El Portal to load cars onto flat cars. The service attracted wealthy passengers and Hollywood figures, including Buster Keaton, Roscoe Arbuckle, Mae West, Mary Pickford, and Douglas Fairbanks.

Exchequer Dam

In 1922, the Merced Irrigation District decided to construct the Exchequer Dam on the Merced River. The project required relocating of the main rail route, from Merced Falls nearly to Bagby Station.

The relocation involved erecting five steel bridges and two trestles, including the Barrett Bridge spanning the reservoir. Costs exceeded estimates because of unstable rock conditions; the four tunnels on the new line required timbering for nearly their entire length, and bridge abutments used far more concrete than planned. The new line's first scheduled passenger train ran on April 18, 1926. A dedication ceremony for the dam was held on June 23, 1926, when President Coolidge pressed a button in the White House to set the powerhouse machinery in motion.

Decline The YVRR earned steady passenger revenue during its first two decades, but the completion of a modern highway in 1926 and the rising popularity of automobiles and buses caused a sharp decline in ridership. The Yosemite Lumber Company's suspension of operations in 1927 cut freight revenue by half.

Great Depression The stock market crash of 1929 and the ensuing Great Depression worsened the railroad's finances, leading to bankruptcy in 1935. In a final effort, the YVRR was publicly offered for sale as a "real railroad as a Christmas gift" for five million dollars in newspapers throughout California.

The railroad was re-incorporated and showed a small gross profit between 1935 and 1937, aided by increased freight traffic from the reopened lumber mill. A flood then wiped out of track along the Merced River, and a fire in Merced destroyed the tool shed and several passenger cars. Rehabilitation loans from the Southern Pacific and the Santa Fe were required to restore operations.

In 1938, President Franklin D. Roosevelt rode the YVRR and toured Yosemite Valley, with a lunch stop at the Mariposa Grove. The railroad picked up Roosevelt's party from the Southern Pacific at Merced and pulled ten cars, including the president's private car, to El Portal using three freshly painted, decorated locomotives. By evening, the presidential party was on its way back to Merced.

Abandonment