A multi-lane desert highway stretching straight across scrubland toward the towering massif of Mount San Jacinto under a partly cloudy sky.

Getting here

San Francisco to Joshua Tree

San Francisco to Yucca Valley is roughly 490 miles. The usual line runs down Interstate 5 through the Central Valley, east on Route 58 over Tehachapi Pass to Barstow, then south on Route 247 across the open Mojave. Stargaze Escape is on Route 247 itself, in the Flamingo Heights stretch of Yucca Valley, so you reach it from the north and never need Highway 62. Routing services put the drive to Yucca Valley at roughly eight and a half to nine hours, so with stops it is a full day, and splitting it in two is a sensible choice.

Choosing a line south

There are three reasonable ways to do this drive, and they come out within a few miles of each other.

  • Route 58 and Barstow. Interstate 80 across the Bay Bridge, Interstate 580 east to Interstate 5, then south to Route 58. Route 58 runs east through Bakersfield, over Tehachapi Pass, through Mojave, Boron and Kramer Junction to Barstow. From there Route 247 runs south to Yucca Valley, passing the house on the way. About 490 miles.
  • Route 58 and Apple Valley. The same until Kramer Junction, where some mapping apps turn south on US 395 toward Adelanto and then east through Apple Valley on Route 18 to Lucerne Valley, joining Route 247 there. About 485 miles and roughly the same time.
  • Interstate 5 into Los Angeles. Straight down Interstate 5 over the Grapevine, then east on Interstate 210 and Interstate 10 to Highway 62 and Highway 247. About 500 miles. The free-flow time looks similar, but it puts you into Los Angeles traffic for the last third of the day.

Most people take one of the Route 58 lines, which skip the Los Angeles basin entirely. Route 58 is a common bypass for traffic between Northern California and the southeast, so expect trucks on it.

Leaving the Bay Area

Bay Area freeways load up fast at rush hour, and holiday forecasts make the point: in AAA and INRIX's 2024 year-end forecast, the San Francisco to Napa drive on Interstate 80 was expected to run 82 percent longer than normal at its peak. AAA suggests skipping weekday commute hours entirely. On this trip, that means getting out of the city before the morning rush builds. A start around 6am puts you near Kettleman City by mid-morning, at about the three-and-a-half to four-hour mark.

If you would rather not do it all in one go, leave the evening before and sleep somewhere in the Central Valley or around Bakersfield. That leaves a second day of roughly four hours, including the mountain pass and the desert, which is a more pleasant way to arrive.

Down Interstate 5

Interstate 5 through the Central Valley is long and straight, with big service stops at regular intervals. Harris Ranch, beside the interstate near Coalinga, is the best known. It has a 153-room hotel, a steakhouse, the Ranch Kitchen restaurant, a barbecue spot, a bakery and a country store, along with fuel and electric-vehicle charging. It is a good place for a proper breakfast or lunch; check the restaurants' hours before you count on one.

Kettleman City, roughly 210 miles and three and a half to four hours from San Francisco, is the other classic stop, a cluster of fuel stations, chargers and roadside food where Route 41 meets the interstate. A little farther south, Lost Hills sits where Route 46 crosses Interstate 5. Then comes Buttonwillow, where you leave Interstate 5 for Route 58 east into Bakersfield, about 77 miles and an hour and a quarter from Kettleman City.

Over the Tehachapis on Route 58

East of Bakersfield, Route 58 climbs into the Tehachapi Mountains. Bakersfield to the town of Tehachapi is about 40 miles and 45 minutes, and the summit of Tehachapi Pass sits at 4,064 feet.

The Tehachapi Loop

Below the town of Tehachapi, the railroad climbs the pass by curling around a hill and crossing over itself. The Tehachapi Loop is a 3,779-foot spiral that gains 77 feet while turning a full circle about 1,210 feet across, and it opened in 1876. It is California Historical Landmark No. 508 and a National Historic Civil Engineering Landmark. As of 2025, BNSF ran about 20 trains a day through it and Union Pacific about 16, so a long freight is often wrapping around the hill. A concrete viewing platform was built at the overlook on Woodford-Tehachapi Road in 2021, a short detour off Route 58.

Wind turbines and parked jets

Coming down the east side of the pass, you drive through the Tehachapi Pass wind farm, one of the earliest large wind farms in the country, with about 3,400 turbines and roughly 710 megawatts, visible from Route 58. In the town of Mojave, the Mojave Air and Space Port stores and scraps commercial jets, among them Boeing, McDonnell Douglas, Lockheed and Airbus airliners. It is also where SpaceShipOne flew the first privately funded human suborbital flight, on June 21, 2004.

Barstow and Route 247

From Mojave, Route 58 runs east about 71 miles past Boron and Kramer Junction, where it crosses US 395, to its end at Interstate 15 in Barstow. Barstow's Harvey House depot, the Casa del Desierto, opened on February 22, 1911, as one of the Fred Harvey Company's railroad hotels. It is California Historical Landmark No. 892 and, since a 1999 refurbishment, has housed museums and city offices. Check hours before you detour. Barstow is also a Route 66 town; the old highway, which turns 100 in 2026, runs through it.

Route 247 is the final long road. It runs about 78 miles from Interstate 15 in Barstow to Highway 62 in Yucca Valley, along the north side of the San Bernardino Mountains. The first part, Barstow Road, runs about 35 miles south to Lucerne Valley. From there it becomes Old Woman Springs Road, named for elderly Native American women whom surveyors found in camp in 1856, and runs about 43 more miles through Johnson Valley, a well-known off-highway vehicle area, and Flamingo Heights toward Yucca Valley. The house sits in that Flamingo Heights stretch, so it comes up roughly 15 minutes before the Highway 62 junction and the town's supermarkets. Away from Barstow it is a quiet road with sparse services, so fill up in Barstow before you start south.

Charging on a long day

This is a well-charged route if you plan your stops. Tesla lists Supercharger sites at Harris Ranch and Coalinga, in Kettleman City, in Buttonwillow, in Bakersfield and in Mojave, plus a very large one at Lost Hills, called the Oasis, that opened in 2025. Barstow has several, and the federal charging database lists other networks there too. If your app takes the Apple Valley line instead, Victorville, just off it, has Supercharger sites of its own. Site counts change month to month, so confirm in your car's planner before you leave home.

Route 247 itself had no fast chargers on the lists we checked, so leave Barstow with enough range for the 80 miles to Yucca Valley, plus a margin for the climb and the desert heat. Yucca Valley has fast chargers on the main highway through town, about 15 minutes from the house, so arrive with enough range to reach them. Hours and availability change, so confirm in your charging app first. More local options are in our guide to gas and EV charging near Joshua Tree.

Splitting the drive

The trip breaks into two days at a few natural points. Bakersfield, about 283 miles and four and a half to five hours from San Francisco by a routing estimate, leaves roughly 203 miles and about four hours for the second day, including both the pass and the desert. Tehachapi, about 322 miles in, trims the second day to around 163 miles and three to three and a half hours. Barstow, some 412 miles and about seven hours out, leaves only the 80 miles of Route 247 for the morning, and the house comes up a little before the end of them, so you can be there by lunch and have the afternoon to settle in.

Whichever stop you choose, try to cross Tehachapi Pass in daylight in winter, and plan the Route 247 stretch for daylight too. It is a quiet road with long gaps between towns, and the landmarks near the end are worth seeing. If you arrive in the dark anyway, the stars over the Mojave are a fair consolation.

Passes and seasons

Both mountain crossings on this trip top out around 4,000 feet. Tehachapi Pass on Route 58 reaches 4,064 feet, and Tejon Pass on Interstate 5, the Grapevine, reaches 4,144 feet. The California Highway Patrol sometimes closes the 40-mile stretch of Interstate 5 between Grapevine and Castaic when ice combines with the steep grade, and holiday traffic makes those closures worse. That is another reason the Route 58 line is the usual choice for this trip in winter. Either way, check Caltrans road conditions on the morning you cross, and carry warm layers. Down in Yucca Valley, snow is rare, though nights in winter can drop to freezing.

Summer brings the opposite problem. In Yucca Valley, summer daytime highs commonly run from the mid-90s to over 100°F, and the Mojave crossing from Tehachapi to Route 247 is long and exposed. On a summer trip, carry at least a gallon of water per person, watch the temperature gauge on the climbs, and try to be through the desert by early afternoon.

The last miles through Landers

The south end of Route 247 passes some of the high desert's odder landmarks. Route 247 runs through the western edge of Landers, home to the Integratron and, a few miles north on a dirt road, Giant Rock. Our Giant Rock and Landers guide and our post on the Integratron sound bath cover both, and both are easier to visit on a later day than at the end of a 490-mile drive.

In Flamingo Heights, on Old Woman Springs Road, La Copine serves a seasonal New California menu; at the time of writing its site listed Thursday to Sunday, 11am to 4pm, with reservations by text and walk-ups welcome, so an early start can put lunch there on the way in. The house is about two minutes from La Copine on the same road, so you do not turn onto Highway 62 at all. That also means the groceries come last: the town's two Stater Bros. supermarkets are on Highway 62, about 15 minutes past the house. Barstow, at the start of Route 247, is the last city with full-size supermarkets, and shopping there before the quiet road saves the backtrack. Our Highway 62 guide covers the rest of the corridor, and the getting here page has the directions for the last turns.

Planning the long day

  • Distance and time. About 485 to 500 miles to Yucca Valley depending on the line; roughly eight and a half to nine hours of driving by routing estimates, more with stops.
  • Best line. Route 58 to Barstow and Route 247, which skips Los Angeles.
  • Departure. Leave before the Bay Area morning rush, or drive part of the way the evening before.
  • Last fuel. Barstow, before about 80 quiet miles on Route 247.
  • Winter. Check Caltrans for Tehachapi Pass and the Grapevine before you go.
  • Arrival. The house is on Route 247, about 15 minutes before Yucca Valley's groceries and chargers; the park has no stores or fuel.

A 490-mile drive pairs best with a stay of several nights; check availability for the house. The journal's post on driving to Joshua Tree has the desert-driving basics for the final stretch.

Base yourself here

Stay 25 minutes from the park.

Keep exploring

Wind turbines standing along a railway track against arid mountain slopes in a desert pass.
Getting here

Los Angeles to Joshua Tree

Driving from Los Angeles to Joshua Tree: the I-10 and Highway 62 route, miles and drive time, when to leave, toll lanes, EV charging and stops in Cabazon.

Read →
Large roadside sculptures of an Apatosaurus and Tyrannosaurus Rex at the Cabazon Dinosaurs attraction with snow-dusted mountains in the background.
Getting here

Orange County to Joshua Tree

Driving from Orange County to Joshua Tree: the 91, the 60 and I-10 to Highway 62, miles and drive time, the 91 Express Lanes, charging in Beaumont and stops.

Read →
Menifee and the inland valley seen from the Menifee Hills, on the drive up from San Diego
Getting here

San Diego to Joshua Tree

Driving from San Diego to Joshua Tree: I-15 and Highway 79, or the desert way through Julian, Anza-Borrego and the Salton Sea. Miles, times, charging and stops.

Read →

Photo credits on this page: CA62sb TwentyninePalmsHwy 1 20170910.jpg by Niranjan Arminius, CC BY-SA 4.0 · Wind energy near Palm Springs (30873356400).jpg by Pacific Southwest Region USFWS from Sacramento, US, Public domain · Cabazon-Dinosaurs-2.jpg by Jllm06, CC0 · Menifee viewed from Menifee Hills.jpg by Z3lvs, CC0. More on our photo credits page.