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