Background: d-glutamate, which is involved in N-methyl-d-aspartate receptor modulation, may be associated with cognitive ageing. Aims: This study aimed to use peripheral plasma d-glutamate levels to differentiate patients with mild cognitive impairment (MCI) and Alzheimer’s disease (AD) from healthy individuals and to evaluate its prediction ability using machine learning. Methods: Overall, 31 healthy controls, 21 patients with MCI and 133 patients with AD were recruited. Serum d-glutamate levels were measured using high-performance liquid chromatography (HPLC). Cognitive deficit severity was assessed using the Clinical Dementia Rating scale and the Mini-Mental Status Examination (MMSE). We employed four machine learning algorithms (support vector machine, logistic regression, random forest and naïve Bayes) to build an optimal predictive model to distinguish patients with MCI or AD from healthy controls. Results: The MCI and AD groups had lower plasma d-glutamate levels (1097.79 ± 283.99 and 785.10 ± 720.06 ng/mL, respectively) compared to healthy controls (1620.08 ± 548.80 ng/mL). The naïve Bayes model and random forest model appeared to be the best models for determining MCI and AD susceptibility, respectively (area under the receiver operating characteristic curve: 0.8207 and 0.7900; sensitivity: 0.8438 and 0.6997; and specificity: 0.8158 and 0.9188, respectively). The total MMSE score was positively correlated with d-glutamate levels ( r = 0.368, p < 0.001). Multivariate regression analysis indicated that d-glutamate levels were significantly associated with the total MMSE score ( B = 0.003, 95% confidence interval 0.002–0.005, p < 0.001). Conclusions: Peripheral plasma d-glutamate levels were associated with cognitive impairment and may therefore be a suitable peripheral biomarker for detecting MCI and AD. Rapid and cost-effective HPLC for biomarkers and machine learning algorithms may assist physicians in diagnosing MCI and AD in outpatient clinics.