Loja is in the bottom of the broad glacial Cuxibamba valley. It lies between the humid Amazon Basin and the Peruvian sechura, and is composed mainly of paramo, cloud-forest, and jungle. The valley borders the Podocarpus National Park, which is a massive cloud-forest reserve accessible through the Cajanuma gates just minutes outside the city. The Rio Zamora and Rio Malacatos flow through the city of Loja.