BackgroundNematode-trapping fungi are soil-living fungi that capture and kill nematodes using special hyphal structures called traps. They display a large diversity of trapping mechanisms and differ in their host preferences. To provide insights into the genetic basis for this variation, we compared the transcriptome expressed by three species of nematode-trapping fungi (Arthrobotrys oligospora, Monacrosporium cionopagum and Arthrobotrys dactyloides, which use adhesive nets, adhesive branches or constricting rings, respectively, to trap nematodes) during infection of two different plant-pathogenic nematode hosts (the root knot nematode Meloidogyne hapla and the sugar beet cyst nematode Heterodera schachtii).ResultsThe divergence in gene expression between the fungi was significantly larger than that related to the nematode species being infected. Transcripts predicted to encode secreted proteins and proteins with unknown function (orphans) were overrepresented among the highly expressed transcripts in all fungi. Genes that were highly expressed in all fungi encoded endopeptidases, such as subtilisins and aspartic proteases; cell-surface proteins containing the carbohydrate-binding domain WSC; stress response proteins; membrane transporters; transcription factors; and transcripts containing the Ricin-B lectin domain. Differentially expressed transcripts among the fungal species encoded various lectins, such as the fungal fruit-body lectin and the D-mannose binding lectin; transcription factors; cell-signaling components; proteins containing a WSC domain; and proteins containing a DUF3129 domain. A small set of transcripts were differentially expressed in infections of different host nematodes, including peptidases, WSC domain proteins, tyrosinases, and small secreted proteins with unknown function.ConclusionsThis is the first study on the variation of infection-related gene expression patterns in nematode-trapping fungi infecting different host species. A better understanding of these patterns will facilitate the improvements of these fungi in biological control programs, by providing molecular markers for screening programs and candidates for genetic manipulations of virulence and host preferences.Electronic supplementary materialThe online version of this article (doi:10.1186/1471-2164-15-968) contains supplementary material, which is available to authorized users.