In this study, a novel metabolomics technique based on ultra-performance liquid chromatography-quadrupole-time of flight mass spectrometry in the MS mode was used to investigate the milk metabolomics of healthy, subclinical, and clinical mastitis cows, which were classified based on somatic cell count and presentation of clinical symptoms. Meanwhile, univariate and multivariate statistical analyses were performed to identify the significant differences across the 3 groups. Compared with healthy milk samples, less glucose, d-glycerol-1-phosphate, 4-hydroxyphenyllactate, l-carnitine, sn-glycero-3-phosphocholine, citrate, and hippurate were detected in the clinical mastitic milk samples, whereas less d-glycerol-1-phosphate, benzoic acid, l-carnitine, and cis-aconitate were found in the subclinical mastitic milk samples. Meanwhile, the milk concentration of arginine and Leu-Leu increased in both the clinical and subclinical mastitis groups. Besides, less 4-hydroxyphenyllactate, cis-aconitate, lactose, and oxoglutarate were detected in the clinical than the subclinical mastitic milk samples, whereas the abundance of some oligopeptides (Leu-Ala, Phe-Pro-Ile, Asn-Arg-Ala-Ile, and Val-Phe-Val-Tyr) increased by over 7.95-fold. Our results suggest that significant variations exist across healthy and mastitis cows. The current metabolomics approach will help in better understanding the pathobiology of mastitis, although clinical validation will be required before field application.