Molecular typing of leptospiral strains based on variation within putative O-antigen polymerase gene (wzy) was determined among reference strains and those isolated from patients. Using the PCR primers designed from the flanking gene of wzy derived from Leptospira interrogans serovar Copenhageni, all L. interrogans serovars as well as human and rodent leptospiral isolates from Thailand could be amplified. The size of PCR product ranged from 1 to 1.5 kb. The limitation of these primer pairs was the inability to amplify those strains whose sequences differ in the region of the primers, these included Leptospira biflexa (serovar Patoc), Leptospira borgpetersenii (serovar Tarassovi) and Leptospira kirschneri (serovar Bim, Bulgarica, Butembo). Notably, amplification was not limited to L. interrogans as demonstrated by the amplification of some strains from L. kirschneri, Leptospira meyeri, Leptospira noguchii, Leptospira santarosai, L. borgpetersenii and Leptospira weilii. The phylogenetic tree of wzy sequence, inferred by posterior probability of the Bayesian, enabled the categorization of leptospiral serovars into seven genetically related group, of which its differentiation power was better than that of the more highly conserved 16S rRNA gene, which is used extensively for genotyping.