Mitochondrial DNA (mtDNA) sequence data and amplified fragment length polymorphism (AFLP) patterns were compared for the lungworm Dictyocaulus viviparus, a nematode parasite of cattle. Eight individual D. viviparus samples from each of 8 herds in Sweden and 1 laboratory isolate were analysed, with the aim of describing the diversity and genetic structure in populations using different genetic markers on exactly the same DNA samplesNucleotide sequence data reported in this paper have been submitted to GenBank under the Accession numbers DQ299539-DQ299826.. There was qualitative agreement between the whole-genome AFLP data and the mtDNA sequence data, both indicating relatively strong genetic differentiation among the Swedish farms. However, the AFLP data detected much more genetic variation than did the mtDNA data, even after allowing for the different inheritance patterns of the markers, and indicated that there was much less differentiation among the populations. The mtDNA data therefore seemed to be more informative about the most recent history of the parasite populations, as the general patterns were less obscured by detailed inter-relationships among individual worms. The 4 mtDNA genes sequenced (1542 bp) showed consistent patterns, although there was more genetic variation in the protein-coding genes than in the structural RNA genes. Furthermore, there appeared to be at least 3 distinct genetic groups of D. viviparus infecting Swedish cattle, 1 of which was predominant and showed considerable differentiation between farms, but not necessarily within farms. Second, the 2 smaller genetic groups occurred on farms where the predominant group also occurred, suggesting that these farms have had multiple introductions of D. viviparus.