The Drive at a Glance
- Distance: about 490–525 miles depending on route
- Drive time: 7–8 hours with stops
- Route A (I-8/Phoenix): San Diego → Yuma → Phoenix → Flagstaff
- Route B (I-15/I-40): San Diego → Riverside → Barstow → Flagstaff
- Best season: October–April (avoid desert summer heat)
- Elevation gain: Sea level → 6,909 ft (Flagstaff)
Two Routes — Which Should You Take?
Unlike most road trips where there's an obvious "right" route, San Diego to Flagstaff has two genuinely good options that suit different travelers.
Route A: I-8 East through Yuma and Phoenix (about 490 miles)
Take I-8 East from San Diego through El Cajon and the mountains to El Centro, then continue through the Imperial Valley and across the Colorado River at Yuma. From Yuma, I-8 continues east to Casa Grande where you pick up I-10 East into Phoenix. From Phoenix, I-17 North takes you 145 miles through the Sonoran Desert into Flagstaff.
Pros: More dramatic scenery (the Sonoran Desert and saguaro cactus landscape between Phoenix and Flagstaff is spectacular). Allows a Sedona detour on I-17. More gas and food stops through populated Phoenix metro.
Cons: Phoenix traffic (avoid 4–7pm on weekdays). Yuma is one of the hottest cities in the continental U.S. in summer (average July high: 107°F). The I-8 mountain descent from San Diego can be foggy in coastal marine layer conditions.
Route B: I-15 North through Riverside and I-40 (about 525 miles)
Take I-15 North from San Diego through Temecula and Riverside, over Cajon Pass to Barstow, then I-40 East all the way to Flagstaff through the Mojave and the Route 66 corridor.
Pros: Avoids Phoenix entirely. The I-40/Route 66 corridor through Seligman is one of the most iconic American road trip stretches. A good choice on weekends when Phoenix traffic is unpredictable, though it covers a few more miles than the I-8 route.
Cons: The Mojave section (Barstow to Needles) is brutal in summer heat. Temecula and Riverside traffic can be significant on Friday afternoons. Fewer services between Barstow and Kingman than between Yuma and Phoenix.
Route A Stops: Yuma, Phoenix Bypass, and Sedona
Yuma, AZ (2.5 hours from San Diego)
Yuma is a practical stop rather than a destination — gas, food, and a 30-minute visit to the Yuma Territorial Prison State Historic Park if you're interested in Old West history. The prison (1876–1909) held outlaws along the Colorado River; the main building and some cells survive with good interpretive displays. Admission $7. From Yuma, it's 180 miles to Phoenix — keep fuel above half.
Phoenix Traffic Strategy
The Phoenix metro adds real complexity. If you hit Phoenix during rush hour (7–9am or 4–7pm on weekdays), add 45–90 minutes to your estimate. The I-10/I-17 interchange is the worst bottleneck. On weekends, traffic moves freely. Consider timing your Phoenix transit for mid-morning (10am–noon) or after 7pm.
Sedona Detour (optional, +1 hour)
On I-17 North from Phoenix, exit at Exit 298 (AZ-179) toward Sedona. The Red Rock country — 1,000-foot sandstone buttes rising from the desert floor — appears suddenly and dramatically as you drop into Oak Creek Canyon. For a quick stop: the Airport Mesa overlook (5 minutes from AZ-179 on Airport Road) gives you the full panorama without driving into the congested Village of Oak Creek. From the overlook, return to AZ-179, continue north on US-89A through Oak Creek Canyon to Flagstaff — a spectacular final 27 miles into the ponderosa pine. See our Sedona day trip guide for a full visit.
Route B Stops: Temecula, Barstow, Seligman
Temecula (1.5 hours from San Diego)
If you're leaving San Diego before 8am, Temecula wine country is worth a 30-minute coffee stop at one of the estate tasting rooms. Old Town Temecula on Front Street has a handful of cafes and a farmers market on Saturday mornings. On weekday afternoons, the I-15 through Temecula can back up badly — if possible, pass through before 2pm or after 7pm.
Barstow (3.5 hours from San Diego)
Barstow is your last major services stop before the Mojave crossing. The Route 66 Mother Road Museum in the restored Harvey House is worth 20 minutes. Gas here is typically cheaper than anywhere between Barstow and Kingman. Fill up. From Barstow, I-40 East takes you through the Mojave to Needles, Kingman, and Seligman.
Seligman (5.5 hours from San Diego)
The Route 66 town that inspired Pixar's Cars. Exit I-40 at Seligman for a 30-minute stop at Delgadillo's Snow Cap Drive-In (open since 1953) and the Route 66 Visitor Center. Re-enter I-40 East and it's 90 minutes to Flagstaff.
The Arrival: Sea Level to 6,909 Feet
Regardless of which route you take, arriving in Flagstaff after a full day on the road at sea level means your body is suddenly at altitude. The ponderosa pine forest appears in the final 30 miles of both routes — a dramatic transition from desert landscape to mountain forest. On arrival, drink water, take the first flight of stairs slowly, and don't plan strenuous hiking for your first afternoon. Most people acclimatize within 24–48 hours.
Our Flagstaff hotels guide has recommendations for walkable downtown properties — after 7–8 hours of driving, having a hotel within walking distance of restaurants and breweries matters.
Explore Flagstaff the Morning After
After the drive, let our Historic Downtown Walk Audio Tour orient you to Flagstaff history without needing to read a map. 12 GPS stops, starts from the Amtrak depot. $2.99.
Browse Audio ToursFrequently Asked Questions
How far is San Diego from Flagstaff?
About 490–525 miles depending on route. The I-8/Phoenix/I-17 route is about 490 miles. The I-15/I-40 route via Barstow is about 525 miles. Both take 7–8 hours with stops.
What is the best route from San Diego to Flagstaff?
I-8/Phoenix route for Sedona scenery and more services. I-15/I-40 route to avoid Phoenix and follow the Route 66 corridor. On weekends, I-15/I-40 is comparable despite being a bit longer. On weekdays, avoid Phoenix 4–7pm either way.
What are the best stops between San Diego and Flagstaff?
I-8 route: Yuma Territorial Prison, Sedona Airport Mesa overlook. I-15/I-40 route: Temecula coffee stop, Barstow Route 66 Museum, Seligman (the Cars town). Pick 1–2 stops per route to stay under 9 hours total.
How do you survive driving through the Arizona desert in summer?
Leave San Diego before 7am to cross the hottest sections before noon. Keep fuel above half between El Centro and Casa Grande (I-8 route) or Barstow and Kingman (I-40 route). Carry 2+ gallons water per person. Don't rely solely on A/C in the hottest months.
Can you stop in Sedona on the way from San Diego to Flagstaff?
Yes, on the I-8/Phoenix/I-17 route. Exit I-17 at Exit 298 (AZ-179). Airport Mesa overlook is a 5-minute walk for the full panorama. Continue north on US-89A through Oak Creek Canyon to Flagstaff — a spectacular final 27 miles. Adds about 1 hour total.