In the Ottoman Empire, women enjoyed a diverse range of rights and were limited in diverse ways depending on the time period, as well as their religion and class. The empire, first as a Turkoman beylik, and then a multi-ethnic, multi-religious empire, was ruled in accordance to the qanun, the semi-secular body of law enacted by Ottoman sultans. Furthermore, the relevant religious scriptures of its many confessional communities played a major role in the legal system, for the majority of Ottoman women, these were the Quran and Hadith as interpreted by Islamic jurists, often termed sharia. Most Ottoman women were permitted to participate in the legal system, purchase and sell property, inherit and bequeath wealth, and participate in other financial activities, rights which were unusual in the rest of Europe until the 19th century.
Women's social life was often one of relative seclusion. The extent of seclusion changed, sometimes drastically, depending on class. Urban women lived in some amount of sex segregation during most of the empire's history, as many social gatherings were segregated, and many upper-class urban women veiled in public areas; rural women, on the other hand, often did not have the same restrictions placed on them. Veiling and sex segregation customs were therefore seen as a sign of status, privilege and class until Westernization; afterwards, it was seen as a sign of Ottoman and Islamic values.