Zag (prounouced Ezzag) (Arabic: الزاك (az-Zāq)), is a town in southern Morocco, in the Assa-Zag province of the Guelmim-Es Semara region. It lies to the south of the town of Assa and is the last settlement on the road south from there until Western Sahara. According to the 2004 census Zag had a population of 7,751, the second-highest in the province behind Assa and the eighth-highest in the region.