Highly polar herbicides, such as imidazolinones, are used for weed control to increase agricultural productivity and crop quality. However, their misapplication can lead to residues in ready-to-eat food with a potential health risk for consumers. Hence, the fast determination of these herbicides is necessary for timely action. In this work, an eco-friendly method based on capillary zone electrophoresis combined with chemometrics was used for the determination of imazapyr and imazamox in vegetable-based beverages such as soy and quinoa milk. The analytical strategy consisted of only three steps: (i) protein precipitation prior to sample injection (ii) data pre-processing to reduce the background and make corrections on electrophoretic times shift, and (iii) resolution of fully overlapped capillary electrophoresis (CE) peaks by the well-known partial least square (PLS) algorithm, which extracts quantitative information attributed to the analytes. The method was successfully applied in the concentration range between 1.00 and 100 μg L-1 with coefficient of determination of the calibration (R2 cal) and prediction (R2 pred) > 0.90, residual prediction deviation of calibration (RPDcal) and of prediction (RPDpred) > 3, and relative error of prediction (REP) > 11 in the analyzed sample matrices, in the three built methods (quinoa samples, soy samples, and joint quinoa and soy samples). The proposed methodology offers a simple and quick alternative for determining imidazolinones at trace concentrations in vegetable beverages, such as quinoa and soy milk, without complex sample preparation. The results were consistent with those obtained using more complex techniques, confirming the applicability of this method. © 2024 Society of Chemical Industry.