There are
416 mi
from San Marcos, CA to Oakdale, CA
That's the driving distance. It would take 8 hours 2 mins to go from San Marcos, California to Oakdale, California.
The flight distance (direct flight from San Marcos, CA to Oakdale, CA) is 380.65 mi.
416 mi = 669.31 kms