In this study, a novel dual priming oligonucleotide (DPO) system‐based polymerase chain reaction (PCR; DPO system‐based PCR) assay, which detected the fimY gene of Salmonella, was developed for the fast food testing. The DPO system‐based PCR assay allowed a wide range of annealing temperatures at 48–68°C to efficiently amplify fimY gene with an analytical detection limit of 1.2 × 102 CFU/ml for Salmonella in pure cultures and artificially contaminated food matrix. Significantly, the presence of a bubble‐like polydeoxyinosine (polyI) linker in the DPO system brought an unparalleled high specificity in the identification of target bacteria, and consequently, the false positives and mismatches of PCR process can be eliminated in priming. Applying the DPO system‐based PCR assay to 285 collected food samples revealed that 29 samples were positive in this assay, in accordance with the results of conventional culture‐based method, indicating a potential diagnostic capability. The high specificity of the DPO system‐based PCR indicates its great potential to be a quick, reliable and practical method for the detection of Salmonella in foods.