There are described tooth filling materials and dental varnishes for inhibiting the biofilm formation of Streptococcus mutans containing (a) a quantity of an active substance for inhibiting the biofilm formation, (b) a material for forming a structure for the uptake and delayed release of the active substance and (c) a filling material system. Another aspect of this invention relates to a method for producing tooth filling materials or dental varnishes according to the invention for inhibiting the biofilm formation of Streptococcus mutans. The present invention also relates to a kit comprising tooth filling materials or dental varnishes according to the invention and one or more additional constituents. There are also described methods for inhibiting the biofilm formation of Streptococcus mutans, methods for producing a dental component which inhibits the biofilm formation and the use of the active substance for producing a dental material.