Preharvest food safety research and activities have advanced over time with the recognition of the importance and complicated nature of the preharvest phase of food production. In developed nations, implementation of preharvest food safety procedures along with strict monitoring and containment at various postharvest stages such as slaughter, processing, storage, and distribution have remarkably reduced the burden of foodborne pathogens in humans. Early detection and adequate surveillance of pathogens at the preharvest stage is of the utmost importance to ensure a safe meat supply. There is an urgent need to develop rapid, cost-effective, and point-of-care diagnostics which could be used at the preharvest stage and would complement postmortem and other quality checks performed at the postharvest stage. With newer methods and technologies, more efforts need to be directed toward developing rapid, sensitive, and specific methods for detection or screening of foodborne pathogens at the preharvest stage. In this review, we will discuss the molecular methods available for detection and molecular typing of bacterial foodborne pathogens at the farm. Such methods include conventional techniques such as endpoint PCR, real-time PCR, DNA microarray, and more advanced techniques such as matrix-assisted layer desorption ionization-time of flight mass spectrometry and whole-genome sequencing.