Lymphatic filariasis is principally caused by Wuchereria bancrofti, and Brugia malayi. The other two filarial nematode species, Brugia pahangi and Dirofilaria immitis, possibly cause human zoonotic diseases. We propose the development of a PCR assay linked with DNA pyrosequencing as a rapid tool to identify W. bancrofti, B. malayi, B. pahangi, and D. immitis in blood samples and mosquitoes. Primers targeting the fragment of the 5S ribosomal RNA and spliced leader sequences were newly designed and developed to identify these four filarial nematodes. Analytical sensitivity and specificity were evaluated. Pyrosequencing determination of nucleotide variations within 36 nucleotides for B. malayi and B. pahangi, and 32 nucleotides for W. bancrofti and D. immitis is sufficient for differentiation of those filarial nematodes, and for detection of intraspecies genetic variation of B. malayi. This analysis could detect a single B. malayi, B. pahangi, W. bancrofti, and D. immitis microfilaria in blood samples. Overall, the PCR-linked pyrosequencing-based method was faster than direct sequencing and less expensive than real-time PCR or direct sequencing. This is the possibility of choice that can be applied in a high-throughput platform for identification and surveillance of reservoirs and vectors infected with lymphatic filaria in endemic areas.