Onchocercosis is a newly recognized disease in dogs that has been reported with higher frequency in Europe and in the United States. We report a case of a 3‐year‐old male mongrel stray dog from the Algarve region (South Portugal) who had a retrobulbar granuloma containing a filaroid nematode of the genus Onchocerca. A gravid adult female parasite was embedded in a granulomatous inflammation adjacent to the sclera beyond the retina. The parasite was 191 to 267 μm in diameter (mean = 225 μm), surrounded by a cuticule and owing a uterus that was filled with small unsheated microfilariae. The cuticule consisted of two separated layers in longitudinal sections. The external layer had cuticular ridges and the internal layer contained striations. Sequencing of the COI and ND5 mitochondrial genes confirmed the identity of this parasite as Onchocerca lupi. Furthermore, the first sequence of the 12S mitochondrial gene is reported in this study.