San Diego to Sacramento drive
505 mi and about 7 h 30 min behind the wheel without traffic or stops, mostly on I-5. At 6 hours of driving a day that is 2 days, with nights in Lost Hills, CA.
How many days it takes
| Driving a day | Days | Longest day | Nights in |
|---|---|---|---|
| Up to 5 hours | 2 | 4 h 01 min | Lost Hills, CA |
| Up to 6 hours | 2 | 4 h 01 min | Lost Hills, CA |
| Up to 8 hours | 1 | 7 h 30 min | No night needed |
Gas cost
An estimate for 505 mi at the US average of $3.995 a gallon for regular (November 9, 2026) and 18 cents a kWh for home charging (August 2026). Fast chargers on the road usually cost more.
| Vehicle | Uses | One way | Round trip |
|---|---|---|---|
| Sedan, 32 mpg | 16 gallons | $63.00 | $126 |
| SUV, 25 mpg | 20 gallons | $80.64 | $161 |
| Pickup truck, 20 mpg | 25 gallons | $101 | $202 |
| Electric, 3.5 mi/kWh | 144 kWh | $26.18 | $52.37 |
Day by day, at your pace
Change the hours or add kids or a pet and the days are worked out again on the real route.
San Diego, CA to Sacramento, CA: 2 days
- Miles
- 505 mi
- Driving
- 7 h 30 min
- Nights
- 1
At up to 6 hours of driving a day. Drive times are for a car without traffic or stops.
- Day 1: San Diego to Lost Hills, CANight in Lost Hills4 h 01 min · 264 mi
- Day 2: Lost Hills to Sacramento, CAArrive3 h 29 min · 241 mi
Opens in the planner with these nights. Free for one trip, no card.
Quick answers
- How many days does it take to drive from San Diego to Sacramento?
- 2 days at 6 hours of driving a day (2 days at 5 hours, 1 day at 8). The drive is 505 mi and about 7 h 30 min without stops or traffic.
- Where should I stop overnight between San Diego and Sacramento?
- At 6 hours a day, the nights fall in Lost Hills, CA.
- How much is gas from San Diego to Sacramento?
- About $80.64 one way for a car that gets 25 mpg, at the US average of $3.995 a gallon for regular (November 9, 2026).
Figures from road routing for a car, without live traffic. Plan the whole trip, with your own stops, in Instay, a free US road-trip planner.
The route
- Main roads: I-5 (503 mi).
- 100% of the drive is on I-5, so most of it is interstate or highway driving.
- The road crosses Tejon Pass at 4,160 ft, about 188 mi from San Diego. Mountain passes can need chains or close in winter storms, so check road conditions before you leave.
- The longest stretch without a town of 1,000 people near the road is about 104 mi (1 h 29 min), between Avenal and Newman. Fill the tank in Avenal.
Drives nearby
Towns and mountain passes: GeoNames (CC BY 4.0). Roads: OpenStreetMap contributors.