There are
342 mi
from Palmdale, CA to Los Altos, CA
That's the driving distance. It would take 6 hours 36 mins to go from Palmdale, California to Los Altos, California.
The flight distance (direct flight from Palmdale, CA to Los Altos, CA) is 295.83 mi.
342 mi = 550.15 kms