Rissani is a town in eastern Morocco, located near Erfoud. It is in the region of Er-Rachidia, and is the closest town of significant size to the Erg Chebbi, the largest sand desert in Morocco. Its population in 2004 was 20,469. The mausoleum of the founder of the Alaouite Dynasty of Morocco, Moulay Ali Cherif, is located on the southern edge of town. Rissani is the ancient capital of Tafilalet. Its location as a crossroads between north and south gave the city a certain importance in previous times.