How far is Lafayette, CA from Hayward, CA?
The driving distance from Lafayette, CA to Hayward, CA is about 24.7 miles (39.7 km), with a travel time of about 00h 33m by car.
- The straight-line flight distance is about 15.1 miles (24.3 km).
- For a round trip, plan for roughly 01h 07m of driving time before adding stops, traffic, or weather delays.
- A comfortable departure window is usually 7:00 AM to 7:00 PM PST.
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.
This is an easy same-day return drive.
Flight Distance
Driving Distance
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 33m.
This is a short drive, so your comfort window is wide. Traffic and current weather matter more than the clock.
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.
City in California
Route Weather Snapshot
Check the forecast at both ends before you head out.
Mostly Cloudy
Mostly Cloudy
Driving Route Map
The map below follows the saved road route between Lafayette and Hayward.
Turn-by-Turn Driving Directions
Step-by-step road directions between Lafayette and Hayward.
-
1
Start on Saint Mary's Road
13 m · 2 sec · Saint Mary's Road
-
2
Turn right onto Moraga Road
2269 ft · 55 sec · Moraga Road
-
3
Turn right onto Mount Diablo Boulevard
682 ft · 21 sec · Mount Diablo Boulevard
-
4
Turn left onto 1st Street
1205 ft · 45 sec · 1st Street
-
5
Turn left onto Deer Hill Road
139 m · 21 sec · Deer Hill Road
-
6
Turn left onto CA 24 West: Oakland
1148 ft · 30 sec
-
7
Merge slight left
5.8 mi · 7 min
-
8
Keep slight right to continue on Caldecott Tunnel
1.4 km · 1 min · Caldecott Tunnel
-
9
Continue on Grove Shafter Freeway
1.3 km · 1 min · Grove Shafter Freeway
-
10
Take the exit slight right toward CA 13 South: Hayward, Piedmont, East Oakland
1419 ft · 57 sec
-
11
Merge slight left onto Warren Freeway
4.7 mi · 5 min · Warren Freeway
-
12
Continue on Warren Freeway
1.2 mi · 1 min · Warren Freeway
-
13
Merge slight left onto MacArthur Freeway
7.4 mi · 9 min · MacArthur Freeway
-
14
Take the exit slight right toward CA 238 South, I 238 North: Hayward, San Jose, San Mateo Bridge
1376 ft · 34 sec
-
15
Keep slight left to continue on CA 238 South: Hayward
2038 ft · 50 sec
-
16
Keep slight right to continue on CA 238: Hayward, Mattox Road
127 m · 10 sec
-
17
Continue on Hayward, Mattox Road
1.2 mi · 3 min
-
18
At the end of the road, turn right onto A Street
1167 ft · 35 sec · A Street
-
19
Turn left onto Mission Boulevard
1998 ft · 51 sec · Mission Boulevard
-
20
Arrive at your destination
0 m · 1 sec · Mission Boulevard
Car Route Details
A richer read on the saved driving route between Lafayette and Hayward.
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.
MacArthur Freeway
Merge slight left onto MacArthur Freeway
7.4 mi · 00h 09m
Route Summary
A quick read on whether this route feels easy, ambitious, or worth planning around.
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.
Mostly Cloudy leaving Lafayette and Mostly Cloudy near Hayward.
Trip Questions
Direct answers travelers usually want before committing to the drive.
How long does it take to drive from Lafayette to Hayward?
The road trip is about 24.7 miles (39.7 km) and usually takes 00h 33m 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 12.3 miles from Lafayette and 12.4 miles from Hayward.
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 9.6 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:22 PM PST.
How much will gas cost for this route?
Using about 28.3 MPG, regular gas is estimated at $4.67 one way or $9.35 round trip. Estimated CO2 is about 7.7 kg one way.
What should you check before leaving?
Before you leave, expect Mostly Cloudy around Lafayette and Mostly Cloudy near Hayward.
Stop Ideas Near Piedmont
Useful break, food, and waypoint ideas within about 15 miles of the route midpoint.
San Francisco City Hall Wedding Photographer
San Leandro City Council
SF City Hall Photo
My City Hall Wedding
Transit and Meeting Points
Useful pickup, handoff, or rendezvous points close to Piedmont.
Emeryville station
Oakland – Jack London Square station
Berkeley station
Oakland Coliseum station
Flight Path Map
This map shows the direct air route between Lafayette and Hayward. Straight-line distance: 15.12 mi (24.34 km).
#1 Lafayette
City in California
| Population | 25,992 |
| Coordinates | 37.8857600, -122.1180200 |
| Altitude | 94 |
| Country | United States |
#2 Hayward
The seventh most populous city in Alameda County, California.
| Population | 157,966 |
| Coordinates | 37.6688200, -122.0808000 |
| Altitude | 34 |
| Country | United States |
End: Hayward (-122.0808, 37.66882)
Estimated Travel Time
Distance: 40 km by road
| Speed | Time |
|---|---|
| 30 mph (48.3 km/h) | 00h 49m |
| 40 mph (64.37 km/h) | 00h 36m |
| 50 mph (80.47 km/h) | 00h 29m |
| 60 mph (96.56 km/h) | 00h 24m |
| 70 mph (112.65 km/h) | 00h 21m |
| 80 mph (129 km/h) | 00h 18m |
Fuel, Round Trip and CO2
Estimated fuel cost and emissions for this route.
| Fuel | $/gal | One way | Round trip |
|---|---|---|---|
| Regular gas | $5.37 | $4.67 | $9.35 |
| Mid-grade | $5.59 | $4.86 | $9.72 |
| Premium | $5.80 | $5.05 | $10.09 |
| Diesel | $7.59 | $6.60 | $13.21 |
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