Fastest ~1h20 by flight
| ✈️ Flight | ~1h20 | Lima to Cusco; no realistic overland alternative |
| 🚆 Train | ~1.5-2h | PeruRail/Inca Rail from Ollantaytambo to Aguas Calientes |
| 🚆 Train | ~3.5-4h | Longer PeruRail/Inca Rail option from Cusco's Poroy station |
| 🚌 Bus | ~25-30 min | Final shuttle from Aguas Calientes up to the citadel gate |
Planning this trip? Currency converter · Jet-lag calculator · Trip budget · Compare routes
Machu Picchu is not a simple day trip from Lima — it's the end of a multi-stage journey that takes most travellers two to four days if done properly, and the single biggest mistake people make is rushing it. Here is the whole chain, from landing in Lima to walking through the citadel gates: the flight to Cusco, why acclimatisation matters, the Sacred Valley detour worth considering, and the train options that cover the final stretch.
Step one: fly from Lima to Cusco
Almost everyone starts with a domestic flight from Lima to Cusco, taking around 1 hour 20 minutes and run frequently by Peru's main domestic carriers throughout the day. There is no realistic overland alternative for this leg on a normal holiday timeframe — the road and rail distance is vast and would eat several days you almost certainly want to spend elsewhere. Book a morning flight if you can; Cusco's mountain-airport weather is more prone to afternoon disruption, and an earlier arrival gives you more daylight to settle in on your first, most important acclimatisation day.
Altitude warning: Cusco sits at roughly 3,400 metres above sea level, and altitude sickness (soroche) is a real risk for visitors flying in directly from sea-level Lima. Symptoms — headache, nausea, breathlessness, poor sleep — are common in the first 24–48 hours and can range from mild to serious. Plan at least one full day of rest on arrival before any strenuous activity, drink plenty of water, avoid alcohol on day one, go easy on food, and consider coca tea, which is a traditional and widely available local remedy. If symptoms are severe or don't improve, descend to lower altitude and seek medical attention — some travellers with underlying heart or lung conditions should discuss the trip with a doctor beforehand.

Step two: acclimatise in Cusco (or skip straight to the Sacred Valley)
Most itineraries build in at least one full day in Cusco to adjust before heading further into the mountains, using the time to explore the city's colonial centre and Inca stonework at an easy pace. An increasingly popular alternative is to head straight from the airport to the Sacred Valley instead, which sits several hundred metres lower than Cusco — around 2,800 metres at towns like Urubamba — making it a genuinely gentler place to adjust than Cusco's thinner air. Either approach works; what matters is not attempting a strenuous hike or a full day of sightseeing at altitude on your very first day in the mountains.
Step three: the Sacred Valley (optional but worthwhile)
The Sacred Valley, stretching along the Urubamba River between Cusco and the town of Ollantaytambo, is well worth a day or two if your schedule allows it. Highlights include the Pisac ruins and market, the salt pans at Maras, the agricultural terraces at Moray, and the fortress-town of Ollantaytambo itself — which also happens to be one of the two main departure points for the train to Machu Picchu. Road transport around the valley is straightforward by organised tour, taxi or local colectivo (shared minivan), and many travellers base themselves in Urubamba or Ollantaytambo for a night rather than returning to Cusco before continuing on.
Step four: the train to Aguas Calientes
There is no road to Machu Picchu itself — the final approach is by train to the town of Aguas Calientes (also called Machu Picchu Pueblo), followed by a short bus ride up to the citadel entrance. Two operators run this route: PeruRail and Inca Rail, both offering several service tiers from simpler tourist-class carriages to more comfortable, panoramic-window options with onboard service.
Trains depart from two main stations depending on your itinerary:
- Ollantaytambo — the shorter, more common departure point, roughly 1.5–2 hours to Aguas Calientes, used by most travellers who have spent time in the Sacred Valley.
- Cusco (Poroy station) — a longer option, around 3.5–4 hours, convenient if you are travelling directly from Cusco without stopping in the valley, though it is a slower and often pricier way to cover the same ground.
Reservations are essential on both operators, especially in the busy May–September dry season, when trains sell out well in advance. Book as early as your dates allow — this is the one part of the whole journey that most often catches travellers out if left too late.
Step five: Aguas Calientes to the citadel
From Aguas Calientes, a shuttle bus climbs the switchback road up to the Machu Picchu entrance in around 25–30 minutes; buses run frequently from early morning and tickets are bought separately from the train and the site entry ticket itself. A small number of energetic visitors walk up instead, via a steep path that takes roughly 1.5–2 hours — worth considering only if you are well acclimatised and want the exercise, since the altitude and gradient make it a serious effort, not a casual stroll.
Entry to Machu Picchu itself is strictly ticketed with timed entry slots and, for some circuits, a guide requirement — tickets should be bought well in advance online, particularly for peak season and for the more limited add-on hikes like Huayna Picchu, which sell out separately and far ahead of the main site ticket.
The alternative: hiking the Inca Trail
Rather than taking the train the whole way, many travellers choose to hike some or all of the classic Inca Trail, a multi-day trek ending at the Sun Gate above Machu Picchu, arriving on foot rather than by train and bus. The classic four-day route requires a licensed operator, a permit booked months ahead (numbers are strictly limited daily), and a reasonable level of fitness given the altitude and multiple mountain passes en route. Shorter alternative treks and the Salkantay trek offer a similar multi-day mountain experience with different permit rules and less advance booking pressure, ending either at Aguas Calientes to join the standard route up, or via a different final approach.
How long the whole trip realistically takes
A workable minimum is around 3 days: fly into Cusco, rest and acclimatise, train to Aguas Calientes and visit Machu Picchu the next morning, then return. Most travellers who also want time in the Sacred Valley, or who are hiking rather than training in, should budget 4–6 days for the full loop. Trying to compress this into a single rushed day from Cusco is possible in principle but leaves very little margin for altitude issues, train delays or simply enjoying the Sacred Valley along the way — not recommended if you can avoid it.
Which should you choose?
For most first-time visitors, the sensible plan is: fly Lima–Cusco, spend a day or two easing into the altitude (ideally including a stop in the lower-altitude Sacred Valley), then take the train from Ollantaytambo to Aguas Calientes and the shuttle bus up to the citadel. Choose the longer train from Cusco itself only if your schedule doesn't allow a Sacred Valley stop, and consider the Inca Trail or Salkantay trek if you want a multi-day hiking experience and can book the required permits well ahead.
Booking timeline: what to arrange when
- Months ahead: Inca Trail permits (if hiking), Huayna Picchu add-on tickets, and your Machu Picchu entry ticket for peak season (May–September).
- Weeks ahead: PeruRail or Inca Rail train tickets, especially for popular morning departures.
- Days ahead: domestic flights (though earlier is generally cheaper), Sacred Valley tours or transport, and Aguas Calientes accommodation if staying overnight there.
For the broader Peru rail picture, including the scenic Andean Explorer, see our Peru by train guide. If you're extending the trip overland afterwards, our Cusco to Puno route guide covers the next classic leg toward Lake Titicaca, and our Cusco to Arequipa guide covers heading the other way. Our Lima to Cusco guide looks specifically at that first flight-versus-overland leg in more detail, and our Peru and Bolivia overland guide covers the wider Andean region if you're planning a longer trip.
Money-saving and comfort tips
Train fares on both PeruRail and Inca Rail follow a tiered system — the simplest tourist-class carriages cost meaningfully less than the panoramic or luxury options, and booking early tends to secure better availability across all tiers rather than necessarily a lower price, since demand is high year-round on the popular departures. If budget matters more than comfort, the standard tourist-class service is entirely adequate for the short journey and gets you there just as reliably.
Staying a night in Aguas Calientes rather than doing the whole thing as a long day trip from Cusco lets you catch an early shuttle bus before the bulk of day-tripping crowds arrive, which is worth real money in terms of a calmer, less crowded visit even if the accommodation itself is a modest added cost.
Common mistakes to avoid
The most common error is underestimating the altitude — flying straight from sea level into Cusco and attempting a full day of sightseeing or an immediate onward journey without any rest. The second is leaving train bookings too late; PeruRail and Inca Rail's best-timed departures in high season sell out weeks ahead, sometimes leaving only inconveniently early or late options for latecomers. The third is not booking the Machu Picchu entry ticket and any add-on hikes far enough ahead, since daily visitor numbers are capped and popular time slots and the Huayna Picchu permit sell out well in advance during the dry season.
Frequently asked questions
How do you get from Lima to Machu Picchu?
Fly from Lima to Cusco (about 1h20), spend time acclimatising to the altitude, then take a PeruRail or Inca Rail train from Ollantaytambo or Cusco to Aguas Calientes, followed by a short shuttle bus up to the Machu Picchu entrance.
How many days do you need for Lima to Machu Picchu?
A minimum of around 3 days works for a fly-in, train, visit, and return trip. Most travellers who want time in the Sacred Valley or are hiking should budget 4–6 days.
Is altitude sickness a serious risk in Cusco?
It can be. Cusco sits at roughly 3,400 metres, and symptoms are common in the first day or two after arriving from sea level. Rest, hydration and avoiding strenuous activity on arrival help; seek medical attention if symptoms are severe.
Do you need to book the train to Machu Picchu in advance?
Yes, strongly recommended. Both PeruRail and Inca Rail trains sell out on popular departures, especially during the May–September dry season — book as early as your dates allow.
Sources and further reading:
- Train schedules and route details: PeruRail and Inca Rail operator information.
- Altitude and health guidance: World Health Organization travel health advice, and your own government's travel advice before you go.
