A PCR system in the fluorescent amplification-based specific hybridization (FLASH) format was developed for the detection and identification of two important wheat pathogenic fungi Septoria tritici (teleomorph of Mycosphaerella graminicola and Stagonospora nodorum (teleomorph of Phaeosphaeria nodorum), which cause spots on leaves and glumes, respectively. The pathogen detection system is based on the amplification of a genome fragment in the internal transcribed spacer 1 (ITS 1) region and a site encoding the 5.8S ribosomal RNA. The forward primers to ITS1 and a universal reverse primer and a Beacon type probe to the 5.8S ribosomal RNA region were chosen to provide the detection of the products in the FLASH format. This system was tested on different isolates of the pathogens, and on infected soil, leaf, and seed samples.