[CH2:1]([C:9]1[CH:17]=[CH:16][C:12]([C:13](Cl)=[O:14])=[CH:11][CH:10]=1)[CH2:2][CH2:3][CH2:4][CH2:5][CH2:6][CH2:7][CH3:8].[CH3:18][OH:19]>CN(C1C=CN=CC=1)C.C(N(CC)CC)C>[CH2:1]([C:9]1[CH:17]=[CH:16][C:12]([C:13]([O:19][CH3:18])=[O:14])=[CH:11][CH:10]=1)[CH2:2][CH2:3][CH2:4][CH2:5][CH2:6][CH2:7][CH3:8]4-Octylbenzoyl chloride (obtained by reacting 4-octylbenzoic acid with thionyl chloride) is esterified with methanol in the presence of an equimolar amount of triethylamine and 0.1 mol % of DMAP. Customary work-up followed by purification by distillation affords methyl 4-octylbenzoate as a colorless liquid, b.p. 112° C./0.25 mbar.