Theileria spp. and Anaplasma spp., which are important tick-borne pathogens (TBP5), impact the health of humans and animals in tropical and subtropical areas. Theileria and Anaplasma co-infections are common in sheep and goats. Following alignment of the relevant DNA sequences, two primer sets were designed to specifically target the Theileria spp. 18S rRNA and Anaplasma spp. 16S rRNA gene sequences. Genomic DNA from the two genera was serially diluted tenfold for testing the sensitivities of detection of the primer sets. The specificities of the primer sets were confirmed when DNA from Anaplasma and Theileria (positive controls), other related hematoparasites (negative controls) and ddH2O were used as templates. Fifty field samples were also used to evaluate the utility of single PCR and duplex PCR assays, and the detection results were compared with those of the PCR methods previously published. An optimized duplex PCR assay was established from the two primer sets based on the relevant genes from the two TBPs, and this assay generated products of 298-bp (Theileria spp.) and 139-bp (Anaplasma spp.). The detection limit of the assay was 29.4 x 10(-3) ng per I, and there was no cross-reaction with the DNA from other hematoparasites. The results showed that the newly developed duplex PCR assay had an efficiency of detection (P >0.05) similar to other published PCR methods. In this study, a duplex PCR assay was developed that can simultaneously identify Theileria spp. and Anaplasma spp. in sheep and goats. This duplex PCR is a potentially valuable assay for epidemiological studies of TBP5 in that it can detect cases of mixed infections of the pathogens. (C) 2017 Elsevier Inc. All rights reserved.