There are
1,777 mi
from Rocklin, CA to San Marcos, TX
That's the driving distance. It would take 1 day 7 hours to go from Rocklin, California to San Marcos, Texas.
The flight distance (direct flight from Rocklin, CA to San Marcos, TX) is 1,459 mi.
1,777 mi = 2,859.93 kms