An automated online solid-phase extraction with restricted-access material combined with high-performance liquid chromatography and tandem mass spectrometry was developed and validated for the simultaneous quantification of vanillin and its vanillic acid metabolite in human plasma. After protein precipitation by methanol, which contained the internal standards, the supernatant of plasma samples was injected to the system, the endogenous large molecules were flushed out, and target analytes were trapped and enriched on the adsorbent, resulting in a minimization of sample complexity and ion suppression effects. Calibration curves were linear over the concentrations of 5-1000 ng/mL for vanillin and 10-5000 ng/mL for vanillic acid with a coefficient of determination >0.999 for the determined compounds. The lower limits of quantification of vanillin and vanillic acid were 5.0 and 10.0 ng/mL, respectively. The intra- and inter-run precisions expressed as the relative standard deviation were 2.6-8.6 and 3.2-10.2%, respectively, and the accuracies expressed as the relative error were in the range of -6.1 to 7.3%. Extraction recoveries of analytes were between 89.5 and 97.4%. There was no notable matrix effect for any analyte concentration. The developed method was proved to be sensitive, repeatable, and accurate for the quantification of vanillin and its vanillic acid metabolite in human plasma.