Cajamarca is the best place to stay if you want to explore the lovely landscape and rich history of the northern highlands; from here there are a number of daylong excursions to nearby ruins and hot springs.
The largest city in the northern highlands, it's a tranquil town of more than 150,000 people. It sits in a large green valley surrounded by low hills. The name Cajamarca means "village of lightning" in the Aymara language. It's fitting, for the ancient Cajamarcans worshipped the god Catequil, whose power was symbolized by a bolt of lightning. The area around town was first populated by the Cajamarcan people 3,000 years ago, whose major cultural influence came from the cat-worshipping Chavín. The Incas conquered the region in about 1460, assimilating the Chavín culture. Cajamarca soon became an important town along the Capac Ñan or Royal Inca Road.
The arrival of the Spanish conquistador Pizarro and his quick-witted defeat of the Incas soon brought the city and much of the region into Spanish hands. Few Inca ruins remain in modern-day Cajamarca; the settlers dismantled many of the existing structures to build the churches that can be seen today. The town's colonial center is so well preserved that it was declared a Historic and Cultural Patrimony Site by the Organization of American States in 1986.
Most places are within walking distance, but taxis are abundant if you feel a little breathless from the altitude or want to go somewhere a little outside of the city center. If you like your taxi driver, arrange a pickup another day. For major exploration outside of the city, the best option is to join a tour for the day. Cajamarca is 2,650 meters (8,612 feet) above sea level. Although not very high by Andes standards, it's still quite high. Take your time, wear sunscreen, and drink plenty of water to avoid altitude sickness.