Is Shellac Halal?

The glaze on jelly beans, apples and pills: a practical guide

Last updated: 19 October 2026

Typical verdict
⚠️ MUSHBOOH — Doubtful Unless the Source Is Known
Sources differ: one Hanafi answer says foods containing shellac are halal, and a 2012 food guide marked it as under investigation. We class it as doubtful; follow your scholar.

The Short Answer

Shellac is doubtful (mushbooh), and sources differ. It is a resin secreted by the lac insect, used as a glaze on sweets, tablets and fruit. This page is the everyday-product version of our fuller E904 shellac guide, which sets out the scholarly sources in detail.

A Muftionline answer in the Hanafi tradition says foods containing shellac are halal. The 2012 MuftiSays food guide said that shellac's status was under investigation, concerning whether lac insect secretions are pure or impure. Both are real sources, and they do not agree.

Quick guide: If you follow the Hanafi answer, shellac glaze is acceptable. If you prefer to avoid it, look for "E904", "shellac", "confectioner's glaze" and "pharmaceutical glaze".

Shellac on your shopping list

ProductWhat to look for
Glossy sweets and jelly beans"Confectioner's glaze", "shellac" or "E904" near the end of the ingredient list
Chocolate-coated nuts and dragéesOften glazed for shine
Tablets and capsules"Pharmaceutical glaze" or an enteric coating
Citrus fruit and applesA sign or label saying the fruit is waxed or coated

The general reference on shellac lists these uses: a confectioner's glaze on pills and sweets, a wax-like coating on citrus fruit, and part of the coating that replaces the natural wax removed from apples.

What is it made from?

Shellac is a resin secreted by the female lac bug on trees in India and Thailand. The resin is scraped from the bark and heated so it runs out and leaves the bark and the insects behind. It is dried into flakes. So the shellac in food is the secretion, not the insect, though the raw material starts out containing bugs and bark.

What do the sources say?

We were not able to find a current ruling by a national halal authority. If you have one, please send it through our contact page.

Practical choices

Vegan notes

Shellac is not vegan. Many vegans avoid it for that reason, and some vegan sweets say "shellac-free".

How the insect question fits in

People often ask whether shellac is a problem because it comes from an insect. The question has two parts. First, whether insects are permitted food: schools differ on insects as a category, and some scholars are more permissive about certain insects than others. Second, whether a secretion from an insect is pure: this is the point the 2012 food guide flagged as under investigation, and the point the Muftionline answer, by implication, resolves in favour of purity. The question quoted on the Muftionline page also mentions an analogy with honey, which is a secretion from an insect, but the answer does not evaluate that analogy, and we do not either.

If you follow a school that restricts insects, ask a scholar of your school how to treat a resin from an insect that is not itself eaten.

Common misunderstandings about shellac

A simple way to decide

  1. Do you follow a scholar or school that has addressed shellac? If yes, follow it.
  2. If not, are you comfortable relying on the Hanafi answer cited above? If yes, shellac is acceptable on that basis.
  3. If you prefer caution, avoid glazed sweets and coated tablets, and wash or peel fruit.
  4. Whatever you choose, apply it consistently and do not be anxious about trace exposure.

Names to look for on a label

Shellac is listed under several names: shellac, E904, confectioner's glaze, pharmaceutical glaze, resinous glaze, lac resin and natural glaze. In a long ingredient list on sweets, it usually appears near the end, because it is used in small quantities for shine. On fruit, the coating is usually declared by a sign or a sticker rather than in an ingredient list. On tablets, it may be listed among the inactive ingredients.

Asking the maker

"Hello, I am a Muslim customer. Does [product and barcode] contain shellac or confectioner's glaze? Do you hold a halal certificate? Thank you."

Why we say "check" for doubtful ingredients

Islamic teaching on doubtful matters is the basis for how we label these ingredients. A well-known hadith, recorded in the collections of al-Bukhari and Muslim, says that the halal is clear and the haram is clear, and between them are doubtful matters that many people do not know about. Scholars generally draw two practical points from it. First, you are encouraged to avoid what you have real reason to doubt, as far as you reasonably can. Second, this is not a call to be anxious about every additive: where there is no real reason to doubt, most scholars do not ask you to investigate beyond what is reasonable.

That is why our "doubtful" label means check if you can, not assume it is forbidden. A halal logo, a clear source on the label, or a short email to the maker will usually settle the matter. If you follow a particular madhab or scholar, their guidance comes first.

Shellac Compared With Other Coatings and Colours

E-CodeNameStatusNotes
E904ShellacDoubtfulResin secreted by the lac insect. One Hanafi answer says foods containing shellac are halal; a 2012 food guide listed it as under investigation. Practising Muslims follow their own scholar. Full guide →
E120Carmine / CochinealDisputedRulings differ. Indonesia's MUI (Fatwa No. 33/2011) permits cochineal colouring; many Hanafi scholars and some certifiers do not. Follow your madhab or local halal authority. Full guide →
E441GelatineHaramHaram when from pork or from animals not slaughtered in the halal way. Halal from fish, plant-based alternatives, or certified halal sources. Scholars differ on whether transformation changes the ruling. Full guide →
E422Glycerol (glycerine)DoubtfulPlant or chemical glycerine is halal; animal-derived glycerine is not unless from halal-slaughtered animals, and some scholars are more lenient for external use. The source is rarely stated on labels. Full guide →
E471Mono- and diglycerides of fatty acidsDoubtfulSource is not disclosed on labels and can be plant or animal. Full guide →
E901BeeswaxHalalAnimal product. Not vegan.

Frequently Asked Questions

Is shellac halal?

Sources differ. One Hanafi answer says foods containing shellac are halal, while a 2012 food guide marked it as under investigation. Follow your scholar.

Is confectioner's glaze halal?

Confectioner's glaze usually means shellac, so the same answer applies.

Is shellac on apples halal?

The same question applies. Washing and peeling is a practical option, or buy unwaxed fruit.

Is shellac in medicine halal?

Ask your pharmacist for an uncoated version if you prefer to avoid it.

What is the difference between shellac and E904?

None. E904 is the E-number for shellac. See our E904 guide.

Check Any E-Code or Ingredient Instantly

Type any E-code or ingredient name into Afiya AI's free checker and get an instant answer with an explanation.

✦ Open Free Halal Checker

Sources

These are the pages we read for this guide. We summarise what each says; we do not claim these bodies endorse Afiya AI.

Related Guides

Disclaimer: This is a general educational reference, not a fatwa. Scholars differ on some points, and halal status can vary by country, manufacturing process and school of Islamic thought. Rulings vary by country and certifier; always confirm with your local halal authority or the manufacturer. Afiya AI is not a halal certification body and does not give religious rulings.