There are
407 mi
from San Marcos, CA to Gilroy, CA
That's the driving distance. It would take 7 hours 42 mins to go from San Marcos, California to Gilroy, California.
The flight distance (direct flight from San Marcos, CA to Gilroy, CA) is 364.84 mi.
407 mi = 655.19 kms