SUMMARY Histidine kinases are important mediators for adaptation of bacteria and plants to environmental signals. Genome analyses of filamentous fungi have revealed the presence of a high number of potential hybrid histidine kinase (HK)-encoding genes; the role of most of these potential sensors is so far unclear, though some members of the class III histidine kinases were shown to be involved in osmostress responses. Here we present a functional analysis of cphk2, a histidine kinase-encoding gene in the biotrophic grass pathogen Claviceps purpurea. The putative product of cphk2 (CpHK2) was shown to group within family X of fungal HKs and it had high homology to the oxidative stress sensors SpMAK2/3 of Schizosaccharomyces pombe. Analysis of a cphk2 deletion mutant indicated that this histidine kinase is involved in spore germination, sensitivity to oxidative stress and fungicide resistance. In addition, virulence of the Dcphk2 mutant on rye was significantly reduced compared with the wild-type strain, even if the conidial titre was adjusted to the lower germination rate. This is the first report of a role for a class X histidine kinase in a filamentous fungus.