Harems could mean the entire household.
The word harem is strictly applicable to Muslim households only, but the system was common, more or less, to most ancient Oriental communities, especially where polygyny was permitted.
The Imperial Harem of the Ottoman sultan, which was also called seraglio in the West, typically housed several dozen women, including wives. It also housed the Sultan's mother, daughters and other female relatives, as well as eunuchs and slave servant girls to serve the aforementioned women. During the later periods, the sons of the Sultan also lived in the Harem until they were 16 years old, when it was considered appropriate for them to appear in the public and administrative areas of the palace. The Topkapı Harem was, in some senses, merely the private living quarters of the Sultan and his family, within the palace complex. Some women of Ottoman harem, especially wives, mothers and sisters of sultans played very important political roles in Ottoman history, and in times it was said that the empire was ruled from harem. Hürrem Sultan (wife of Süleyman The Magnificent, mother of Selim II) and Kösem Sultan (mother of Murad IV) were the two most powerful women in Ottoman history.
Moulay Ismail, Alaouite sultan of Morocco from 1672 to 1727, is said to have fathered a total of 525 sons and 342 daughters by 1703 and achieved a 700th son in 1721.He had over 500 concubines.
Outside Islamic culture
[B/]
Ancient Egyptian pharaohs are said to have made a "constant demand" of provincial governors for more beautiful servant girls.
Ashoka, the great emperor of the Mauryan Dynasty in India, kept a harem of around 500 women. Once when certain lot of these women insulted him, he had the whole lot of them burnt to death.
In Mexico, Aztec ruler Montezuma II, who met Cortes, kept 4,000 concubines; every member of the Aztec nobility was supposed to have had as many consorts as he could afford.
Harem is also the usual English translation of the Chinese language term hougong, 後宮 "the palaces behind." Hougong are large palaces for the Chinese emperor's consorts, concubines, female attendants and eunuchs. The women who lived in an emperor's hougong sometimes numbered in the thousands.
A similar institution existed among the ÅŒoku during the Edo period in Japan.