Ollantaytambo werd gebouwd in de 15e eeuw en was het koninklijke landgoed van keizer Pachacuti die de regio veroverde en er de stad en een ceremonieel centrum bouwde. Ten tijde van de Spaanse verovering van Peru diende het als bolwerk van Yupanqui, de leider van het Inca-verzet.
Ollantaytambo was built in the 15th century and was the royal estate of Emperor Pachacuti who conquered the region, built the town and a ceremonial center. At the time of the Spanish conquest of Peru it served as a stronghold for Yupanqui, leader of the Inca resistance.