House flies, Musca domestica, utilize ephemeral resources such as animal feces for oviposition and development of larval offspring, but they face competition with fungi that colonize the same resource. We predicted that house flies avoid oviposition on feces well-colonized with fungi, thereby reducing fungal competition for larval offspring. Working with fungal isolates from chicken feces, we have previously shown that prior establishment of Phoma spp., Fusarium spp., or Rhizopus spp. on feces significantly reduced oviposition by house flies. Here, we report that, in the headspace volatiles of these three fungal genera, five compounds (dimethyl trisulfide, an unknown, 2-phenylethanol, citronellal, norphytone) elicit responses from house fly antennae. In behavioral bioassays, dimethyl trisulfide and 2-phenylethanol significantly reduced oviposition by house flies. We conclude that fungus-derived volatiles serve as semiochemical cues that help house flies avoid resources colonized with fungal competitors for the development of larval offspring.