Islam in Spain has had a fundamental presence in the culture and history of the nation. The religion was present in modern Spanish soil from 711 until 1492 under the rule of the Arabs and Moors of al-Andalus. For key historical dates, see Timeline of the Muslim presence in the Iberian peninsula. As of 2007, an estimated over 1 million Muslims live in Spain, most of them recent immigrants from North Africa, Middle East, and South Asia; although there is a sizable number of converts numbering at 20,000. The first Mosque after the Moors were expelled in 1492, in modern Spain, was built after approximately 500 years.

In recent decades, immigration has resulted in a resurgence in the presence of Islam, with over one million Muslims currently residing in Spain, of which the majority are Moroccans and Spaniards represented by the Islamic Commission of Spain. Many Muslims include those from other neighboring African countries (Mostly Morocco), Syrians, Lebanese, Iraqis, Iranians, Indians and Pakistanis.

There is a sizable number of converts to Islam numbering at 20,000 from the total of one million. Many converts to Islam reside in the southern Andalusia region and have opened Muslim learning centers drawing visitors from across Europe, Canada and the United States.

Community content is available under CC-BY-SA unless otherwise noted.