Strongly associated with dead wood in deciduous forests in a sunny and warm habitat.
The adults visit flowers for pollen and nectar, especially Crataegus sp., Cornus sp. and flowers of the Apiaceae family.
The larvae develop in dry dead wood of many deciduous trees and shrubs, such as Acer sp., Betula sp., Corylus sp., Crataegus sp., Fagus sp., Malus sp., Prunus sp., Quercus sp., Sambucus sp., Tilia sp. …