Food safety issues have become a major threat to public health and have garnered considerable attention. Rapid and effective detection methods are crucial for ensuring food safety. Recently, nanostructured fluorescent materials have shown considerable potential for monitoring the quality and safety of food because of their fascinating optical characteristics at the nanoscale. In this review, we first introduce biomaterials and nanomaterials for food safety analysis. Subsequently, we perform a comprehensive analysis of food safety using fluorescent biosensors based on nanomaterials, including mycotoxins, heavy metals, antibiotics, pesticide residues, foodborne pathogens, and illegal additives. Finally, we provide new insights and discuss future approaches for the development of food safety detection, with the aim of improving fluorescence detection methods for the practical application of nanomaterials to ensure food safety and protect human health.