Across the early modern Islamicate world, the phenomenon of eunuch slavery constitutes a significant aspect of courtly contexts and royal households. Although Mughal historiography has focused on the eunuch primarily in relation to the harem, this article analyses the function of such figures in regulating elite male space, in order to explore how these practices shaped both the representation of courtly life as well as the dynamics animating the Mughal court and the inner palace. As is shown in both textual and visual materials, enslaved, castrated men appear as figures both marking and mediating the perimeters of such spaces. In the process they played an important part in the spatial formation of access, intimacy, and hierarchical relations. However, their formative role in mediating elite social interactions at times entangled eunuchs in political conflict. The article concludes with an examination of a particularly dense archive of evidence from the reign of Aurangzeb dealing with royal princes. This material underlines the sometimes-precarious situation of eunuchs in moments of intrafamilial struggle, a fact which suggests the complicated reality of these kinds of intimate roles not only in Mughal princely households but wherever they took on such proximate positions.