Morocco operates as a constitutional monarchy where Islam holds the position of state religion under Article 3 of the 2011 constitution. The king carries the title Commander of the Faithful, placing him as the supreme religious authority alongside his political role. This dual function means religious observance intersects with civic identity in ways that affect daily schedules, business operations, legal proceedings, and public space usage. The Ministry of Habous and Islamic Affairs oversees approximately 15,000 mosques, appoints imams, and standardizes Friday sermons, creating a centralized religious infrastructure that reaches into neighborhoods across all regions.
The five daily prayers structure time for observant Muslims, with the call to prayer broadcast from mosque loudspeakers in cities including Casablanca, Rabat, Marrakech, Fes, and Tangier. Fajr occurs before sunrise, Dhuhr at midday, Asr in the afternoon, Maghrib at sunset, and Isha after dark. Prayer times shift daily according to solar position, published in newspapers and broadcast on television. Businesses in traditional medinas often pause during prayer times, though enforcement varies by neighborhood and business type. The Hassan II Mosque in Casablanca accommodates 25,000 worshippers inside and 80,000 in its exterior grounds, making it the largest mosque in Morocco and the seventh largest globally by minaret height at 210 meters. The Koutoubia Mosque in Marrakech, completed in 1158 under the Almohad dynasty, serves as the city's central house of worship with a minaret reaching 77 meters that establishes the height limit for surrounding buildings. In Fes, the Kairaouine Mosque dates to 859 CE when it was founded by Fatima al-Fihri and accommodates 20,000 worshippers, though non-Muslims cannot enter beyond exterior courtyards, a restriction that applies to nearly all active mosques in Morocco.
Ramadan transforms daily routines for approximately 99 percent of Morocco's 37 million people who identify as Muslim according to 2020 census data. The month follows the Islamic lunar calendar, shifting 10 to 11 days earlier each Gregorian year. Fasting from dawn to sunset requires abstaining from food, water, smoking, and sexual activity, with exemptions for children, pregnant women, travelers, and those with medical conditions. Restaurants in tourist areas like Marrakech's Gueliz district and Casablanca's Maarif neighborhood remain open but often screen windows or operate discreetly. Government offices reduce hours, typically operating from 9 AM to 3 PM. The evening meal breaking the fast, called iftar, occurs at the moment of maghrib prayer, announced by sirens in some cities and cannons fired in Rabat and Fes. Harira soup appears at most iftar tables, a tomato-based soup containing lentils, chickpeas, rice or broken vermicelli, flavored with coriander and celery. Dates from the Draa Valley accompany harira based on prophetic tradition. Families purchase increased quantities of flour, oil, and sugar before Ramadan begins, causing temporary price increases of 15 to 20 percent on these staples according to consumer price tracking by Morocco's Haut-Commissariat au Plan. The predawn meal, suhoor, occurs before fajr prayer, with some neighborhoods employing a msaharati who walks streets beating a drum to wake residents, a practice still observed in the medinas of Fes and Meknes.
Friday holds special status as the day of communal prayer, with jumu'ah services occurring at midday in mosques throughout the country. Men attend in higher numbers than daily prayers, filling main mosques and overflow into street space that authorities cordon off in dense areas like the medina of Fes. The khutbah, or sermon, follows guidelines issued by the Ministry of Habous and Islamic Affairs, which distributes themes weekly to ensure doctrinal consistency and political alignment. Women attend separate prayer spaces when mosques provide them, though many mosques lack dedicated women's sections. Government offices and banks close Friday afternoons, while private businesses in medinas typically close entirely. The Mausoleum of Mohammed V in Rabat, which also houses Hassan II, permits entry to non-Muslims and attracts visitors after Friday prayers to observe the Royal Guard in ceremonial dress.
Religious holidays follow the Islamic lunar calendar and the Gregorian calendar for secular occasions. Eid al-Fitr marks the end of Ramadan with morning prayers in large mosques or outdoor prayer grounds called musallas, followed by visits to family and distribution of zakat al-fitr, a charitable donation typically equivalent to one saa of staple food, approximately 2.5 kilograms of wheat or its monetary value. The king declares the exact date after moon sighting committees from multiple cities report, usually one day before the celebration. Eid al-Adha commemorates Ibrahim's willingness to sacrifice his son with the ritual slaughter of sheep, goats, or cattle. Morocco imports approximately 4 million sheep annually in the months preceding Eid al-Adha to supplement domestic supply, as nearly every household that can afford the expense purchases an animal. Prices for rams range from 2,500 to 6,000 dirhams depending on size and breed. Urban families in Casablanca and Rabat often purchase animals days before the holiday and keep them on balconies or in ground-floor courtyards. Slaughter occurs after morning prayers, with meat distributed among family, friends, and the poor according to tradition that suggests dividing the animal into thirds. Streets in residential neighborhoods show blood residue and animal waste for days following, with municipal cleaning crews in major cities working extended shifts.
Mawlid al-Nabi, celebrating the birth of the Prophet Muhammad, occurs on the 12th day of Rabi' al-awwal. Morocco observes this as a national holiday with particular emphasis in cities holding historical religious significance. Moulay Idriss Zerhoun, a town of 12,000 residents 28 kilometers north of Meknes, hosts an annual moussem attracting tens of thousands who visit the Zaouia of Moulay Idriss I, founder of Morocco's first Islamic dynasty in 789 CE. Until 2005, non-Muslims were prohibited from staying overnight in Moulay Idriss Zerhoun, a restriction lifted to permit tourism development. Similar moussems occur throughout Morocco tied to local saints and religious figures, functioning as religious festivals combined with commercial fairs. The moussem of Moulay Abdallah in El Jadida draws horse-riding tribes for a week of fantasia performances, where riders in traditional dress fire rifles in synchronized formation. These events blend religious commemoration with cultural tradition, though religious scholars debate their orthodoxy.
Religious education begins in Quranic schools called msid or kuttab, where children as young as four learn to recite verses and memorize portions of the Quran. Public schools include Islamic education as a mandatory subject from primary through secondary levels, covering Quranic recitation, hadith, and fiqh. The University of Al Quaraouiyine in Fes, founded in 859 CE alongside the mosque, continues to operate as a religious university granting degrees in Islamic jurisprudence and theology, though it merged with the state university system in 1963. The Dar al-Hadith al-Hasaniyya in Rabat, established in 1964, trains religious scholars and imams under direct royal patronage. King Hassan II founded this institution to create a religious leadership aligned with the monarchy's interpretation of Maliki Sunni Islam, the dominant legal school in Morocco since the Idrisid dynasty.
Dress codes reflect religious interpretation with regional and generational variation. In Casablanca's central business district and coastal resort cities like Agadir, Western-style dress appears frequently among women, particularly younger professionals. In Marrakech and Fes medinas, the djellaba remains common daily wear for both men and women. The hijab covering hair appears on approximately 60 to 70 percent of women in public spaces in major cities based on observational studies, with higher percentages in smaller towns and rural areas. The niqab covering the face except eyes appears rarely, more common in communities influenced by Gulf Arab migration patterns. Morocco banned production and sale of the burqa in 2017, citing security concerns after authorities dismantled terrorist cells. The Ministry of Interior instructed merchants to cease manufacture and distribution, affecting primarily northern cities where the garment had limited use.
Alcohol occupies a legally ambiguous position. The penal code permits production and sale to non-Muslims and Muslims, but consumption by Muslims violates Islamic law, creating social rather than legal consequences. Casablanca and Rabat support numerous bars and nightclubs serving alcohol, concentrated in neighborhoods like Gauthier and the Corniche in Casablanca. Licensed shops sell wine, beer, and spirits in most cities, though they cluster in European-heritage neighborhoods and close during Ramadan. Moroccan wineries including Celliers de Meknes and Domaine du Val d'Argan produce red, white, and rosé wines marketed domestically and internationally. The vineyards around Meknes and Benslimane date to the French protectorate period when colonial settlers planted vines on 55,000 hectares. Current production covers approximately 45,000 hectares, yielding 35 million bottles annually according to 2019 agriculture ministry data. Observant Muslims abstain from alcohol entirely, and drinking during Ramadan carries particular social stigma. Tourist restaurants in Marrakech's Hivernage district and Essaouira's medina serve alcohol openly, while traditional Moroccan restaurants do not.
Gender separation in religious contexts extends beyond mosques to certain public behaviors. Men and women who are not married or closely related typically avoid physical contact in public, though enforcement depends on location and social class. Unmarried couples sharing hotel rooms face no legal barrier in tourist areas, while traditional guesthouses in smaller towns may request proof of marriage. Public displays of affection beyond hand-holding draw disapproval particularly in conservative neighborhoods, and police occasionally cite Article 483 of the penal code prohibiting public indecency, though application is inconsistent. Beaches in Agadir and Essaouira show mixed swimming and Western-style swimwear, while beaches near smaller towns expect more modest attire. Hammams, traditional bathhouses, operate separately by gender or designate different hours. The hammam practice combines cleanliness with religious purification requirements for prayer, as running water and thorough washing fulfill conditions for ritual purity. Urban hammams in Casablanca charge 10 to 20 dirhams for entry, with scrubbing services adding 50 to 100 dirhams. Rural hammams maintain communal social functions where women gather weekly, often on Thursdays before Friday prayers.
Dietary laws follow Islamic halal requirements, prohibiting pork and requiring ritual slaughter for meat. Supermarkets in major cities stock no pork products, though some specialty stores catering to foreign residents in Rabat and Casablanca maintain small selections. Alcohol and pork appear in Carrefour and Marjane hypermarket chains in dedicated sections physically separated from other goods. Morocco's Jewish community, numbering approximately 3,000 people concentrated in Casablanca, maintains kosher butchers and bakeries in the Maârif and Oasis neighborhoods. Slaughterhouses in cities including Casablanca, Rabat, and Fes employ certified halal procedures with animals slaughtered by throat-cutting while invoking Allah's name. The National Office of Sanitary Security of Food Products oversees slaughterhouse operations and certifies halal compliance for export markets. Morocco exports halal-certified meat to Gulf Arab countries and meat products to European markets requiring halal certification for Muslim consumer populations.
Religious holidays affect business operations and travel schedules significantly. Eid al-Fitr and Eid al-Adha each span multiple days with government offices closed for three to four days and private businesses often closed for a week. Transportation systems experience capacity strain as urban residents travel to family homes in smaller cities and villages. CTM bus company and ONCF rail services add coaches and impose advance booking requirements during these periods. The Casablanca-Marrakech train route, normally operating hourly, increases frequency but still sells out days in advance during major holidays. Domestic flights between Casablanca and cities including Agadir, Oujda, and Tangier operate at full capacity with prices increasing 40 to 60 percent above standard rates. Hotels in tourist cities like Marrakech and Essaouira fill with Moroccan families during religious holidays, reducing availability for international tourists and raising rates 20 to 30 percent.
Religious authority in Morocco centralizes through the monarchy's position as Commander of the Faithful, but Sufi orders called tariqas maintain parallel influence. The Tijaniyya, Qadiriyya, and Boutchichiyya orders operate zaouias serving as centers for spiritual practice and community gathering. The Boutchichiyya tariqa, based in Madagh village near Berkane in northeastern Morocco, draws tens of thousands to annual gatherings where adherents seek spiritual guidance from the order's sheikh. These Sufi practices include dhikr, rhythmic invocation of Allah's names through repetitive chanting and movement, considered by some conservative religious scholars as innovation not supported by early Islamic practice. King Mohammed VI maintains relationships with major Sufi leaders while the Ministry of Habous and Islamic Affairs attempts to regulate zaouias to prevent political mobilization outside state control. The 2004 terrorist attacks in Casablanca killing 33 people prompted increased government oversight of religious institutions, including imam training, mosque construction permits, and Friday sermon content.
The Higher Council of Ulema, established in 2004 and chaired by the king, issues religious guidance on contemporary questions. This council declared in 2016 that organ donation complies with Islamic principles when voluntary and intended to save lives, reversing previous ambiguity that hindered Morocco's transplant program. The council addresses questions about financial products, medical procedures, and social practices, providing religious legitimacy for policy initiatives. Regional councils of ulema operate in each of Morocco's twelve regions, creating a hierarchical system of religious authority emanating from the monarchy. This structure aims to prevent independent religious authorities from challenging state power or promoting interpretations the government considers extremist.
Morocco trains male and female religious guides called murshidat and murshidin, a program launched in 2006 to promote moderate Islamic interpretation and counter extremist ideology. The murshidat, numbering over 500 by 2020, receive training in Islamic theology, psychology, and sociology before deployment to mosques and community centers. They lead religious education sessions, provide counsel to families, and deliver religious messages aligned with the government's interpretation of tolerant Islam. Morocco exports this model to other countries including Mali and Tunisia, positioning itself as a center for moderate Islamic scholarship. The murshidat program particularly emphasizes women's roles in religious education, though debate continues about whether women can serve as imams leading mixed-gender prayers. Current practice limits murshidat to education and counseling rather than leading formal prayers.
Religious minorities practice with official recognition and legal protections, though Islam's position as state religion creates structural privileges. Morocco's constitution recognizes the Jewish community as an integral part of Moroccan identity, a unique provision in North African constitutions. Jewish Moroccans maintain synagogues in Casablanca, Marrakech, Fes, and smaller communities. The Beth-El Synagogue in Casablanca, built in 1948, serves the city's Jewish population estimated at 2,500 people. The mellah, traditional Jewish quarters, exist in cities including Fes and Marrakech, though most Jewish residents have moved to modern neighborhoods. Morocco's Jewish population numbered approximately 250,000 in 1948 before migration to Israel, France, and other countries reduced the community to current levels. The annual hiloula pilgrimage to the tomb of Rabbi Yoseph Ben Mamon near Ouarzazate attracts Jewish visitors from Israel and France, with the government providing security and logistical support.
Christianity in Morocco exists primarily among foreign residents and a small number of Moroccan converts. The Catholic Church maintains a presence dating to the French protectorate period, with the Cathedral of the Sacred Heart in Casablanca serving as the seat of the Archdiocese of Rabat. Built in 1930, the cathedral ceased regular services in 1956 after independence but reopened for religious events in recent years. Protestant churches operate in major cities serving expatriate communities, meeting in rented facilities rather than purpose-built churches. Moroccan citizens converting from Islam to Christianity face social ostracism and family pressure, though no law explicitly criminalizes apostasy. Article 220 of the penal code prohibits shaking the faith of a Muslim or converting them to another religion, with penalties up to three years imprisonment, effectively criminalizing proselytization. This law sees selective enforcement, primarily against organized missionary activity rather than individual religious practice. The Moroccan Christian community estimates its size at 2,000 to 8,000 believers, though figures vary widely and many conceal their faith from extended family and employers.