The larvae develop in rotting organic matter such as mushrooms and bracket fungi, droppings, carrion, etc. The adults are mainly found in moist, shaded places in woodland areas, usually on putrefying matter, including carrion, decaying mushrooms, excrement and tree sap.