The best product that you can use to kill earthworms is carbamate insecticide. According to many users, this product is well known for killing earthworms. Furthermore, carbaryl-based products can also be handy in this case. Merit (imidacloprid) and Dursban (chlorpyrifos) are types of chemicals you can use too.