Shellac (E904) is not affected by this setting. It is a secretion, not the insect itself, and scholars treat it differently, so it stays Doubtful either way. Carmine (E120) is the one that follows the insect setting in checking preferences.
What is E904?
E904 is Shellac, a food additive used as a glazing agent. Scholars differ on whether a lac insect secretion is permissible like honey. Darul Ifta Birmingham rules shellac prohibited as an insect by-product. Another Hanafi answer treats the secretion itself as halal but advises against edible products, because insect traces may remain. Doubtful.
On the UK additive list: E904 appears on the Food Standards Agency's approved additives and E numbers list as "Shellac" (list published 25 June 2026, read by us on 9 November 2026). The list names the additive. It does not say where it comes from or whether it is halal.
Also written as: INS 904, E-904, E 904, confectioner's glaze. INS is the international numbering system used outside Europe, including on labels in Asia, Australia and the Middle East.
How E904 is made and where it is used
This section is food science. The religious classification is explained further down.
Shellac is a natural glaze. It gives the shiny coating on sweets, chocolate-coated nuts, tablets and some fruit.
It is the resin secreted by the lac insect (Kerria lacca) on trees in India and Thailand. The resin is scraped, melted, filtered and often dewaxed. It is commonly applied dissolved in ethanol, which then evaporates.
Look for it on the shiny shell of panned sweets, glazed chocolate, tablets and polished fruit. It may be listed as confectioner's glaze or resinous glaze.
What to do
Look for a halal logo, a "vegan" label, or a stated plant source on the pack. If none of these are present, you can contact the manufacturer and ask for the source.
Is E904 vegetarian or vegan?
Shellac is a resin made by lac insects. It is not vegan, and vegetarians differ on it: some accept it because the insects are not eaten, others avoid it.
Why we classify it this way
Doubtful Scholars differ on whether a lac insect secretion is permissible like honey. Darul Ifta Birmingham rules shellac prohibited as an insect by-product. Another Hanafi answer treats the secretion itself as halal but advises against edible products, because insect traces may remain. Doubtful.
Basis: Scholars differ. Recognised scholars or schools reach different conclusions. We show each view and do not present one as the only one.
Different views
| View | Result | Why |
|---|---|---|
| Darul Ifta Birmingham | Haram | Shellac is an insect by-product and is prohibited to consume. |
| Another Hanafi answer | Doubtful | The secretion itself is halal by analogy with honey, but edible products containing shellac should be avoided because traces of the insect may remain. |
Shellac is a secretion; carmine (E120) comes from the insect's body. Scholars treat the two differently, so shellac is Doubtful and carmine follows your insect setting.
References
- Is Shellac Halal (Fatwa 04533), Darul Ifta Birmingham. Treats shellac as hawwam (vermin and pests) that falls under khaba'ith, and says it is unlawful to consume.
- What Is the Dominant View on Shellac? (Fatwa 06106), Darul Ifta Birmingham, 11 June 2022. Says consuming shellac is prohibited because insects and their by-products are forbidden according to all mainstream schools, citing Al-Fatawa Al-Hindiyyah.
- Is it Halaal to eat Pillsbury products which contains confectioners glaze, IslamQA (Hanafi section), answered by Mufti Luqman Hansrot. Treats the lac secretion as halal by analogy with honey, but says edible products containing shellac are unlawful because traces of the insect may remain.
Classification audited 3 November 2026. It has not been reviewed by a scholar. How classifications work · Suggest a correction
Frequently asked questions
Is E904 halal?
E904 (Shellac) is doubtful (mushbooh). Scholars differ on whether a lac insect secretion is permissible like honey. Darul Ifta Birmingham rules shellac prohibited as an insect by-product. Another Hanafi answer treats the secretion itself as halal but advises against edible products, because insect traces may remain. Doubtful.
What is E904 made from?
Resin secreted by the lac insect.
What is E904 used for?
E904 is used as a glazing agent, typically in sweets, chocolates, fruit coatings and tablets.
What should I do if a product contains E904?
Look for a halal logo, a "vegan" label, or a stated plant source on the pack. If none of these are present, you can contact the manufacturer and ask for the source.
Is E904 vegetarian or vegan?
Shellac is a resin made by lac insects. It is not vegan, and vegetarians differ on it: some accept it because the insects are not eaten, others avoid it.