Taza is located in north-central Morocco, in the south of the Rif region right outside the mountain range on a narrow plain. The city is composed of two formerly separate towns built on separate terraces overlooking a mountain valley. The old-Taza town is at an elevation of 1,919 feet (585 m) above sea level and is surrounded by fortifications; the newer town, established by the French in 1920, is located in a fertile plain at an elevation of 1,460 feet (445 m). Fossil remains indicate that caves in the area were inhabited as early as the Paleolithic Period. One of the most important caves in Morocco, Rhar Chara, is close to Taza. This cave is over 7.6 kilometres long.
The city is located in a mountain pass known as the "Taza Gap", where the Rif mountains and the Middle-Atlas range come together. Through this pass successive waves of invaders moved westward onto the Atlantic coastal plains of northwestern Africa. Taza was first settled by Miknasa tribesmen, who gave it its name: Miknasa Taza, similar to Miknasa al-Zeitoun (present-day Meknes, another Miknasa settlement). The Almoravid empire took over Taza in 1074. They were replaced by the Almohad empire in 1132. In 1248 the city was captured by the Marinids. Although Taza barred the route of Turks from Algiers seeking conquest in what is now Morocco, it fell to the French in 1914. The old town has barbican monuments, mosques, and a 14th-century mderasa (Coranic school). Population in 1982 stood at 77,216. Population now estimated about 300,000.