Diaporthe aspalathi and Diaporthe caulivora are two of the fungal pathogens causing soybean stem canker (SSC) in soybean, which is one of the most widespread diseases in soybean growing regions and can cause 100% loss of yield. Current methods for the detection of fungal pathogens, including morphological identification and molecular detection, are mostly limited by the need for professional laboratories and staff. To develop a detection method for potential on-site diagnosis for two of the fungal pathogens causing SSC, we designed a rapid assay combining recombinase polymerase amplification (RPA) and CRISPR-Cas12a-based diagnostics to specifically detect D. aspalathi and D. caulivora. The translation elongation factor 1-alpha gene was employed as the target gene to evaluate the specificity and sensitivity of this assay. The RPA/CRISPR-Cas12a system has excellent specificity to distinguish D. aspalathi and D. caulivora from closely related species. The sensitivities of RPA/CRISPR-Cas12a-based fluorescence detection and lateral flow assay for D. aspalathi and D. caulivora are 14.5 copies and 24.6 copies, respectively. This assay can detect hyphae in inoculated soybean stems at 12 days after inoculation and has a recovery as high as 86% for hyphae-spiked soybean seed powder. The total time from DNA extraction to detection was not more than 60 min. The method developed for rapid detection of plant pathogens includes DNA extraction with magnetic beads or rapid DNA extraction, isothermal nucleic acid amplification at 39 °C, CRISPR-Cas12a cleavage reaction at 37 °C, and lateral flow assay or endpoint fluorescence visualization at room temperature. The RPA and CRISPR-Cas12a reagents can be preloaded in the microcentrifuge tube to simplify the procedures in the field. Both RPA and CRISPR-Cas12a reaction can be realized on a portable incubator, and the results are visualized using lateral flow strips or portable flashlight. This method requires minimal equipment and operator training, and has promising applications for rapid on-site disease screening, port inspection, or controlling fungal pathogen transmission in crop. © 2023 Society of Chemical Industry.