A simple and reliable method for the evaluation of triacylglycerols (TAGs) in vegetable oils by capillary electrochromatography (CEC) with UV–Vis detection, using octadecyl acrylate (ODA) ester-based monolithic columns, has been developed. The percentages of the porogenic solvents in the polymerization mixture, and the mobile phase composition, were optimized. The optimum monolith was obtained at the following ratios: 40:60% (wt/wt) monomers/porogens, 60:40% (wt/wt) ODA/1,3-butanediol diacrylate and 23:77% (wt/wt) 1,4-butanediol/1-propanol (14 wt% 1,4-butanediol in the polymerization mixture). A satisfactory resolution between TAGs was achieved in less than 12 min with a 65:35 (v/v) acetonitrile/2-propanol mixture containing 5 mM ammonium acetate. The method was applied to the analysis of TAGs of vegetable oil samples. Using linear discriminant analysis of the CEC TAG profiles, the vegetable oils belonging to six different botanical origins (corn, extra virgin olive, hazelnut, peanut, soybean and sunflower) were correctly classified with an excellent resolution among all the categories.