How far is San Francisco, CA from Lafayette, CA?

The driving distance from San Francisco, CA to Lafayette, CA is about 21.4 miles (34.4 km), with a travel time of about 00h 31m by car.

  • The straight-line flight distance is about 18.1 miles (29.2 km).
  • For a round trip, plan for roughly 01h 02m of driving time before adding stops, traffic, or weather delays.
  • A comfortable departure window is usually 7:00 AM to 7:00 PM PDT.
Trip Tools

Reverse, save, or send this route

This is an easy same-day return drive. Copy the route link, send it to another device, or print a clean version before you head out.

Reverse Route
Quick Snapshot
Road
21.36 mi
00h 31m
Flight
18.14 mi
29.2 km direct

This is an easy same-day return drive.

Learn Distance

Choose another destination from San Francisco.

Flight Distance

Direct air line
18.14 mi
Kilometers
29.2 km
Flight Time
00h 02m

Driving Distance

Road route
21.36 mi
Kilometers
34.38 km
Drive Time
00h 31m

Gas Cost Calculator

Leave and Arrive Planner

Pick a departure time to see your estimated arrival and same-day return window.

Drive time stays fixed at 00h 31m.

Arrival Snapshot
Arrive in Lafayette
Thu, May 7, 7:41 AM PDT
Return by in San Francisco
Thu, May 7, 8:12 AM PDT
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave San Francisco
2026-05-07T07:09
Arrive Lafayette
Thu, May 7, 7:41 AM PDT
Route Timing
00h 31m
One way by road
Best Departure Window
7:00 AM to 7:00 PM PDT
Leave when it suits your day
Arrive between
7:31 AM to 7:31 PM PDT

This is a short drive, so your comfort window is wide. Traffic and current weather matter more than the clock.

Leave by
7:28 PM PDT
Keeps a same-day return open with about 01h 30m at the destination.
Back in San Francisco
10:00 PM PDT
Flexible departure

This departure sits inside the recommended comfort window for the route.

Halfway Point

A useful midpoint for breaks, coffee, or meeting in the middle.

Mid-route stop
Emeryville
CA

City in the United States state of California

From San Francisco
10.7 mi
00h 15m
To Lafayette
10.7 mi
00h 15m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
74°F
Thursday

Patchy Fog then Mostly Sunny

Starts
Thu, May 7 6:00 AM PDT
Wind
0 to 9 mph W
Destination
74°F
Thursday

Sunny

Starts
Thu, May 7 6:00 AM PDT
Wind
2 to 8 mph W

Driving Route Map

The map below follows the saved road route between San Francisco and Lafayette.

Turn-by-Turn Driving Directions

Step-by-step road directions between San Francisco and Lafayette.

  1. 1

    Start on Market Street

    95 m · 8 sec · Market Street

  2. 2

    Turn right onto 11th Street

    3173 ft · 2 min · 11th Street

  3. 3

    Turn left onto Bryant Street

    1724 ft · 1 min · Bryant Street

  4. 4

    Take the ramp left toward I 80 East: Oakland

    1538 ft · 26 sec

  5. 5

    Merge slight right onto Route 80

    1.5 km · 1 min · Route 80

  6. 6

    Continue on Dwight D. Eisenhower Highway

    5.8 mi · 9 min · Dwight D. Eisenhower Highway

  7. 7

    Take the exit slight right toward I 580 East: Downtown Oakland, Hayward-Stockton

    1.6 km · 1 min

  8. 8

    Merge slight left onto MacArthur Freeway

    3218 ft · 42 sec · MacArthur Freeway

  9. 9

    Take the exit slight right toward CA 24 East: Berkeley, Walnut Creek

    1.4 km · 2 min

  10. 10

    Keep slight left to continue on CA 24 East: Walnut Creek

    1259 ft · 31 sec

  11. 11

    Merge slight left onto Grove Shafter Freeway

    3.3 mi · 4 min · Grove Shafter Freeway

  12. 12

    Keep slight left to continue on Grove Shafter Freeway

    874 ft · 13 sec · Grove Shafter Freeway

  13. 13

    Continue on Caldecott Tunnel

    6.4 mi · 8 min · Caldecott Tunnel

  14. 14

    Take the exit slight right toward Oak Hill Road, Central Lafayette

    1176 ft · 30 sec

  15. 15

    Turn right onto Oak Hill Road

    644 ft · 20 sec · Oak Hill Road

  16. 16

    Turn left onto Mount Diablo Boulevard

    146 m · 19 sec · Mount Diablo Boulevard

  17. 17

    Turn right onto Moraga Road

    2269 ft · 56 sec · Moraga Road

  18. 18

    Turn left onto Saint Mary's Road

    13 m · 1 sec · Saint Mary's Road

  19. 19

    Arrive at your destination

    0 m · 1 sec · Saint Mary's Road

Car Route Details

A richer read on the saved driving route between San Francisco and Lafayette.

OSRM road route
Drive Character

Turn-heavy local drive

The route has frequent decision points for its length, so lane choice and turn timing will matter more than cruising speed.

Directions
19 steps
6 turns on the saved route
Ramps & Exits
7
3 merges, 4 ramps or exits
Navigation Density
88.8 / 100 mi
Decision points by distance
Main Roads
Caldecott Tunnel
6.37 mi · 30%
Dwight D. Eisenhower Highway
5.76 mi · 27%
Grove Shafter Freeway
3.43 mi · 16%
CA 24 East
1.11 mi · 5%
I 580 East
0.97 mi · 5%
Route 80
0.95 mi · 4%
Longest Stretch

Caldecott Tunnel

Continue on Caldecott Tunnel

6.37 mi · 00h 08m

Route Summary

A quick read on whether this route feels easy, ambitious, or worth planning around.

Trip Read

A short regional drive

This route is short enough to handle as a quick errand, commute, or easy same-day return without much planning overhead.

Drive Time
00h 31m
Quick drive
Same-Day Return
01h 02m
Round-trip wheel time
Road vs Air
+3.3 mi
18.1 mi direct line
Halfway Stop
Emeryville
00h 15m from San Francisco
Leave By
7:28 PM PDT
Flexible departure
Weather Watch

Patchy Fog then Mostly Sunny leaving San Francisco and Sunny near Lafayette.

Trip Questions

Direct answers travelers usually want before committing to the drive.

How long does it take to drive from San Francisco to Lafayette?

The road trip is about 21.4 miles (34.4 km) and usually takes 00h 31m in normal driving conditions.

Is this a same-day trip or an overnight route?

This route is short enough to handle as a quick errand, commute, or easy same-day return without much planning overhead.

What is the halfway point on this route?

Emeryville is a useful midpoint, sitting about 10.7 miles from San Francisco and 10.7 miles from Lafayette.

How much longer is the road route than the straight-line distance?

The direct path is about 18.1 miles (29.2 km), while the road route adds roughly 3.3 extra miles because roads do not follow the straight air line.

When is the best time to leave for this route?

A good departure window is usually 7:00 AM to 7:00 PM PDT. If you want a more comfortable same-day return, try to leave by 7:28 PM PDT.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $4.33 one way or $8.65 round trip. Estimated CO2 is about 6.7 kg one way.

What should you check before leaving?

Before you leave, expect Patchy Fog then Mostly Sunny around San Francisco and Sunny near Lafayette.

Stop Ideas Near Emeryville

Useful break, food, and waypoint ideas within about 15 miles of the route midpoint.

Mid-route Guidance
These suggestions come from reviewed places and nearby services around Emeryville and the surrounding midpoint area.
San Francisco City Hall Wedding Photographer
Practical stop 10.4 mi away

San Francisco City Hall Wedding Photographer

San Francisco , CA
3365 Sacramento St #435, San Francisco, CA 94118, United States
Rating 5.0/5 21 reviews Wedding photographer,Photographer,Wedding service
Alameda Public Works Department
Meeting point 3.8 mi away

Alameda Public Works Department

Alameda , CA
950 W Mall Square, Alameda, CA 94501, United States
Rating 5.0/5 2 reviews City government office,Home and construction
Old Berkeley City Hall
Nearby stop 2.5 mi away

Old Berkeley City Hall

Berkeley , CA
2134 Martin Luther King Jr Way, Berkeley, CA 94703, United States
Rating 5.0/5 2 reviews Civic center
My City Hall Wedding
Practical stop 9.2 mi away

My City Hall Wedding

San Francisco , CA
1480 Sutter St #302, San Francisco, CA 94109, United States
Rating 5.0/5 8 reviews Wedding photographer,Wedding planner,Wedding service,Wedding store

Transit and Meeting Points

Useful pickup, handoff, or rendezvous points close to Emeryville.

RAIL

Emeryville station

1 mi away
5885 Horton Street
RAIL

Oakland – Jack London Square station

4 mi away
245 Second Street
RAIL

Berkeley station

4 mi away
University Ave. and Third St.
BUS

San Francisco (Ferry), California

10 mi away
101 The Embarcadero

Flight Path Map

This map shows the direct air route between San Francisco and Lafayette. Straight-line distance: 18.14 mi (29.2 km).

San Francisco

#1 San Francisco

The seventeenth most populous city in the United States and the center of the San Francisco Bay Area.

Population866,606
Coordinates37.7749300, -122.4194200
Altitude16
CountryUnited States
Lafayette

#2 Lafayette

City in California

Population25,992
Coordinates37.8857600, -122.1180200
Altitude94
CountryUnited States
Start: San Francisco (-122.41942, 37.77493)
End: Lafayette (-122.11802, 37.88576)

Estimated Travel Time

Distance: 34 km by road

SpeedTime
30 mph (48.3 km/h)00h 42m
40 mph (64.37 km/h)00h 32m
50 mph (80.47 km/h)00h 25m
60 mph (96.56 km/h)00h 21m
70 mph (112.65 km/h)00h 18m
80 mph (129 km/h)00h 15m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
0.75 gal
2.85 L · about $4.33
Round trip
$8.65
1.5 gal · 5.7 L
Estimated CO2
6.7 kg one way
Round trip: 13.3 kg / 29 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.77 $4.33 $8.65
Mid-grade $6.07 $4.55 $9.10
Premium $6.24 $4.68 $9.36
Diesel $7.57 $5.68 $11.35

Assumes 8.3 L/100 km (about 28.3 MPG). CO2 is an estimate and varies by vehicle, fuel blend, traffic, and terrain.

Prices in California · May 07, 2026

There is no time difference between San Francisco and Lafayette. The current time is 07:09:56.

Distance to Other Cities

Planning a road trip? See the full trip guide on Trip.ovh — stops, fuel costs, weather, and departure timing.

How did we calculate? Place names are translated into coordinates. The Haversine formula calculates straight-line distance; driving distance uses road network data.