Niclosamide, sold under the brand name Niclocide among others, is a medication used to treat tapeworm infestations. This includes diphyllobothriasis, hymenolepiasis, and taeniasis. It is not effective against other worms such as pinworms or roundworms. It is taken by mouth.