Switchable polarity solvents perform the simultaneous extraction and transesterification of triacylglycerols from vegetable oils. The method represent a new in situ derivatization procedure for the gas chromatographic characterization of thir fatty acid profiles.