Family Ulidiidae
Most ulidiids are saprophagous; the species are associated with decaying plant matter develop in tissues damaged by other insects or occur under the bark of fallen trees, palms, cacti, stems of tall grasses, in roots, bulbs and onions of Apiaceae and Alliaceae, and rotting stems of parasitic Orobanchaceae (Kameneva & Barraclough 2021) . Adults are attracted to compost, dung, bird droppings and carrion (Krivosheina & Krivosheina 1997).
The family is known from North Africa with 21 species, 14 of which occur in Morocco. TheŃ belong to two subfamilies, Otitinae (tribes Myennidini and Otitini) with 6 genera and 10 species and Ulidiinae (tribe Ulidiini) with 3 genera and 11 species (Morgulis & Freidberg 2014; El-Hawagry 2017; Kettani et al. 2022).