Several studies have been performed to determine specific antigens for the diagnosis of tapeworms. One of these antigens is Tso31, which is used to differentiate Taenia solium and Taenia saginata in human feces. The aim of the present work was the molecular characterization of this protein in different tapeworm specimens collected in Peru, T. omisa (n = 6), T. hydatigena (n = 7), T. taeniaeformis (n = 4), T. pisiformes (n = 1), T. multiceps (n=7) and T. solium (n = 10). Total DNA was extracted from each proglottid using a commercial DNA kit for tissue. A nested-PCR was used to amplify a fragment of the previously described oncosphere-specific protein Tso31 gene. The PCR products were analyzed by 1.5% agarose gel electrophoresis and visualized after ethidium bromide staining. All PCR-positive products were sequenced and their sequences were compared. Of all the tapeworms analyzed only T. solium and T. multiceps amplified the Tso31 gene. All sequences were identical for each specie. Our T. solium Tso31 showed 100% of similarity when compared with published GenBank sequences. The difference between T. solium and T. multiceps Tso31 samples was 8.1%. In conclusion, our results show that the tsol31 gene is not exclusive to T. solium.