The invention refers to a pharmaceutical or nutraceutical composition, comprising a) a core, comprising a pharmaceutical or a nutraceutical active ingredient and b) an inner coating layer comprising at least 30 % by weight of one or more salts of alginic acid and c) an outer coating layer comprising at least 30 % by weight of one or more polymers or copolymers comprising anionic side groups.