Electron transfer flavoprotein (ETF) plays an important function in fatty acid beta oxidation and the amino acid metabolic pathway. It can provide pathogenicity to some opportunistic fungi via modulating cellular metabolite composition. Arthrobotrys oligospora is a typical invasion fungus to nematodes. Its ETF characterization is still unknown. Here, we showed that the mutations of A. oligospora ETF (Aoetfα and Aoetfβ) and its dehydrogenase (Aoetfdh) led to severe defects in mitochondrial integrity and blocked fatty acid metabolism. The pathogenicity-associated trap structures were completely suppressed when exposed to nematode-derived ascarosides and nutrition signals, including ammonia and urea. Compared to the wild-type strain, the nematode predatory activity was significantly reduced and delayed. But surprisingly, the rich nutrition could restore the massive trap and robust predatory activity in the mutant Aoetfβ beyond all induction cues. Moreover, the deletion of Aoetfβ has led to the accumulation of butyrate-like smell, which has a strong attraction to Caenorhabditis elegans nematodes. Ultimately, ETF and its dehydrogenase play a crucial role in nematode-trapping fungi, highlighting mitochondrial metabolite fluctuations that are connected to pathogenesis and further regulating the interactions between fungi and nematodes.