Chefchaouen is a city in northwest Morocco. It is the chief town of the province of the same name, and is noted for its buildings in shades of blue. Chefchaouen is situated just inland from Tangier and Tétouan.
It was founded as a military outpost shortly before the Spanish Reconquista of Granada, and its population grew quickly with Muslim and Jewish immigrants fleeing from Spain. The economy is based on a traditional agro-pastoral system with olive and fig plantations; numerous water mills for grinding grain and olives; a handicrafts sector focusing on leather, iron, textiles and carpentry; and summer-dominated tourism.