Blog

Riding the N Judah from the ocean to the ballpark

A ride on Muni's N Judah from Ocean Beach through the Sunset, past Golden Gate Park, under Market Street and on to Oracle Park.

Get on at the beach and you start in fog. Get off at the ballpark and you are on a bright, windy waterfront with a Caltrain depot at your back. In between, the N Judah crosses the whole west side on the grid of numbered avenues, burrows through a hill, joins the subway beneath Market Street and comes up on the water. Nothing else in the city teaches the geography so well in one sitting. Ocean fog, streetcar suburb, park edge and downtown go by in order, and the whole show costs a single fare. This ride runs west to east, the way the morning commuters take it.

The route in one paragraph

The N Judah runs between Judah Street and La Playa at Ocean Beach in the west and Fourth and King Streets, beside the Caltrain terminal, in the east. It has 37 stops. It is a hybrid, part streetcar and part light rail: on the Sunset's avenues it runs in the street in a raised median, and downtown it goes underground. Its overnight counterpart, the N Owl, covers the route when the trains do not. The line began as a streetcar service on October 21, 1928, when the Sunset Tunnel opened, and it was partly converted to light rail when the Muni Metro began in 1980. Its extension to Fourth and King opened in 1998 (The Sunset District's size and the N Judah).

Ocean Beach to 19th Avenue: the Outer Sunset

The ride starts at the water. A loop at Judah Street, La Playa and the Great Highway lets trains turn around, and the platform is a short walk from the sand of Ocean Beach, which stretches about three and a half miles along the city's western edge. On a gray morning the fog is so thick the first stops vanish into it. This is the Outer Sunset, the foggiest part of the city, and the houses on both sides of Judah Street are low, narrow and shoulder to shoulder (Outer Sunset).

Eastbound, the train takes the avenues in order: 46th, 43rd, 40th, Sunset (the stop at Sunset Boulevard), 34th, 31st, 28th, 25th, 22nd/23rd and 19th. Between them lie the commercial blocks of Judah Street, with their cafes, bakeries and groceries. The stops are a handy way to read the grid. The avenue numbers fall as the train moves east, so a passenger who knows the numbers knows how far is left to the park.

19th Avenue to 9th Avenue: the raised right-of-way

From 19th Avenue to 9th the line rides a slightly raised right-of-way, a median that separates the tracks from the traffic. This stretch has the stops at 15th/16th, Funston and 12th. Funston Avenue is the one street on the grid that breaks the numbering, replacing 13th Avenue. Here the N acts less like a streetcar and more like light rail, with stations, platforms and a lane of its own.

The neighborhood changes as the numbers drop. The Inner Sunset begins near 19th Avenue, and by 9th Avenue the train is in the Inner Sunset's shopping district, where Irving Street and 9th Avenue form the center of the neighborhood (Inner Sunset).

9th Avenue to Carl and Cole: past the park and the hospital

At 9th Avenue the line leaves Judah Street and follows Irving Street, then Carl Street. The train goes by UCSF's Parnassus campus, one of the city's largest employers, and the stop is labeled UCSF Parnassus. Golden Gate Park's southern edge runs along the street for several blocks. The stops are Carl and Hillway and Carl and Stanyan.

Stanyan Street marks the park's eastern edge. Step off at Carl and Stanyan and you can walk into Golden Gate Park or north toward the Haight. The park deserves a trip of its own: about 1,017 acres, with the de Young Museum, the California Academy of Sciences and the Japanese Tea Garden inside (Golden Gate Park's 1,017 acres). The Recreation and Park Department runs it (San Francisco Recreation and Park Department).

The Sunset Tunnel

East of Stanyan, the line reaches the west portal of the Sunset Tunnel, at Carl and Cole Streets. The tunnel goes under a hill and has no stations. It opened in 1928, and its completion is the reason the N Judah exists: before the tunnel, no rail line connected the dunes of the Sunset to the city center. The tunnel brought streetcars through the hill, and houses followed along Judah Street over the decades (The opening of Muni, December 28, 1912).

The tunnel lets out at Duboce Park, and the line runs briefly along Duboce Avenue, with stops at Duboce and Noe and Duboce and Church. The surface stretch is short, but it gives passengers a look at the park, the neighborhood's Victorian houses and the city's hills.

The Market Street subway

At Church Street the line drops into the Market Street subway, which it shares with five other Muni Metro lines. This is the Muni Metro proper, the underground part of the system that opened in 1980. The N stops at the subway stations beneath Market Street: Van Ness, Civic Center, Powell, Montgomery and Embarcadero.

Several of those stops serve the city's most important places. Civic Center is the station for City Hall, the Main Library and the Asian Art Museum (Civic Center). Powell is where the cable cars start and where BART and Muni Metro meet. Montgomery and Embarcadero serve the Financial District, and Embarcadero is the way to the Ferry Building (The Financial District and Montgomery Street).

A rider who wants to transfer can change to BART at Civic Center, Powell, Montgomery or Embarcadero, and a single Muni fare of $2.85 on Clipper, good for 120 minutes, covers the change to another Muni vehicle (How to ride Muni).

The Embarcadero to Fourth and King

Past Embarcadero, the N comes out of the subway and runs along the waterfront. From the Embarcadero it follows King Street to its terminus at Fourth and King. The line passes Oracle Park, which the stop at Second and King serves, and the area known as South Beach (South Beach and Rincon Hill). On a game day the train fills with fans (Oracle Park and McCovey Cove).

The end of the line is Fourth and King, beside the Caltrain depot. The Muni Metro extension to Fourth and King opened on January 10, 1998, and the N Judah was extended there on August 22, 1998, replacing a temporary shuttle called the E Embarcadero. From here, Caltrain runs south to San Jose and the Central Subway's T Third runs north to Chinatown (The T Third and the Central Subway).

The stops by segment

Segment Stops named in this account
Ocean Beach and the Outer Sunset La Playa, 46th, 43rd, 40th, Sunset, 34th, 31st, 28th
Central and Inner Sunset 25th, 22nd/23rd, 19th, 15th/16th, Funston, 12th, 9th
Park edge UCSF Parnassus, Carl and Hillway, Carl and Stanyan
Tunnel and Duboce Sunset Tunnel (no stations), Duboce and Noe, Duboce and Church
Market Street subway Church, Van Ness, Civic Center, Powell, Montgomery, Embarcadero
Waterfront Second and King for Oracle Park, then Fourth and King

The full line has 37 stations, so the table leaves out some stops along King Street and the Embarcadero.

The line in dates

  • October 21, 1928. The N begins operating as a streetcar line through the new Sunset Tunnel.
  • February 1980. The N Judah reopens with new light rail vehicles as Muni Metro service begins.
  • January 10, 1998. The Muni Metro extension to Fourth and King opens.
  • August 22, 1998. The N is extended to Fourth and King, replacing the temporary E Embarcadero shuttle.
  • January 7, 2023. The Central Subway opens, and the T Third is extended north through South of Market to Chinatown.

A ride as a cross-section

Read in order, the N Judah slices the city open like a layer cake.

  1. Ocean and fog. Judah and La Playa, the Great Highway and Ocean Beach.
  2. Suburban grid. The Outer and Central Sunset, with its numbered avenues.
  3. Raised median. The right-of-way between 19th and 9th.
  4. Hospital and park. UCSF Parnassus and the edge of Golden Gate Park.
  5. Tunnel. The Sunset Tunnel, which makes the rest possible.
  6. Subway. The Market Street stations, from Church Street to Embarcadero.
  7. Waterfront. The Embarcadero, the ballpark and the Caltrain depot.

The order is also a history of how the city grew. The sand dunes were settled because the tunnel and the streetcar made it possible. The subway came later to speed the trip downtown. The waterfront was the last piece joined up, in 1998.

Most riders never see the whole line at once. The commuter knows his own six stops, the student knows the tunnel and the ballpark crowd knows the last few blocks, but a ride end to end lets all the pieces line up. Give it a morning with no appointments and a window seat.

Practical tips

A few things help a first-time rider.

  • Dress for the end of the line. The ocean end is usually cooler and foggier than downtown. A visitor starting at Ocean Beach should bring layers (seasons and what to pack).
  • Know the direction. Inbound means toward downtown, and outbound means toward the ocean. The sign on the train shows the destination.
  • Mind the stops. The Sunset stops are close together, and the train stops at every one. A rider in a hurry may prefer the 28 19th Avenue or the 29 Sunset on Sunset Boulevard for a north-south trip.
  • Pay before you board. As of November 2026, a single adult ride is $2.85 with Clipper or a tap, and $3.00 in cash. Keep proof of payment for the whole ride (Proof of payment on Muni).

Ask a Sunset resident which train they mean when they say they are taking the train home, and it is this one. The ticket is the same fare from the first stop to the last.

Related city government

Related guides

Related neighborhoods

Latest on this topic