Aculeate Hymenoptera provision their progeny with large amounts of food. To protect their investment against brood parasites, females of many bee and wasp species construct brood cells that are hard to penetrate when finally sealed. However, the sealed brood cells also pose a problem for parasites that oviposit in the brood cell during provisioning. Brood parasites are smaller than their host and may lack strong mandibles to break through the solid brood cell walls. Furthermore, in nests built in existing cavities, newly-eclosed brood parasites need information about the location of the nest entrance. In the present study, the mechanisms of emergence are investigated in Cacoxenus indagator Loew (Diptera, Drosophilidae), the major cleptoparasite in nests of the red Mason bee Osmia bicornis L. (Hymenoptera, Megachilidae). Larvae of C. indagator move to brood cells closer to the nest entrance and sometimes make small emergence holes in the final closure of the nest entrance. Nevertheless, approximately one-third of newly-eclosed flies orientate and break through at least one intact cell partition to emerge. Flies make most of their attempts to emerge at the correct side (i.e. the one pointing to the nest entrance, probably by using the shape of the cell partition as a cue). Newly-eclosed flies use their head blister (ptilinum) to exert hydraulic pressure on particles of the cell partitions and produce small holes. Thus, C. indagator exhibits a set of behavioural and physiological adaptations enabling them to successfully emerge even from closed brood cells of their host.