It takes 3 hours to drive directly from Salta to Cafayate. However, you will want to get out and take photos and see the formations. So I suggest planning for 5-6 hours of total travel time.