A vermifuge is a substance used for "worming", or expelling intestinal "worms", or, rather, macroinvertebrate parasites of the intestines. These include, for instance, tapeworms and roundworms.
One of the most important vermifuges in pre-modern human medicine was the male fern , Dryopteris filix-mas.