Islam mainly arrived to Albania during the Ottoman period when the majority of Albanians over time embraced Islam and in particular to two of its denominations: Sunni and Bektashi (Shia). Following the Albanian National Awakening (Rilindja) tenets and the deemphasizing of religion during the 20th century, the democratic, monarchic and later the communist governments followed a systematic dereligionization of the Albanian nation and national culture. Due to this policy as with all other faiths in the country, Islam underwent radical changes. Decades of state atheism which ended in 1991 brought a decline in religious practice in all traditions. The post-communist period and the lifting of legal and other government restrictions on religion allowed Islam in Albania to revive through institutions that generated new infrastructure, literature, educational facilities, international transnational links and other social activities. According to 2011 census, 58.79% of Albania's population adheres to Islam, making it the largest religion in the country. Due to the communist legacy of religious persecution contemporary Muslim Albanians in Albania are cultural Muslims with religious Muslim practices being minimal for most people. The remaining population either belongs to Christianity, which is the second largest religion in the country practiced by 16.99% of the population, or is irreligious.
Albania first came into contact with Islam in the 9th century when Muslim Arabs raided the eastern Adriatic. Islam was first introduced to Albania in the 15th century after the Ottoman conquest of the area. During the 17th and 18th century Albanians in large numbers converted to Islam, often to escape higher taxes levied on Christian subjects. As Muslims, some Albanians attained important political and military positions within the Ottoman Empire and culturally contributed to the wider Muslim world.