The present invention further relates to ivermectin, most preferably formulated as an implant for administration of pet and domestic animals. These formulations provide long term protection against Dirofilaria parasites, without the risks for secondary adverse events of conventional formulations. Preferred formulations are implants and are administered at least twice a year, once a year, or at least once in 18 months, up to 24 months.