A mandatory point to visit on your way to Machu Picchu is the town of Ollantaytambo, located about 90 km northwest of the city of Cusco, it is the only Inca city in Peru that still preserves its streets intact, the beauty of this town is magical since it is a living example of a perfect urban plan made by the Incas, with a main square surrounded by streets and water channels that continue to flow from that time.
According to the chroniclers, the Inca Emperor Pachacutec conquered and destroyed Ollantaytambo and then incorporated it into his empire. Under the government of the Incas, the town was rebuilt with splendid buildings and the valley of the Urubamba River was irrigated and provided with platforms; the town served as a shelter for the Inca nobility. Its beautiful cobbled streets, and its agricultural areas are unmissable attractions for tourists as it is one of the most monumental archaeological complexes of the Inca Empire.
If you want to spend more time in Ollantaytambo, there are many alternatives of hotels that you can choose, at least to spend a night there, and thus, early in the morning of the next day, you can take the first train that leaves at 05:05 a.m. and be able to enjoy your main goal, which is Machu Picchu.
Hierba Buena Tours created for you a perfect 2-day tour to enjoy the Sacred Valley of the Incas, spend a night in Ollantaytambo and a day in Machu Picchu: https://www.ollantaytambo.org/en/ollantaytambo-and-machu-picchu