Transesterification in Biodiesel Production: Chemistry, Catalysts, Process Steps and Optimization

Every litre of biodiesel starts with one reaction: transesterification. Plant oils and animal fats are thick, sticky and too viscous for a modern diesel engine. Transesterification breaks them into thinner molecules called fatty acid methyl esters (FAME), which burn cleanly and flow through fuel systems. It does this in a reactor at about 60°C and atmospheric pressure, using cheap chemicals and equipment.

The reaction is simple on paper and harder in practice. Plants that run well pay attention to water content, free fatty acids, catalyst dosing and separation. Plants that struggle end up with soap, emulsions, off-spec fuel and lost yield.

This guide explains how transesterification works, what each catalyst family does well and badly, how a plant runs it step by step, and how to fix common problems. It also covers the standards the fuel must meet and the newer technologies aimed at making the process cheaper and cleaner.

What Is Transesterification?

Transesterification is a reaction in which one ester is converted into another by swapping its alcohol part. In biodiesel production, the starting ester is a triglyceride, the main component of vegetable oils and animal fats. It has a glycerol backbone holding three long fatty acid chains. The alcohol you add, usually methanol, replaces the glycerol on each chain. That produces three FAME molecules, which are biodiesel, and one glycerol molecule as a co-product.

The overall reaction is:

Triglyceride + 3 Methanol → 3 Fatty Acid Methyl Esters (biodiesel) + Glycerol

The change in physical properties is the point of the reaction. A triglyceride is a large molecule with a high viscosity, roughly ten to twenty times that of petroleum diesel. Cutting it into three smaller, straight-chain esters brings the viscosity down to the range diesel engines are built for. Burning raw vegetable oil in an engine leads to injector coking and deposits. Biodiesel avoids most of that.

The names you will meet for this reaction are transesterification, alcoholysis and, when methanol is the alcohol, methanolysis. They mean essentially the same thing in this context.

Why Transesterification Instead of Just Using Raw Oil?

Farmers and engineers have tried straight vegetable oil as fuel for over a century, and the problems are well documented:

  • High viscosity leads to poor atomisation, incomplete combustion and carbon deposits in the injectors.
  • Glycerol backbone molecules polymerise at engine temperatures and gum up piston rings and valves.
  • Poor cold flow thickens raw oil further in cool weather.

Blending or heating raw oil helps somewhat, but transesterification fixes the root cause by removing the glycerol backbone and shortening the molecule. The resulting biodiesel has a cetane number similar to or above petroleum diesel, good lubricity and a higher flash point. It can run on its own or blend with petroleum diesel in existing engines.

The Reaction Step by Step

The reaction is not a single event. It proceeds in three reversible steps:

  1. Triglyceride + methanol ⇌ diglyceride + FAME
  2. Diglyceride + methanol ⇌ monoglyceride + FAME
  3. Monoglyceride + methanol ⇌ glycerol + FAME

Each step releases one ester molecule, so three steps yield three FAME molecules in total. The diglycerides and monoglycerides are intermediates. Early in the reaction they build up, then fade as they are converted onward. If the reaction stops too soon, or the conditions are wrong, they remain in the fuel. That is why standards limit mono-, di- and triglyceride content in finished biodiesel, since these leftovers cause filter plugging and deposits.

Why the Reaction Is an Equilibrium and Why Excess Methanol Matters

Every step is reversible. Stoichiometrically you need three moles of methanol per mole of triglyceride. Commercial plants use about six moles, a 6:1 molar ratio, because excess methanol pushes the equilibrium toward products (Le Chatelier’s principle). Going much beyond that gives diminishing returns and raises the cost of recovering the surplus.

A second effect helps in practice. As the reaction proceeds, glycerol forms a separate, heavier phase and drops out of the ester layer. Removing glycerol from the reaction zone also pulls the equilibrium forward. This is why many industrial plants split the reaction into two stages with glycerol removal in between.

The Mechanism in Base Catalysis

With a base catalyst, the actual attacking species is methoxide (CH₃O⁻), formed when the base meets methanol:

NaOH + CH₃OH ⇌ CH₃ONa + H₂O

The methoxide ion attacks the carbonyl carbon of the triglyceride’s ester group and forms a short-lived tetrahedral intermediate. That intermediate collapses, releasing a methyl ester and leaving a diglyceride anion. The anion picks up a proton from methanol, regenerating the methoxide so the cycle continues. Because the catalyst is regenerated, small amounts do the job.

Note the water produced when hydroxide catalysts meet methanol. That water is one reason sodium methoxide, supplied ready-made, is favoured in large modern plants: it brings no water with it.

Which Alcohol: Methanol or Ethanol?

Methanol is the industry standard. It is cheap in most markets, reacts fast, and its short chain makes it easy to separate from the products. Its drawbacks are toxicity and flammability, and it is usually made from natural gas or coal, so most biodiesel is not fully renewable in origin.

Ethanol yields ethyl esters, is less toxic and can be fully bio-based. It has real appeal in Brazil, where ethanol is abundant and cheap. The drawbacks are practical: ethanol forms an azeotrope with water, so recovering and drying it needs molecular sieves rather than simple distillation. It is also more prone to producing stable emulsions during separation, and reaction rates are somewhat slower.

Some references claim ethanol is the most widely used alcohol because of its low cost. Globally that is not accurate. Methanol dominates commercial production. Ethanol is regionally significant, not universal.

Catalyst Families: The Central Choice

The catalyst decides the reaction speed, the feedstock you can accept, the purification steps you need and the plant’s economics. There are four main families.

1. Homogeneous Base Catalysts (NaOH, KOH, Sodium Methoxide, Potassium Methoxide)

This is the workhorse. Base catalysts are reported to account for well over 80% of commercial biodiesel production, and the reasons are simple:

  • Fast. The reaction is often finished in about an hour at 60 to 65°C. Base catalysis is orders of magnitude faster than acid catalysis.
  • Mild. No pressure, moderate temperature and standard steel equipment.
  • Cheap. Catalyst loadings are low, usually around 0.5 to 1.5% of the oil weight depending on catalyst and feedstock.

The weakness is sensitivity. Free fatty acids (FFA) in the oil react with the base to form soap, which consumes catalyst, creates emulsions and reduces yield. Water does similar damage by hydrolysing esters and creating more FFA. As a working rule, refined and degummed oils with FFA below about 1% (acid value around 2 mg KOH/g or lower) and very low water content suit direct base catalysis. Anything worse needs pretreatment.

Sodium methoxide is generally faster and cleaner than sodium hydroxide, and potassium-based catalysts produce a glycerol phase that is easier to handle and can yield fertiliser-grade potassium phosphate salts after neutralisation with phosphoric acid.

2. Homogeneous Acid Catalysts (Sulfuric Acid, and Others)

Acid catalysts convert FFA directly into esters (esterification) and also drive transesterification. That makes them the right tool for high-FFA feedstocks such as used cooking oil, tallow and acid oils.

The trade-offs are significant. Acid-catalysed transesterification is much slower, needs higher temperatures or longer times, and calls for a large methanol excess. Acids are also corrosive, so equipment needs better materials. In practice, acid catalysis is mainly used as a pretreatment: an acid esterification step brings FFA down, and then base-catalysed transesterification finishes the job. This two-step approach is standard for low-cost feedstocks.

3. Enzymatic Catalysts (Lipases)

Lipases are enzymes that can catalyse both esterification and transesterification at mild temperatures, typically 30 to 50°C. Their attractions:

  • They tolerate high FFA and water, with no soap formation.
  • They allow simpler, cleaner separation, and a higher-purity glycerol.
  • Immobilised enzymes can be reused.

The barriers are cost and speed. Enzymes are expensive, and reactions take many hours. Methanol in high concentration also inactivates many lipases. Two workarounds are common: adding methanol in stages, and using an alternative acyl acceptor such as methyl acetate, which does not deactivate the lipase in the same way. Enzymatic biodiesel exists commercially, but at a small scale compared with base-catalysed plants. It makes most sense where feedstock is difficult and catalyst reuse can be secured.

4. Heterogeneous (Solid) Catalysts

Solid catalysts include calcium oxide (CaO), magnesium oxide, mixed metal oxides, zeolites, acidic resins and increasingly sophisticated supported materials. Their appeal is straightforward:

  • They are filtered out of the product rather than washed out.
  • They can be reused.
  • They can reduce wastewater and simplify purification.
  • They suit continuous fixed-bed reactors.

Research is intense. One recent example is a molybdenum catalyst supported on graphitic carbon nitride for transesterifying waste cooking soybean oil. The best formulation, at 10% molybdenum loading, reached about 99.5% selectivity to biodiesel but only around 71% oil conversion under the study’s conditions. The authors also examined how the catalyst deactivates and how it can be regenerated.

That result is typical of the field, and it explains why solid catalysts have not displaced homogeneous ones. The large oil molecules, roughly 4 nm long, struggle to reach active sites inside small pores, so many studies now focus on outer-surface or hierarchical supports. Solid bases can still form soap and lose activity to leaching, and solid acids can lose active groups. Many lab results also need higher temperatures, larger methanol ratios or longer times than homogeneous catalysis. Solid catalysts are promising and commercially real in specific cases, but they are still an area of active development, not a universal upgrade.

Catalyst Comparison at a Glance

Catalyst typeSpeedFFA/water toleranceReaction conditionsSeparationBest use
Base (NaOH/KOH/methoxide)Very fastLow~60–65°C, 1 atmNeutralise and washRefined oils, low-FFA feedstock
Acid (H₂SO₄)SlowHighHigher temp/methanolNeutralise and washHigh-FFA pretreatment
Enzyme (lipase)SlowHigh30–50°CFilter enzymeDifficult feedstocks, high-value niches
Solid catalystModerate (varies)VariesOften more demandingFiltrationContinuous plants, cleaner processing

Feedstock: The Biggest Lever on Cost and Quality

Feedstock is commonly cited as the largest single cost in biodiesel, often well over half of production cost, and it also sets how difficult the process is.

Refined and degummed vegetable oils (soybean, rapeseed, sunflower) are the easiest. They have low FFA and can go straight to base catalysis. Their downside is price and the food-versus-fuel debate.

Palm oil and its by-products are widely used in Southeast Asia. Crude palm oil carries substantial FFA, so pretreatment or physical refining is needed.

Non-edible oils such as jatropha and karanja often carry high FFA and are usually processed by two-step acid-then-base routes.

Used cooking oil (UCO) and animal fats are cheap and carbon-favourable, and they raise the biggest pretreatment demands. They carry water, solids, oxidation products and elevated FFA. Their supply is also limited compared with demand.

Emerging lipids, such as those from microbial and insect sources, are the third generation and remain mostly research-stage.

Fatty acid profile matters as well. Feedstocks rich in saturated fats (tallow, palm) give biodiesel with higher cetane and better oxidation stability but poor cold flow. Highly unsaturated oils (soybean, sunflower) flow better in the cold but oxidise faster. This is why blending feedstocks is a common strategy, and why plants that can handle mixed feeds have an economic edge.

Pretreatment: Getting the Oil Ready

Before transesterification, oil is conditioned to remove what interferes with the reaction:

  1. Filtration and settling to remove solids.
  2. Degumming to remove phospholipids, which cause emulsions and interfere with separation.
  3. Drying to reduce water. As a rule of thumb, the oil should be below about 0.05% water for base catalysis.
  4. FFA measurement by titration to set catalyst dosing and choose the route.
  5. FFA reduction by either neutralisation (removing soap) or, better for waste oils, acid esterification, which converts FFA into biodiesel rather than losing it.

Titration is a cheap, non-negotiable step. Measuring FFA on every batch or delivery lets operators adjust catalyst quantity, since FFA consumes base, and prevents surprises.

The Industrial Process, From Reactor to Finished Fuel

A typical base-catalysed plant follows this sequence.

Step 1: Catalyst and Methanol Preparation

The catalyst is dissolved in methanol to form methoxide. This is done in a closed system because methanol vapour is flammable and toxic, and because moisture from the air degrades the catalyst.

Step 2: Reaction

Oil, methanol and catalyst are mixed in a reactor at about 60°C with vigorous stirring. Oil and methanol do not mix well at the start, so the early reaction is mass-transfer limited, and good agitation matters. Small plants usually use batch reactors. Larger plants, above roughly 4 million litres per year according to one engineering source, typically use continuous stirred-tank reactors in series.

A common industrial design uses two stages. About 80% of the methanol and catalyst goes into the first reactor. The product stream then goes to glycerol removal, and the remaining 20% is added in a second reactor. Removing glycerol between stages shifts the equilibrium and delivers very high conversion, meeting the low glycerol and glyceride limits in the fuel standards.

Step 3: Glycerol Separation

Glycerol is denser than the ester and immiscible with it, so it settles out. Plants use gravity settlers or centrifuges. Excess methanol acts as a co-solvent and slows separation, so it is normally left in until the phases have split.

Step 4: Neutralisation

The ester layer still holds residual catalyst and soap. Adding a mild acid neutralises the catalyst and converts soap into free fatty acids and water-soluble salts. Doing this before washing cuts wash-water use and reduces emulsion problems.

Step 5: Washing and Drying

Water washing removes remaining salts, methanol, glycerol and soap. It is simple and effective but produces effluent that must be treated. Alternatives include dry washing with adsorbents or ion-exchange resins, which avoids wastewater but adds media cost, and membrane filtration. Many plants use hybrid trains, for example a light acid wash, a minimal water wash and then a dry polish. After washing, the fuel is dried under vacuum to reach the water specification.

Step 6: Methanol Recovery

Methanol removed from the ester and glycerol streams is collected, distilled and recycled to the reactor. Because methanol is fully miscible with water, this stream picks up water from the process and needs a distillation column to purify it. Recovery is important both for cost and for meeting the flash point limit on the fuel. If ethanol is used, the ethanol-water azeotrope means molecular sieves are needed to finish the drying.

Step 7: Glycerol Refining

Crude glycerol from the separator is only around 50% pure and contains methanol, catalyst and soap. Acidification turns soap into free fatty acids, which float and can be recycled as feedstock for esterification. After methanol removal, the glycerol is typically around 85% pure and can be sold to a refiner. Vacuum distillation or ion exchange then raises purity to 99.5% or more, which opens cosmetic, pharmaceutical and food markets. Glycerol value is a real part of plant economics, though a surplus from the growth of biodiesel has depressed crude prices for years.

Key Process Parameters and What They Do

ParameterTypical range (base catalysis)Effect
Methanol:oil molar ratio~6:1Higher pushes equilibrium forward; too high hampers separation and raises recovery cost
Temperature~55–65°CFaster reaction; approaching methanol’s boiling point (~65°C) risks vapour loss
Catalyst loading~0.5–1.5 wt% of oilToo little: incomplete reaction; too much: soap and emulsions
Reaction time~1–2 hMust be long enough for intermediate glycerides to convert
Mixing intensityHighOvercomes the initial immiscibility of oil and methanol
FFA in oil<~1%Above this, soap formation cuts yield sharply
Water in oil<~0.05%Prevents hydrolysis and soap

These numbers are starting points. Optimum values shift with feedstock, catalyst and reactor design, and published lab optimisations, including response-surface studies on waste cooking oil, often land on somewhat different ratios and loadings. Pilot testing on your own feedstock is the reliable way to set them.

A Simple Mass Balance

A rule of thumb helps with planning. Roughly:

100 kg oil + about 10–11 kg methanol (at stoichiometric need) → ~100 kg biodiesel + ~10 kg glycerol

In practice you use more methanol than the stoichiometric amount, and most of the excess is recovered. Since the biodiesel mass is close to the oil mass, a plant converting 1,000 tonnes of oil can expect close to 1,000 tonnes of biodiesel with good conversion, plus about 100 tonnes of crude glycerol. Real yields are a few percent lower because of soap, entrained ester in glycerol and washing losses, so tracking yield is a direct measure of how well the plant is running.

Troubleshooting Common Problems

ProblemLikely causeWhat to do
Low yield, lots of soapFFA or water too high; too much catalystTitrate the oil; dry it; add an acid esterification step; recheck dosing
Emulsions during washingSoap, excess catalyst, aggressive agitationNeutralise before washing; wash gently; use an acid wash
Slow or incomplete reactionPoor mixing, wet methanol, too little catalyst, low temperatureImprove agitation; use dry methanol; verify dosing and temperature
Glycerol won’t separateExcess methanol, soap, high waterAllow more settling time; add a little water or acid; consider centrifugation
Off-spec glyceride contentReaction stopped earlyExtend time or use a two-stage reaction with glycerol removal
High acid value in productResidual FFA or hydrolysisNeutralise; control water; strengthen pretreatment
Cloudy or wet fuelInadequate dryingVacuum dry; check separators
Poor cold flowSaturated-rich feedstockBlend feedstocks, winterise, or use additives

Fuel Quality: What the Product Must Meet

The two main biodiesel standards are EN 14214 (Europe) and ASTM D6751 (United States). They set limits that directly reflect how well transesterification and purification went:

  • Ester content (EN 14214 requires at least 96.5%) shows how complete the conversion was.
  • Free and total glycerol (roughly 0.02% free and about 0.24 to 0.25% total) indicate glycerol removal and intermediate glycerides.
  • Methanol content and flash point guard against residual alcohol, which is a fire and safety risk.
  • Acid value (about 0.5 mg KOH/g maximum) flags residual FFA.
  • Water and sediment limits protect against corrosion, microbial growth and filter blocking.
  • Oxidation stability measures how well the fuel resists degradation in storage.
  • Metals (sodium, potassium, calcium, magnesium) and phosphorus relate to catalyst and feedstock carryover and affect emissions equipment.

Limits vary by standard and revision, so confirm the current text before certifying a product. Regular laboratory testing is part of running a plant, not an optional extra.

Emerging and Alternative Technologies

Conventional base-catalysed transesterification is mature. The research and pilot activity is aimed at cutting its weak points: slow start-up mixing, wastewater, and feedstock sensitivity.

Supercritical methanol. At very high temperature and pressure (on the order of 240°C and 90 bar or so), oil and methanol form a single phase, and the reaction proceeds rapidly with no catalyst. It tolerates water and converts FFA to esters instead of soap, so wide feedstock flexibility is possible and catalyst removal disappears. The price is high-pressure equipment and energy, which is why most plants still favour low-temperature operation.

Ultrasonic and high-shear reactors. These intensify mixing and shrink methanol droplets, increasing the interfacial area where the reaction occurs. They can cut reaction time and enable continuous inline processing. Claims about very large throughput vary in quality, so evaluate vendors on demonstrated industrial references.

Microwave-assisted reaction. Microwave heating can speed up the reaction and reduce energy use at laboratory and pilot scale.

Reactive separation and fixed-bed reactors. Designs that combine reaction and product removal, or that pass reactants through a solid catalyst bed, aim at continuous, low-waste operation.

Nanocatalysts and engineered supports. Higher surface area and tailored pores address the large-molecule diffusion problem, as in the supported molybdenum work above.

Enzyme improvements. Better immobilisation, staged methanol feeding and alternative acyl acceptors are steadily improving lipase economics.

Microbial lipids. Oil from oleaginous yeasts and other microbes grown on wastes, including crude glycerol, could reduce dependence on agricultural land. This remains early-stage.

Transesterification, Renewable Diesel and the Bigger Picture

Biodiesel (FAME) is chemically different from renewable diesel (hydrotreated vegetable oil, or HVO). Renewable diesel is made by hydrotreating fats and oils with hydrogen, giving pure hydrocarbons that are a drop-in match for petroleum diesel. Transesterification produces oxygenated esters. FAME has lower capital cost and simpler chemistry, while HVO handles blending limits and cold flow better. The two coexist, and many producers assess both. Transesterification remains the more accessible route for small and medium producers.

Safety and Environmental Notes

  • Methanol is toxic, flammable and burns with a nearly invisible flame. Plants need closed handling, ventilation, vapour detection and explosion-rated equipment.
  • Sodium and potassium hydroxide and methoxides are corrosive and reactive. Methoxides react violently with moisture.
  • Wash water and soapstock need proper treatment or valorisation.
  • Crude glycerol should not be dumped, since it carries methanol and catalyst.

Environmentally, the picture depends heavily on feedstock. Biodiesel from waste oils and fats generally shows the strongest life-cycle carbon benefit, while fuel from crops grown on newly cleared land can lose that advantage. Feedstock sourcing is as important as reactor design.

  1. Measure your feedstock’s FFA and water. This determines everything else.
  2. Low FFA (under ~1%) and dry: single-step base-catalysed transesterification, ideally with methoxide.
  3. Moderate to high FFA: acid esterification pretreatment followed by base transesterification.
  4. Highly variable or very poor feedstock: consider a multi-feedstock design with strong pretreatment, or evaluate enzymatic or supercritical options if the economics justify them.
  5. Wastewater constraints: consider dry washing or hybrid purification.
  6. Scale: batch for small plants, continuous for larger ones.
  7. Glycerol: plan its refining and sale from the start, because it affects margins.

Frequently Asked Questions

What is transesterification in simple terms?
It is the reaction that converts oils and fats into biodiesel by replacing glycerol with methanol, producing methyl esters and glycerol as a by-product.

Why is a catalyst needed?
Without one, the reaction is far too slow at practical temperatures. The catalyst speeds it up dramatically. Only very high temperature and pressure, as in supercritical processing, can do without.

How to Choose Your Route

A practical decision path:

Why is base catalysis preferred?
It is fast, works under mild conditions and is inexpensive. Its limitation is sensitivity to FFA and water.

What happens if the oil has too much free fatty acid?
The FFA reacts with the base to form soap, which uses up catalyst, causes emulsions and lowers yield. The fix is pretreatment, usually acid esterification.

Why use 6:1 methanol instead of 3:1?
The reaction is reversible, so excess methanol drives it toward biodiesel. The excess is recovered and reused.

What is the by-product?
Glycerol, at roughly 10% of the oil weight. Refined, it is valuable in cosmetics, pharmaceuticals and food.

Can biodiesel be made without a catalyst?
Yes, using supercritical methanol, but it needs high pressure and temperature.

Are solid catalysts better?
They simplify separation and can be reused, but many still trail homogeneous catalysts in activity or stability under practical conditions, so adoption is selective.

Conclusion

Transesterification is a balanced reaction that rewards attention to fundamentals. Control the water and free fatty acids in the oil. Choose a catalyst that matches the feedstock. Use excess methanol and remove glycerol to drive conversion. Neutralise, wash or polish, dry and recover methanol carefully, and refine the glycerol so it earns money. Test the fuel against EN 14214 or ASTM D6751 before it leaves the plant.

The technology at the edges, including solid catalysts, enzymes, supercritical processing and intensified reactors, is advancing, and some of it will become mainstream. For today’s producers, though, the base-catalysed route with good pretreatment remains the proven backbone of the industry, and the plants that do the basics well are the ones that stay profitable.

Email Call WhatsApp