Bovine mastitis is an inflammatory disease of the mammary glands, and its pathogenesis and diagnosis are complicated. Through qualitative and quantitative analysis of small-molecule metabolites, the metabolomics technique plays an important role in finding biomarkers and studying the metabolic mechanism of bovine mastitis. Therefore, this paper reviews the predictive and diagnostic biomarkers of bovine mastitis that have been identified using metabolomics techniques and that are present in samples such as milk, blood, urine, rumen fluid, feces, and mammary tissue. In addition, the metabolic pathways of mastitis-related biomarkers in milk and blood were analyzed; it was found that the tricarboxylic acid (TCA) cycle was the most significant (FDR = 0.0015767) pathway in milk fluid, and glyoxylate and dicarboxylate metabolism was the most significant (FDR = 0.0081994) pathway in blood. The purpose of this review is to provide useful information for the prediction and early diagnosis of bovine mastitis.