Ksar or qṣar (Arabic: قصر, romanized: qṣar), in plural ksour or qsour (Arabic: قصور, romanized: qṣur), is a type of fortified village in North Africa, usually found in the regions predominantly or traditionally inhabited by Berbers (Amazigh).
[1][2] The equivalent Berber term used is ighrem (singular) or igherman (plural).
[3][1] Ksour in the Maghreb typically consist of attached houses, often having a fortified communal granary like those in Algeria, or the ghorfa and agadir types known in Tunisia and Morocco respectively, beside other structures like a mosque, hammam, oven, and shops.
Ksur or igherman are widespread among the oasis populations of North Africa.
Ksars are sometimes situated in mountain locations to make defense easier; they often are entirely within a single, continuous wall.