My diet:

E504 Magnesium carbonate

E504Anti-caking agentsOrigin: Mineral
Get a personal answer

Pick your family’s diets in the bar above.

Every diet

VeganYes
Gluten-freeYes
HalalYes
KosherYes
KetoYes
Low-FODMAPYes
The short answer
Magnesium carbonate (E504) is a fine mineral powder that keeps table salt and spice blends free-flowing. It's vegan, gluten-free and safe at the small levels used in food.
Generally safe

Fine for most people at normal amounts.

E-numberE504
Comes fromMineral
What it doesAnti-caking agents
Glycemic index—
Daily limitNot set
Also calledBasic magnesium carbonate, Magnesium salt of carbonic acid

Rules by country

🇺🇸 US FDAApproved
🇪🇺 European UnionApproved
🇨🇦 Health CanadaApproved
CaliforniaNo extra rules

Approved in the US, EU and Canada as an anticaking agent and carrier. It is also a common antacid ingredient, which shows the body handles magnesium well at these levels.

Daily limit: Experts haven’t set a number because normal food amounts are far below any level of concern.

What is it?

Magnesium carbonate coats salt and spice grains, so they do not clump when humid. Because it is mineral-based, it adds no flavor and does not change the color of the food.

Where it comes from: Mined from magnesium-rich rock or produced from magnesium salts in seawater. It is a fine white powder with no animal or plant source.

Why it’s in food

  • Keeps table salt pouring freely
  • Stops spice blends from clumping
  • Carries flavors in powdered sweets
  • Adds a white finish to confectionery

Often found in

Table saltSpice mixesPowdered sweetenersConfectionery dustingDry seasonings

Also listed as: Basic magnesium carbonate, Magnesium salt of carbonic acid, E504(i), E504

Health & gut impact

Laxative effectConcern

Large amounts of magnesium salts can loosen stools. The small amounts used in food are far below that level.

JECFA evaluation of magnesium salts

What can I use instead?

Silicon dioxide

Ratio: 1:1 by weight

Best for: Dry spice blends

Related

More anti-caking agents:

Common questions

Is E504 safe?

Yes. Magnesium carbonate is approved in the US, EU and Canada, and the amount in food is very small.

Why is magnesium carbonate in salt?

It keeps the salt free-flowing when humidity would otherwise make it clump.

Is Magnesium carbonate safe?

Generally safe (88/100). Approved in the US, EU and Canada as an anticaking agent and carrier. It is also a common antacid ingredient, which shows the body handles magnesium well at these levels.

Spotted a mistake on this page? Report it ›

Scientific sources & regulatory citations
  • EFSA OpenFoodTox: E504
  • JECFA evaluation of magnesium salts

INS 504 · CAS 546-93-0