E-number
Is E904 (shellac) halal or haram?
Shellac is the shine on your sweets. It is also the most contested additive in the halal debate, because it is a secretion rather than a body.
E904 (shellac) is resin secreted by the lac insect and is listed as not permitted by major halal certifiers including JAKIM and the HFA. However, this is disputed: because shellac is a secretion rather than the insect itself, a minority of scholars treat it like beeswax and permit it. The Hanafi, Maliki and Shafi‘i positions on insect-derived products generally point to avoidance.
What shellac is
Shellac is a resin secreted by the female Kerria lacca insect onto tree branches, mainly in India and Thailand. The resin is scraped off, washed, heat-treated and dissolved in ethanol to make a liquid glaze. When the alcohol evaporates it leaves a hard, glossy, food-safe film.
Two facts matter for the ruling. First, the resin is a secretion, like honey or beeswax, not the insect's body. Second, the harvested resin inevitably contains insect fragments, which are filtered out to varying degrees. Food-grade shellac is refined, but "refined" is not "absent".
Names on labels
- E904
- Shellac
- Confectioner's glaze
- Resinous glaze
- Pharmaceutical glaze
- Lac resin / lac
- Sometimes simply "glazing agent"
Why do scholars disagree about shellac?
The case for avoiding it
The Hanafi, Shafi‘i and Hanbali schools generally classify insects as impermissible to eat. If insect matter remains in the refined resin, and some does, then the product carries a prohibited substance. This is the position adopted by JAKIM, MUI, the HFA and most certification bodies, which is why you will not find E904 in certified products.
The case for permitting it
The counter-argument is an analogy with honey and beeswax. Both are produced by an insect and both are permitted, honey explicitly so in the Qur'an. If the ruling on bee products depends on the substance being a secretion rather than the animal, the same logic extends to lac resin. Some Hanbali scholars and several contemporary jurists accept this, arguing that trace insect fragments in a refined resin fall under ‘afw, meaning that which is overlooked because it is unavoidable and negligible.
Where that leaves you
This is a case where qualified scholars disagree. The conservative and majority-certifier position is to avoid. If you follow a scholar who permits it, you have a real basis for that. What you should not do is assume the question does not exist, because a great many everyday sweets contain it.
Where E904 appears
| Category | Typical products |
|---|---|
| Confectionery | Hard-shell chocolate lentils, jelly beans, chewing gum shells, liquorice |
| Coated snacks | Chocolate-coated raisins and nuts |
| Bakery | Sprinkles, decorative pearls, glazed doughnuts |
| Fresh produce | Waxed apples, citrus and some peppers (often undeclared at point of sale) |
| Supplements | Tablet coatings, described as "pharmaceutical glaze" |
| Coffee | Some coated coffee beans |
The tell is gloss. If a sweet is unusually shiny and hard-shelled, check the glazing agent.
Which glazing agents are halal?
- E901 beeswax. Permitted in the mainstream position; a bee secretion, and the analogy that drives the shellac debate
- E903 carnauba wax. From the leaves of the Brazilian carnauba palm; entirely plant-based and uncontested
- E902 candelilla wax. Plant, from the candelilla shrub
- E914 oxidised polyethylene wax. Synthetic
Carnauba is the common substitute in vegan and halal-certified confectionery, so a product listing E903 rather than E904 has already resolved the question.
Frequently asked questions
Is shellac vegan?
No. Shellac is an insect-derived resin, so it is excluded from vegan products. This is useful in practice: a certified vegan label guarantees no E904. Vegetarian labelling, however, does not, because many vegetarian standards allow shellac.
Is confectioner’s glaze the same as shellac?
Yes. Confectioner’s glaze, resinous glaze, pharmaceutical glaze and lac resin are all names for shellac, carrying the E-number E904. Manufacturers frequently use the descriptive name rather than the code.
Why do some scholars allow shellac but not carmine?
Because shellac is a secretion the insect produces, like honey or beeswax, whereas carmine is made from the crushed body of the insect itself. Scholars who permit shellac rely on the analogy with bee products; that analogy does not extend to carmine, which is why carmine attracts a stronger consensus against.
Stop guessing in the supermarket aisle
Scan the barcode, get the verdict, see exactly which additive decided it. Free, no account, 13 languages.
Free · iOS 16.0+ · 19.3 MB · No sign-up required