The best time to visit Machu Picchu and hike the Inca Trail is from late March to May and from September to mid-December.