Food safety significantly impacts public health and social welfare. Recently, issues such as heavy metal ions, drug residues, food additives, and microbial contamination in food have become increasingly prominent. Electrochemical sensing technology, known for its low cost, simplicity, rapid response, high sensitivity, and excellent selectivity, has been crucial in food safety detection. Electrospun nanofibers, with their high specific surface area, superior mechanical properties, and design flexibility, offer new insights and technical platforms for developing electrochemical sensors. This study introduces the fundamental principles, classifications, and detection mechanisms of electrochemical sensors, along with the principles and classifications of electrospinning technology. The applications of electrospun nanofiber-based electrochemical sensors in food safety detection over the past five years are detailed, and the limitations and future research prospects are discussed. Continuous innovation and optimization are expected to make electrospun nanofiber-based electrochemical sensors a key technology in rapid food safety detection, providing valuable references for expanding their application and advancing food safety detection methods.