LabelWiseformerly SafeChoice
E524Updated 31 August 2026

E524: Sodium hydroxide

Sodium hydroxide is lye, used as a processing dip that gives pretzels their brown crust. It is vegan and halal, and it is neutralised during baking.

Vegan
Yes
Vegetarian
Yes
Halal
Yes

What E524 actually is

Sodium hydroxide is what makes a proper German pretzel taste like a pretzel. Dough is dipped in a dilute lye solution before baking, which raises the surface pH and drives the Maillard reaction hard, producing that deep mahogany crust and distinctive flavour. It is also used to cure green olives and to process cocoa.

What it is made from

Manufactured by electrolysis of salt water. It is an inorganic compound with no plant or animal origin.

Vegan, vegetarian, and halal status

Sodium hydroxide is mineral-derived and suits every dietary requirement.

Is E524 safe?

Concentrated sodium hydroxide is genuinely caustic and dangerous to handle, which is what makes this sound alarming on a label. In food it is used as a dilute processing dip and is neutralised by the acids in the dough during baking, so the finished pretzel contains essentially none of it. That is the important distinction: the hazard belongs to the handling, not to the food. EFSA permits it as an acidity regulator with no numerical intake limit. Commercial pretzel making uses proper protective equipment for exactly the handling reason.

  • Caustic and hazardous in concentrated form, which is a handling matter
  • Neutralised during baking, so the finished product contains essentially none
  • No numerical intake limit set for its permitted food uses

Where regulators stand

EFSA (EU)
Permitted as an acidity regulator with no numerical acceptable daily intake.
FDA (US)
Generally recognized as safe for specified processing uses.

Foods it turns up in

  • Pretzels and laugenbrot
  • Cured green olives
  • Cocoa processing, to reduce bitterness
  • Hominy and some maize products

Names it hides behind

  • E524
  • Sodium hydroxide
  • Lye
  • Caustic soda
  • Acidity regulator (E524)

Common questions

Is there really lye in pretzels?
The dough is dipped in a dilute lye solution before baking, which is what produces the brown crust and characteristic flavour. Baking neutralises it, so the finished pretzel contains essentially none.
Is it safe to eat?
Yes, as used. The hazard is in handling the concentrated solution, not in the baked product where it has been neutralised.
Is E524 vegan and halal?
Yes. It is made by electrolysis of salt water, with no plant or animal origin.
Why not use bicarbonate instead?
Home recipes often do, and it works, but the crust is paler and the flavour milder. Lye raises the surface pH much further, which is what produces the deep colour.
What is Dutch-process cocoa?
Cocoa treated with an alkali, often sodium or potassium carbonate rather than hydroxide, to reduce bitterness and darken the colour.

Checking a real pack

This page answers the code. The pack in your hand is what decides, because the same code can come from different sources depending on the manufacturer. LabelWise, formerly SafeChoice, scans the label and explains what is in front of you.

Related

LabelWise content is educational and describes how additives are made, regulated, and labelled. It is not medical, dietary, or religious advice. For certification questions, the mark on the pack and the certifying body are the authority.