Dictyocaulus lungworms are the causative agents of parasitic bronchitis (dictyocaulosis) characterised by coughing and severe lung pathology in domestic and wild ruminants. The objective of this study was to design a simple molecular test that could detect of lungworm DNA from both adult and larval lungworms and could distinguish between the most common Dictyocaulus species found in cattle and in some species of wild ruminants. A multiplex PCR test with four novel primers targeting species-specific regions of the second internal transcribed spacer (ITS2) was designed based on our own sequence data as well as on available sequence information in GenBank. After PCR amplification of lungworms from European bison (Bison bonasus), cattle (Bos taurus), moose (Alces alces), red deer (Cervus elaphus) and roe deer (Capreolus capreolus), products were analysed with gel electrophoresis. This resulted in three specific bands of different size depending on the species analysed. Dictyocaulus viviparus collected from cattle or European bison resulted in a ca. 560 bp band, D. capreolus collected from roe deer produced a band ca. 400 bp and the longest DNA band (ca. 660 bp) was obtained with DNA from Dictyocaulus sp. collected from red deer and moose. Dictyocaulus eckerti bands with expected size of 714 bp were not observed in our study. The multiplex method produced consistent results with samples from both Sweden and Poland and overcame the limitations of traditional techniques based on differences in morphological features of parasites at different life stages.