Situated in the city's old medina, the Grand Mosque of Tangier, also known as the Great Mosque of Tanger, was built in the 8th century. Inside the mosque is a prayer hall, and a courtyard with a fountain. The mosque combines elements of Moroccan and Andalusian design. Open to visitors, non-Muslims are not allowed to enter the mosque during prayer times.
The Grand Mosque was transformed twice into a mosque from a church once during the Arab conquest of Tangier and the second when Moulay Ismail conquered the city. In addition, the mosque has been a consecrated landmark since the 5th century AD. Architectural changes to the mosque were made in 1815 by Sultan Suleiman, and it was later expanded and restored in 1996 and 2001 respectively. There are several minarets in Tangier but one of the longest is that of the Grand Mosque. This minaret piercing through the skyline can be distinctively seen as some parts of it are covered in green and orange ceramics.