In nineteenth-century Egypt Circassian females were mostly kept in the harems of wealthy Turks, the concubines of ‘middle class’ Egyptians generally were Abyssinians, while male and female Negro slaves were used for domestic service by almost all layers of Egyptian society. In addition to domestic service, black slaves were used as soldiers by Egypt's rulers and, contrary to the prevalent assumption, as agricultural workers on the farms of the Muḥammad Alī family and elsewhere in Upper Egypt and during periods of prosperity and shortage of labour also in Lower Egypt. Apparently there were at least 30,000 slaves in Egypt at different times of the nineteenth century, and probably many more.
White slaves were brought to Egypt from the eastern coast of the Black Sea and from the Circassian settlements of Anatolia via Istanbul. Brown and black slaves were brought (a) from Darfur to Asyūṭ, directly or through Kordofan; (b) from Sennar to Isnā; (c) from the area of the White Nile; (d) from Bornu and Wadāy via Libya and the Western Desert; (e) from Abyssinia and the East African coast through the Red Sea. The slave dealers in Egypt were mainly people from Upper Egypt and the Oases, beduin and villagers of the Buḥayra province. They were divided into dealers in black and in white slaves and organized in a guild with a shaykh. Cairo was the great depot of slaves and the centre of the trade, but a very important occasion for trading in slaves was the annual mawlid of Ṭanṭā.
Official measures taken against the slave-trade were among the important causes for the final disappearance of slavery in Egypt. These were, amongst others, the appointment of foreigners, mainly British, as governors of the Sudan and commanders of special missions to suppress the trade; two Anglo-Egyptian conventions, of 1877 and of 1895, for the suppression of slavery; and, from 1877 on, the establishment of offices and later a special service for the fight against the trade and for the manumission of slaves. However, were it not for the internal development of Egyptian society, these measures could never have succeeded; this is illustrated by the tremendous obstacles they encountered and their ineffectiveness for a long time. During the last two decades of the nineteenth century most of these impediments vanished. In addition to the Mahdist revolution and the reconquest of the Sudan, the most important change was the emergence of a free labour market as a result of accelerated urbanization and the collapse of the guild system. At the same time a small but important section of Egyptians had changed their attitudes towards slavery as a result of their cultural contact with Europe.