This study aimed to address the increasing demand for technologies preventing mushroom fly damage. By monitoring the annual occurrence patterns of pests over several years and accumulating data, we conducted an analysis to evaluate the efficacy of preventive measures applied before the surge in mushroom fly infestation, typically observed in May. For preemptive control, physical measures involved installing air curtains at cultivation facility entrances and placing sticky traps and insect traps around entry points to block external entry and reduce internal insect density. Additionally, we applied an organic agricultural material, Dalmatian chrysanthemum extract, weekly alongside chemical control measures. To assess the reduction in mushroom fly populations, yellow sticky traps (15×25 cm) were placed at three locations within the mushroom cultivation facility, and the occurrence patterns before and after implementing preventive measures were compared. Compared to conventional practices, the application of preventive techniques resulted in a significant reduction, with a 60% decrease from 15 levels of mushroom flies/m² to 6 levels of mushroom flies/m² in May and a 40% decrease from 10 levels of mushroom flies/m² to 6 levels of mushroom flies/m² in June. While achieving over 50% efficacy during the peak mushroom fly season with preventive measures, we identified complementary actions such as blocking external sources (gaps in cultivation facility doors) and maintaining cleanliness around cultivation facilities (proper disposal of spent substrate) for further improvement. Comprehensive analysis and safety studies, including correlation analysis with contaminants and pathogens, are recommended to ensure the widespread adoption of mushroom fly preventive techniques for safe and stable mushroom production in the agricultural sector.