Dosages as high as 50 to 100 times the amount used to prevent heartworms are used to treat mites on dogs (demodectic mange). High dosages of ivermectin are considered safe for all dogs except those with the MDR1 gene mutation that makes them sensitive to ivermectin and other drugs.