How far is Hayward, CA from Lafayette, CA?

The driving distance from Hayward, CA to Lafayette, CA is about 23.6 miles (38 km), with a travel time of about 00h 31m by car.

  • The straight-line flight distance is about 15.1 miles (24.3 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 PST.
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
23.64 mi
00h 31m
Flight
15.12 mi
24.34 km direct

This is an easy same-day return drive.

Learn Distance

Choose another destination from Hayward.

Flight Distance

Direct air line
15.12 mi
Kilometers
24.34 km
Flight Time
00h 01m

Driving Distance

Road route
23.64 mi
Kilometers
38.04 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
Sun, Nov 29, 8:44 PM PST
Return by in Hayward
Sun, Nov 29, 9:16 PM PST
Useful when you're deciding between a quick errand, a day trip, or a longer stop.
Leave Hayward
2026-11-29T20:13
Arrive Lafayette
Sun, Nov 29, 8:44 PM PST
Route Timing
00h 31m
One way by road
Best Departure Window
7:00 AM to 7:00 PM PST
Leave when it suits your day
Arrive between
7:31 AM to 7:31 PM PST

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 PST
Keeps a same-day return open with about 01h 30m at the destination.
Back in Hayward
10:00 PM PST
Flexible departure

You are leaving earlier than the recommended window, which gives you extra margin for breaks and traffic.

Halfway Point

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

Mid-route stop
Piedmont
CA

City in California

From Hayward
11.8 mi
00h 15m
To Lafayette
11.8 mi
00h 15m

Route Weather Snapshot

Check the forecast at both ends before you head out.

Origin
48°F
Overnight

Mostly Cloudy

Starts
Sun, Nov 29 5:00 AM PST
Wind
5 mph SSE
Destination
47°F
Overnight

Mostly Cloudy

Starts
Sun, Nov 29 2:00 AM PST
Wind
5 mph SSE

Driving Route Map

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

Turn-by-Turn Driving Directions

Step-by-step road directions between Hayward and Lafayette.

  1. 1

    Start on Mission Boulevard

    71 m · 9 sec · Mission Boulevard

  2. 2

    Turn right

    55 m · 15 sec

  3. 3

    Turn slight right onto Jackson Street

    73 m · 7 sec · Jackson Street

  4. 4

    Continue on Foothill Boulevard

    1.4 mi · 3 min · Foothill Boulevard

  5. 5

    Take the ramp straight toward I 580 West: Oakland

    1.4 km · 2 min

  6. 6

    Merge slight right onto MacArthur Freeway

    7.7 mi · 9 min · MacArthur Freeway

  7. 7

    Keep slight right to continue on Warren Freeway

    5.4 mi · 6 min · Warren Freeway

  8. 8

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

    1604 ft · 34 sec

  9. 9

    Continue straight

    150 m · 10 sec

  10. 10

    Merge slight left onto Grove Shafter Freeway

    1955 ft · 30 sec · Grove Shafter Freeway

  11. 11

    Keep slight left to continue on Grove Shafter Freeway

    874 ft · 13 sec · Grove Shafter Freeway

  12. 12

    Continue on Caldecott Tunnel

    6.4 mi · 8 min · Caldecott Tunnel

  13. 13

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

    1176 ft · 30 sec

  14. 14

    Turn right onto Oak Hill Road

    644 ft · 20 sec · Oak Hill Road

  15. 15

    Turn left onto Mount Diablo Boulevard

    146 m · 19 sec · Mount Diablo Boulevard

  16. 16

    Turn right onto Moraga Road

    2269 ft · 56 sec · Moraga Road

  17. 17

    Turn left onto Saint Mary's Road

    13 m · 1 sec · Saint Mary's Road

  18. 18

    Arrive at your destination

    0 m · 1 sec · Saint Mary's Road

Car Route Details

A richer read on the saved driving route between Hayward 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
18 steps
6 turns on the saved route
Ramps & Exits
5
2 merges, 3 ramps or exits
Navigation Density
76.3 / 100 mi
Decision points by distance
Main Roads
MacArthur Freeway
7.72 mi · 33%
Caldecott Tunnel
6.37 mi · 27%
Warren Freeway
5.39 mi · 23%
Foothill Boulevard
1.36 mi · 6%
I 580 West
0.87 mi · 4%
Grove Shafter Freeway
0.54 mi · 2%
Longest Stretch

MacArthur Freeway

Merge slight right onto MacArthur Freeway

7.72 mi · 00h 09m

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
+8.5 mi
15.1 mi direct line
Halfway Stop
Piedmont
00h 15m from Hayward
Leave By
7:28 PM PST
Flexible departure
Weather Watch

Mostly Cloudy leaving Hayward and Mostly Cloudy near Lafayette.

Trip Questions

Direct answers travelers usually want before committing to the drive.

How long does it take to drive from Hayward to Lafayette?

The road trip is about 23.6 miles (38 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?

Piedmont is a useful midpoint, sitting about 11.8 miles from Hayward and 11.8 miles from Lafayette.

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

The direct path is about 15.1 miles (24.3 km), while the road route adds roughly 8.5 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 PST. If you want a more comfortable same-day return, try to leave by 7:28 PM PST.

How much will gas cost for this route?

Using about 28.3 MPG, regular gas is estimated at $4.46 one way or $8.92 round trip. Estimated CO2 is about 7.4 kg one way.

What should you check before leaving?

Before you leave, expect Mostly Cloudy around Hayward and Mostly Cloudy near Lafayette.

Stop Ideas Near Piedmont

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 Piedmont and the surrounding midpoint area.
San Francisco City Hall Wedding Photographer
Practical stop 14.2 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
City of Brisbane: Brisbane Marina
Meeting point 13.8 mi away

City of Brisbane: Brisbane Marina

Brisbane , CA
400 Sierra Point Pkwy, Brisbane, CA 94005, United States
Rating 4.8/5 49 reviews City government office,Marina
SF City Hall Photo
Nearby stop 13.5 mi away

SF City Hall Photo

San Francisco , CA
30 Patton St, San Francisco, CA 94110, United States
Rating 4.9/5 47 reviews Photographer,Wedding photographer
My City Hall Wedding
Practical stop 12.9 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 Piedmont.

RAIL

Emeryville station

5 mi away
5885 Horton Street
RAIL

Oakland – Jack London Square station

5 mi away
245 Second Street
RAIL

Berkeley station

8 mi away
University Ave. and Third St.
RAIL

Oakland Coliseum station

9 mi away
700 73rd Avenue

Flight Path Map

This map shows the direct air route between Hayward and Lafayette. Straight-line distance: 15.12 mi (24.34 km).

Hayward

#1 Hayward

The seventh most populous city in Alameda County, California.

Population157,966
Coordinates37.6688200, -122.0808000
Altitude34
CountryUnited States
Lafayette

#2 Lafayette

City in California

Population25,992
Coordinates37.8857600, -122.1180200
Altitude94
CountryUnited States
Start: Hayward (-122.0808, 37.66882)
End: Lafayette (-122.11802, 37.88576)

Estimated Travel Time

Distance: 38 km by road

SpeedTime
30 mph (48.3 km/h)00h 47m
40 mph (64.37 km/h)00h 35m
50 mph (80.47 km/h)00h 28m
60 mph (96.56 km/h)00h 23m
70 mph (112.65 km/h)00h 20m
80 mph (129 km/h)00h 17m

Fuel, Round Trip and CO2

Estimated fuel cost and emissions for this route.

One-way fuel
0.83 gal
3.16 L · about $4.46
Round trip
$8.92
1.66 gal · 6.32 L
Estimated CO2
7.4 kg one way
Round trip: 14.8 kg / 33 lb CO2, using regular gasoline.
Fuel$/galOne wayRound trip
Regular gas $5.37 $4.46 $8.92
Mid-grade $5.59 $4.64 $9.28
Premium $5.80 $4.81 $9.63
Diesel $7.59 $6.30 $12.60

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 · Nov 29, 2026

There is no time difference between Hayward and Lafayette. The current time is 20:13:14.

Distance to Other Cities

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