Islam is the dominantreligion in Tunisia. According to the United States CIA, 99.1% of its adherents areSunni Muslims.[1][2] The constitution of Tunisia states that the country's “religion is Islam”, the government is the “guardian of religion”, and requires that the president be Muslim.[1] However, since 2022 The constitution of Tunisia does not state that the country's "religion is Islam". Instead, it says that the country is part of the Islamic world and that the government protects the interests of Islam and requires that the president be Muslim.[3] The predominantmadhhab in the country is theMaliki. The Tunisian island ofDjerba is home to a population ofIbadi Muslims.
The majority of Muslims in Tunisia areSunni, following theMalikimadhhab. However, there are no reliable statistics on relative religiosity.[2] VariousSufiorders are influential to Islamic practice in Tunisia - particularly theShadhili Order, which is significant across North Africa.
The January 2014 Constitution states the country's “religion is Islam.” It designates the government as the “guardian of religion” and requires that the president be Muslim.[1] The constitution guarantees freedom of belief, conscience, and exercise of religious practices, and the neutrality of mosques and houses of worship from partisan exploitation.[1] It stipulates the state's commitment to disseminate the values of moderation and tolerance, protect holy sites, and preventtakfir (Muslim accusations of apostasy against other Muslims).[1] The constitution admits the possibility of restrictions on religious freedom, giving general reasons for this as protecting the rights of third parties, national defense, and public security, morality, and health.[1]
Thegovernment controls and subsidizesmosques and pays the salaries of prayer leaders.[1] ThePresident appoints theGrand Mufti of the Republic.Fourreligious holidays are included among the national holidays in Tunisia:Eid al-Adha,Eid al-Fitr,Muharram, andMawlid.[4]
Islamic religious education is mandatory inpublic schools, but the religious curriculum for secondary school students also includes the history ofJudaism andChristianity from the Islamic perspective and sources. The Zeitouna Koranic School is part of the Government's national university system.
Generally, Shari'a-based interpretation of civil law is applied only in some family cases. Some families avoid the effects of Shari'a on inheritance by executing sales contracts between parents and children to ensure that sons and daughters receive equal shares of property.[5]
According to the US State Department's International Religious Freedom Report, there have been some reports as of 2004 that the married interfaith couples to register the birth of their children and receive birth certificates if the mother was Christian and the father was Muslim and the parents tried to give their children non-Muslim names.[2]
Shi'ites in Tunisia have publicly disassociated themselves with the government in Tehran though.[6]
The area that is now Tunisia came under the rule of Islam during theUmayyad Caliphate, (661–750/A.H.).[7]
The Umayyads founded the first Islamic city in North Africa,Kairouan where in 670 AD that theMosque of Uqba, or the Great Mosque of Kairouan, was constructed;.[8] This mosque is the oldest and most prestigious sanctuary in the Muslim West with the oldest standingminaret in the world;[9] it is also considered a masterpiece of Islamic art and architecture.[10] Zitouna mosque-university, was created around 703 AD, and became the center of Tunisia's Islamic scholarship and preaching.[11]
The Muslim Arab governors of Tunis founded theAghlabid Dynasty, which ruled Tunisia,Tripolitania and eastern Algeria from 800 to 909.[12] Its capital Kairuan became the most important centre of learning in the Maghreb, most notably in the field of Theology and Law.[13]

Tunisia was influenced more heavily by Europe during the colonial era (it was a French protectorate and in 1945 had 144,000 colonialists living in it) and is considered the most westernized of Muslim North African states.[14] Its first president,Habib Bourguiba, was committed to secularism,[15]and dismantledUniversity of Ez-Zitouna, replacing it with a faculty of Shari`a and Theology[11] attached to the Tunis University in 1958.[16] A Personal Status Code made law in 1956 prohibited polygamy, raised the age of marriage for girls to 17 years of age, made it easier for women to get a divorce, and banned forced marriages for minor girls.[17] He also named a Grand Mufti of the Republic.[16]
His successor,Zine El Abidine Ben Ali (1987–2011), created a Higher Islamic Council.[16] He required that imams of mosques be appointed by the Ministry of Religious Affairs. The ministry often appointed members of the rulingDemocratic Constitutional Rally party, which also controlled the content of prayer services.[11] A law passed in 1988 forbid all activities and meetings in mosques by people other than those appointed by the state.[18]
In 2004, the US State Department reported that people were sometimes interrogated just for associating or being seen in the street with practising Muslims. The government allowed the construction of mosques provided they were built in accordance with national urban planning regulations, but upon completion, they became the property of the Government.[2] There were also frequent reports that police sometimes harassed or detained men with beards whom the Government suspected because of their "Islamic" appearance.[19]
The fall of the Ben Ali regime has loosened religion repression and brought more religious conservatism, and sometimes more extremism. The 1988 law banning non-state approved activities and meetings at mosques was discontinued allowing much longer hours of operation.For some months after Ben Ali's overthrow in the 2010–2011Tunisian Revolution, many of the imams his regime had appointed were replaced, "often by violent Islamists", accused of having collaborated with the old regime. By October 2011, the Ministry of Religious Affairs announced that it had lost control of about 400 mosques.[11] (Another indication of the ascendance of conservative Islam was the large plurality the IslamistEnnahda party won in the 2011Constituent Assembly election.)[20]
In March 2013, the minister of religious affairs at the time, Nourredine Khademi, called upon Tunisians to fight jihad in Syria.[21] As of early 2015 about 3,000 Tunisians are believed to have gone to fight in Syria.[22] Calls came for legalization of polygamy, from Commission for the Promotion of Virtue and Prevention of Vice[17] A new mufti appointed in 2013, (Hamda Saïd) was known to have supported polygamous marriage.[11][23]
In August 2013, the Tunisian government declaredAnsar al-Shari`a an illegal terrorist organization following its alleged involvement in the political assassinations of secularist politiciansChokri Belaid andMohamed Brahmi in 2013.[11]
Following an Islamist attack on July 16, 2014 killing 12 army soldiers, the prime minister's office created a “crisis unit” to coordinate efforts to combat terrorism.[1] Shortly thereafter, the ministry closed two religious radio stations and one television channel it accused of spreading hate speech and advocating violence, and 157 associations—mostly Islamic—because of alleged links with terrorism and incitement to violence.[1] (Human Rights Watch called these suspensions disproportionate and arbitrary.)[1] Islamist Attacks on tourists (over 60 civilians, mostly tourists, werekilled in 2015 by jihadis),[Note 1] devastating Tunisia's tourist industry.[20]
In December 2014 the Ministry of Religious Affairs announced it had re-asserted state control over all mosques in Tunisia and in cooperation with civil society organizations, trained imams in moderate discourse when delivering sermons.[1] But, at least as of 2014, the content of prayer services is not controlled by government authorities.[11]
In 2017 a handful of men were arrested for eating in public during Ramadan, they were convicted of committing “a provocative act of public indecency” and sentenced to month-long jail sentences. The state in Tunisia has a role as a "guardian of religion" which was used to justify the arrests.[25]
Since 2017, Tunisian Muslim women can legally and officially marry non-Muslim men.[26]
In June 2022, PresidentKais Saied said that the Tunisian draft constitution, which will be put to areferendum on July 25, will not describe Tunisia as "a state with Islam as its religion, but of belonging to anummah (community) which has Islam as its religion."[27]