Obtaining biodiesel from vegetable oil


To know techniques of magnetic agitation and separation of two immiscible liquids by decantation.


Biofuels are an alternative to fossil fuels as an energy source. In theory, vegetable oils could be used as fuel, but due to their high viscosity, they cannot be used directly.

It is necessary to transform them into other less viscous materials that can be used in vehicle engines. This transformation is carried out by means of a transesterification reaction.

Vegetable oils are compounds belonging to the triglyceride family. By treatment with a base and an alcohol (MeOH or EtOH), an oil is converted into glycerin and methyl or ethyl ester. The transesterification reaction is a catalytic process consisting of two reaction steps.

obtaining biodiesel from vegetable oil glycerol triglyceride

In the first, NaOH reacts with MeOH in a process of formation of acid-base sodium methoxide, a very strong base and water.

In the second step, sodium methoxide acts as a nucleophile by attacking the carbonyl carbon of the vegetable oil, producing a tetrahedral intermediate.

In the final step, the methyl ester is separated from the glycerol. When the experiment is performed with feedstock such as vegetable oil, the reaction proceeds smoothly and gives a good yield of biodiesel. If the crude oil is cooked, the process is more complex due to the presence of free fatty acids from the hydrolysis of triglycerides.

In the basic transesterification process, free fatty acids are deprotonated, leading to the formation of carboxylates that do not react by base-catalyzed esterification.

This not only reduces the reaction yield but also complicates the separation process as long-chain carboxylates give rise to emulsions.

Experimental procedure

In a 100 ml Erlenmeyer flask equipped with a clamp, stir 40 ml of MeOH and 1.3 g of solid NaOH at room temperature to obtain a solution.

In addition, add 130 ml of vegetable oil to a 250 ml round bottom flask. Soybean, sunflower and olive oil can be used for the practice. Heat the flask with the oil to 50 °C using a water bath with magnetic stirring (bain Marie). Add sodium methoxide solution to the oil and shake the mixture for 1 h, maintaining the indicated temperature.

Transfer the contents of the flask to a separating funnel. Let the mixture stand until the two layers separate. The less dense (upper) layer corresponds to biodiesel, the denser (lower) to glycerol. Most of the settling process occurs in the first hour; however, very often the process takes several hours to completely separate the two layers. Decanting can be left overnight.

Use the stopcock of the separating funnel to separate the two layers. If the glycerol is not poured freely, the biodiesel can be removed at the top of the separating funnel with a pipette. The resulting volume is measured with a measuring cylinder and weighed in the same cylinder to determine the density.

International Chemical Identifier

The IUPAC InChI key identifiers for the main compounds used in this experiment are provided to facilitate the nomenclature and formulation of chemical compounds and the search for information on the Internet for these compounds.


Return to the Organic Synthesis Experiments.