The present application relates to known and novel aryl- and hetarylcarboxamides of the formula (I) and to their use as medicaments for controlling endoparasites in animals or humans, and also to parasiticidal compositions, in particular endoparasites, comprising aryl- and hetarylcyclylcarboxamides.