E-numbers / E511 Other

Magnesium chloride

also: MgCl2 · Nigari
mineralVegan ✓Vegetarian ✓Halal - checkKosher - check
The short version

A magnesium salt used as a firming agent and mineral supplement, best known for setting tofu from soy milk.

What is it?

Magnesium chloride is the magnesium salt of hydrochloric acid. It occurs naturally in seawater and is commercially extracted from brines, seawater evaporation, or mineral deposits. In food use it is typically a white crystalline powder or flake, highly soluble in water.

What does it do?

In food manufacturing it acts as a firming agent: magnesium ions cross-link proteins, causing them to solidify or gel. In tofu production (as nigari, the traditional Japanese coagulant) it causes soy proteins to coagulate and separate from the whey liquid. It is also used as a source of magnesium for nutritional fortification, and can function as a colour-retention agent and processing aid in some applications.

Where you will see it

Most commonly in tofu (where it appears as nigari or listed as magnesium chloride in the coagulant declaration), mineral water products, sports drinks and nutritional supplements formulated with added magnesium. Also used in some infant formula, certain cheeses, and processing of some canned vegetables to maintain firmness. On a UK label it appears as 'magnesium chloride' or 'E511'.

What the science says

Magnesium as an essential nutrient

Magnesium is an essential mineral required for hundreds of enzymatic reactions, including energy production, protein synthesis, nerve and muscle function, and bone formation. The UK Reference Nutrient Intake is 300mg per day for adult men and 270mg per day for adult women. The small amounts contributed by E511 as a food additive count toward total dietary magnesium intake, which most UK adults consume at adequate but not excessive levels.

Magnesium is an essential cofactor for over 300 enzymatic reactions and is required for DNA synthesis, protein synthesis, and normal muscle and nerve function.

SACN (Scientific Advisory Committee on Nutrition), UKestablished

The UK Reference Nutrient Intake for magnesium is 300mg per day for men and 270mg per day for women aged 19 and over.

UK Department of Health, Dietary Reference Values for Food Energy and Nutrients1991regulatory

Excess magnesium intake: laxative effect at high doses

At high supplemental doses, magnesium salts including magnesium chloride can cause osmotic diarrhoea because unabsorbed magnesium ions draw water into the intestine. This effect is well documented for magnesium supplements but the amounts present in food as E511 are far below the doses associated with this effect. The European Food Safety Authority set an upper tolerable intake level of 250mg per day for supplemental magnesium specifically to avoid this laxative threshold.

Supplemental magnesium at doses above 250mg per day is associated with diarrhoea due to osmotic effects in the gut; this is the basis for EFSA's tolerable upper intake level for supplemental magnesium.

EFSA Panel on Dietetic Products, Nutrition and Allergies (NDA), Scientific Opinion on Dietary Reference Values for Magnesium2015regulatory review

Where it stands with the regulators

Status
Approved for use in the UK and EU
Legal basis
UK FSA approved-additives list and assimilated EU Regulation 1333/2008 (Annex II). Also permitted as a processing aid in tofu coagulation.
Permitted foods
Tofu and soy-based products (as coagulant/firming agent); Infant formula and follow-on formula; Foods for special medical purposes; Mineral and spring water (as a source of magnesium); Food supplements; Some processed vegetables (firming agent); Various food categories as a mineral supplement under quantum satis provisions
Maximum levels
Quantum satis (as much as needed to achieve the technological function) in most applications
Safe-intake limit (ADI)
No numerical ADI set
History
Long-established food additive with no significant regulatory restrictions or re-evaluations of concern. Traditional use as nigari in tofu production predates modern food additive legislation by centuries. EFSA has not flagged any safety concern in its reviews of magnesium salts as food additives.

Who should be careful

People with kidney disease should be cautious about all supplemental magnesium sources, including fortified foods and drinks, as impaired kidneys struggle to excrete excess magnesium. People taking certain medications (tetracyclines, bisphosphonates) should note that magnesium can reduce their absorption if consumed at the same time. Look for 'magnesium chloride' or 'E511' in the ingredients list.

The honest read

Cutting through the noise

Magnesium chloride has been used in food for centuries, most visibly as the tofu coagulant nigari in East Asian cuisine. As a food additive it supplies the same magnesium ion found naturally in leafy greens, nuts, and wholegrains. The quantities used in food are well within normal dietary ranges. No regulatory body has raised a concern about its use in food at levels achieved through normal consumption. The laxative effect associated with magnesium supplements requires substantially higher doses than those contributed by E511 in food.

Related additives

Common questions

Is E511 banned in the UK?

No. Magnesium chloride (E511) is approved for use in the UK under the FSA approved-additives list and assimilated EU Regulation 1333/2008. It is a long-established food additive with no current restrictions or bans.

What is nigari and is it the same as E511?

Yes. Nigari is the traditional Japanese name for the bittern left after salt is extracted from seawater, which is predominantly magnesium chloride. It has been used to coagulate tofu for centuries. When used in commercially produced tofu sold in the UK, it may be declared as 'nigari', 'magnesium chloride', or 'E511' on the label.

What foods contain E511?

Tofu is by far the most common source, where magnesium chloride acts as the coagulant that sets soy milk into a solid block. It also appears in some mineral waters, sports and electrolyte drinks, food supplements, infant formula, and some processed vegetables where it is used as a firming agent.

Is E511 vegan?

Yes. Magnesium chloride is derived from mineral sources such as seawater or brine deposits. It contains no animal-derived ingredients and is suitable for vegans and vegetarians. It is in fact the coagulant of choice in much vegan cooking, being used to make tofu.

Sources

Last reviewed: 20 June 2026

See this on every food you scan

NutraSafe reads the label and puts every additive into plain English, with the source, right in the app.

Get NutraSafe on the App Store
NutraSafe Pro · £3.99/month · iOS