EU law authorizes shellac for a defined list of foods. When EFSA reviewed the additive in 2024, that list ran to 11 food categories. In eight of them shellac may serve only as a glaze: chocolate products; other confectionery including breath-freshening microsweets; chewing gum; decorations, coatings and non-fruit fillings; small fine bakery wares coated with chocolate; snacks based on potato, cereal, flour or starch; processed nuts; and coffee beans. Food supplements in solid form such as tablets are also on the list.
The last two categories cover fresh produce and eggs. Shellac may coat the skin of citrus fruit, melons, apples, pears, peaches, pineapples, pomegranates, mangoes, avocados and papayas, and it may be used as a glaze on nuts. It is also permitted on the surface of unpeeled boiled eggs. A 2026 amendment added foods for special medical purposes in tablet and coated tablet form.
On packaged food the EU ingredient list names the category first, so shellac appears as glazing agent followed by shellac or E904. Plant waxes can fill the same slot. Codex classes candelilla wax (E902) and carnauba wax (E903) as glazing agents alongside shellac, and EFSA notes that EU law authorizes carnauba wax in that role. E901 in that position means beeswax, an insect product that vegans also avoid.