information:highlighting
Religious ideology

Historically, Al-Azhar had a membership that represented diverse opinions within Islam. The theological schools of al- Ash'ari and al- Maturidi were both represented. It has a long tradition of teaching all four schools of Sunni Islamic jurisprudence (Hanafi, Maliki, Shafi, and Hanbali). The chief mufti of each school of thought acted as the dean, responsible for the teachers and students in that group. During the time of the Ottomans, the Hanafi dean came to hold a position as primus inter pares. It also had membership from the seven main Sufi orders. Al-Azhar has had an antagonistic relationship with Wahhabism. According to a 2011 report issued by the Carnegie Endowment for International Peace, Al Azhar is strongly Sufi in character:

Adherence to a Sufi order has long been standard for both professors and students in the al-Azhar mosque and university system. Although al-Azhar is not monolithic, its identity has been strongly associated with Sufism. The current Shaykh al-Azhar (rector of the school), Ahmed el-Tayeb, is a hereditary Sufi shaykh from Upper Egypt who has recently expressed his support for the formation of a world Sufi league; the former Grand Mufti of Egypt and senior al-Azhar scholar Ali Gomaa is also a highly respected Sufi master.

However, in the early 20th century, enlightened Modernist thinkers such as Muhammad Abduh led a reform of the curriculum, reintroducing a desire for legal reform through ijtihad. Subsequently, disputes were had between modernist intellectuals and traditionalists within al-Azhar. Al-Azhar now maintains a modernist position, advocating "Wasatiyya" (centrism), a reaction against the extreme textualism of many Wahhabi Salafi ideologues. Wasatiyya covers a range of thinkers, some of whom are liberal intellectuals with religious inclinations, preachers such as Yusuf al-Qaradawi and many members of the Muslim Brotherhood. Since the 2013 coup however, Al-Azhar has taken a position against the brotherhood.

The nineteenth and current Grand Mufti of Egypt and Al Azhar scholar, is Shawki Ibrahim Abdel-Karim Allam. The university is opposed to overt liberal reform of Islam and issued a fatwa against the liberal Ibn Rushd-Goethe mosque in Berlin because it banned face-covering veils such as burqa and niqab on its premises while allowing women and men to pray together. The fatwa encompassed all present and future liberal mosques.