Islam is the second-largest religion in the United Kingdom, with results from the 2021 Census recording just under four million Muslims, or 6.0% of the total population in the United Kingdom. London has the largest population and greatest proportion (15%) of Muslims in the country. The vast majority of British Muslims in the United Kingdom adhere to Sunni Islam, while smaller numbers are associated with Shia Islam.
During the Middle Ages, there was some general cultural exchange between Christendom and the Islamic world. Nonetheless, there were no Muslims in the British Isles; however, a few Crusaders did convert in the East, such as Robert of St. Albans. During the Elizabethan age, contacts became more explicit as the Tudors made alliances against Catholic Habsburg Spain, including with the Ottoman Empire. As the British Empire grew, particularly in India, Britain came to rule territories with many Muslim inhabitants; some of these, known as the lascars, are known to have settled in Britain from the mid-18th century onwards. In the 19th century, Victorian Orientalism spurred an interest in Islam and some British people, including aristocrats, converted to Islam. Marmaduke Pickthall, an English writer and novelist, and a convert to Islam, provided the first complete English-language translation of the Qur'an by a British Muslim in 1930. Under the British Indian Army, a significant number of Muslims fought for the United Kingdom during the First and the Second World Wars (a number of whom were awarded the Victoria Cross, Britain's highest honour). In the decades following the latter conflict and the partition of India in 1947, many Muslims (from what is today Bangladesh, India and Pakistan) settled in Britain itself.