There are
426 mi
from Rocklin, CA to Barstow, CA
That's the driving distance. It would take 8 hours 3 mins to go from Rocklin, California to Barstow, California.
The flight distance (direct flight from Rocklin, CA to Barstow, CA) is 356.06 mi.
426 mi = 685.90 kms