Fossil taxa
Representatives of both Apioceridae and Mydidae have been flying since the diversification of angiosperms. Mydidae are known from the Santana Formation of Brazil (approximately 110 Million years ago) and putative Apioceridae are known from Baissa, Russia, and Bon-Tsagaan, Mongolia (approximately 130 Million years ago).
The oldest known Mydidae Cretomydas santanensis Willkommen & Grimaldi, 2007 (Holotype, SMNS) from the Crato Formation of Brazil (approximately 110 myo).
The extinct family taxon Protapioceridae from the Yixian Formation of China (approximately 125–121 Million years ago) are probably closely related to Apioceridae and Mydidae.
It is important to highlight that for Mydidae the oldest fossil coincides with the extant distribution of species, but the putative Apioceridae and Protapioceridae fossils have been discovered in eastern Asia where flower-loving flies do not occur at present.
