The maze-like medina sector, like those of most of the other towns in the area, features white-washed buildings with a fusion of Spanish and Moorish architecture. The brilliantly blue walls, however, seem to be unique to Chefchaouen. They are said to have been introduced to the town by Jewish refugees in 1930, who considered blue to symbolize the sky and heaven. The color caught on, and now many also believe that the blue walls serve to repel mosquitoes as well (mosquitoes dislike clear and moving water).
Whatever the reason, the town’s blue walls attract visitors who love to wander the town’s narrow streets and snap some beautiful photos."