The aim of the study was to compare the effect of the substituent and its position in the aromatic ring on the antioxidant activity of hexanoic acid esters obtained in reactions catalyzed by immobilized lipase B from Candida antarctica. 4-Hydroxybenzyl hexanoate, 2-hydroxybenzyl hexanoate, 4-methoxybenzyl hexanoate, and vanillyl hexanoate were obtained with conversion yields of 50 to 80%. The antioxidant activity of synthesized esters, their alcohol precursors and BHT (Butylated HydroxyToluene) was compared with DPPH (2,2-diphenyl-1-picrylhydrazyl), CUPRAC (cupric ion reducing antioxidant capacity), and CBA (crocin bleaching assay) methods. Furthermore, it was investigated whether the presence of vanillyl hexanoate in a concentration of 0.01 and 0.1% affected the oxidative stability of sunflower and rapeseed oils in the Rancimat test. It was observed that the antioxidant activity of hexanoic acid esters depends on the presence and position of the hydroxyl group in the aromatic ring. The highest activities were found for vanillyl alcohol, vanillyl hexanoate, and BHT. The addition of the ester and BHT significantly extended the induction times of the tested oils, and these compounds exhibited similar activity. Vanillyl hexanoate increased the induction time from 4.49 to 5.28 h and from 2.73 to 3.12 h in the case of rapeseed and sunflower oils, respectively.