The risk of food borne infections and food deterioration poses a significant threat to global economy as well as public health. There are persistent consequences to certain food-borne infections. An estimated 600 million food-borne disease cases per year remain underestimated globally, due to inadequate reporting. Food degradation, which may be brought on by many microorganisms including bacteria, viruses, fungi, parasites, and more, can result in food-borne diseases. Out of these, bacteria are the most common source of food spoilage. There are various drawbacks to the food safety assessment methods used today. Polymerase chain reactions and culture methods are labor-intensive, time-consuming, and prone to significant bias, making them unsuitable for dealing with sudden outbreaks. The development of metagenomics has made it possible to directly analyze genomes and has the potential to alter the analysis of food safety. The method makes it possible to access the genetic makeup of microorganisms, particularly those that cannot be cultured. Metagenomic sequencing and library creation offer improved community preparedness for future epidemics and food safety monitoring in addition to the diagnosis of food-borne illnesses. The foundation of metagenomics continues to be whole genome sequencing, and in recent years, the number of metagenome shotgun curated datasets has increased dramatically. Compared to 16S rRNA gene fingerprinting or unreliable epidemiological techniques, the advantages are substantial and crucial for the rapid and precise determination of the cause of microbial ailments. Key words: Food safety, Food spoilage, Metagenomics.