From Sacramento, CA bus to San Francisco Caltrain then Caltrain to Palo Alto Caltrain. 2hrs 58min $16. From Sacramento, CA train to San Jose Diridon Caltrain then Caltrain to Palo Alto Caltrain. 5hrs 15min $40. From Sacramento drive to Palo Alto. 2hrs 02min $16. From L St & 10th St bus to Sacramento airport, fly to San Francisco airport, BART to Millbrae Caltrain, then Caltrain to Palo Alto. 3hrs 20min $161.