Diagnosis is by finding microfilariae in skin samples, the cornea, or the anterior chamber of the eye; identifying adult worms in subcutaneous nodules; or using polymerase chain reaction (PCR) to detect parasite DNA.