There are
347 mi
from Palmdale, CA to Hayward, CA
That's the driving distance. It would take 6 hours 31 mins to go from Palmdale, California to Hayward, California.
The flight distance (direct flight from Palmdale, CA to Hayward, CA) is 307.40 mi.
347 mi = 558.20 kms