There are
235 mi
from Oceanside, CA to Lompoc, CA
That's the driving distance. It would take 4 hours 39 mins to go from Oceanside, California to Lompoc, California.
The flight distance (direct flight from Oceanside, CA to Lompoc, CA) is 202.74 mi.
235 mi = 378.85 kms