The concentrations of ivermectin in the gastrointestinal tract of sheep and cattle were determined after subcutaneous administration of ivermectin. Ivermectin was not detected (limit of detection 1 ng/ml) in abomasal and ruminal fluids either after a normal therapeutic dose of 200 micrograms/kg or even at an increased dose of 2000 micrograms/kg. It was also not detected in abomasal and ruminal fluids of a sheep infected with the abomasal parasite Ostertagia circumcincta. However, ivermectin was detectable at similar concentrations in abomasal mucus and in small intestinal mucus. Excretion of ivermectin was high in bile but the concentrations in small intestinal mucus, distal and proximal to the bile duct opening, were similar. It is hypothesized that the low efficacy of ivermectin against small intestinal nematodes compared with abomasal nematodes is not due to differences in ivermectin concentrations in the predilection sites but is probably due to tachyphylaxis in the nematodes allowing the small intestinal nematodes to re-establish before they have left their predilection site. Ivermectin was excreted in the milk of ewes at concentrations similar to those in plasma. Lambs suckling ivermectin-treated ewes received about 4% of a normal therapeutic dose (200 micrograms/kg) via the milk.