 They are generally found in the damp habitats favoured by their host fungi and sometimes form dense swarms.Adults of this family can usually be separated from other small flies by the strongly humped thorax, well-developed coxae, and often spinose legs, but identification within the family between genera and species generally requires close study of microscopic features such as subtle differences in wing venation and variation in chaetotaxy and genitalia.The terrestrial larvae usually feed on fungi, especially the fruiting bodies, but also spores and hyphae, but some species have been recorded on mosses and liverworts.