Foodborne pathogens affect human health negatively and are known to cause economic losses. Therefore, quick detection of foodborne pathogens and the implementation of measures to ensure their inactivation are of immense significance. Immunological, molecular, and cultural methods are frequently used in the detection of foodborne pathogens. High cost, prolonged analysis times, and the necessity of specialized personnel are some of the disadvantages of these methods. Biosensors are known as analytical devices. The use of biosensors is considered a new approach to quickly detect foodborne pathogens and their toxins. Biosensors, which are capable of converting biological, chemical, or biochemical signals into measurable electrical signals, are systems containing a biological detection material combined with a chemical or physical transducer. Different types of biosensor are being employed for detection of pathogenic bacteria. Biosensors are sensitive, fast, economical, reliable, and portable devices, and are used in many fields such as food safety, medicine, pharmacy, measurement of environmental pollution, and the military defense. Electrochemical and optical biosensors and piezoelectric immunosensors are among the most frequently used biosensors in the detection of foodborne pathogens. In this article, the principle components and requirements for an ideal biosensor, types, and their applications in food industry are summarized.