The pentose phosphate cycle is considered as a major source of NADPH and pentose needed for nucleic acid biosynthesis. 6-Phosphogluconate dehydrogenase (6PGD), an enzyme participating in this cycle, catalyzes the oxidative decarboxylation of 6PGD to ribulose 5-phosphate with the subsequent release of CO2 and the reduction of NADP. We have determined the amino acid sequence of 6PGD of Bactrocera oleae and constructed a three-dimensional model based on the homologous known sheep structure. In a comparative study of 6PGD sequences from numerous species, all the conserved and variable regions of the enzyme were analyzed and the regions of functional importance were localized, in an attempt promoted also by the direct involvement of the enzyme in various human diseases. Thus, analysis of amino acid variability of 37 6PGD sequences revealed that all regions important for the catalytic activity, such as those forming the substrate and coenzyme binding sites, are highly conserved in all species examined. Moreover, several amino acid residues responsible for substrate and coenzyme specificity were also found to be identical in all species examined. The higher percentage of protein divergence is observed at two regions that accumulate mutations, located at the distant parts of the two domains of the enzyme with respect to their interface. These peripheral regions of non-functional importance are highly variable and are predicted as antigenic, thus reflecting possible regions for antibody recognition. Furthermore, locating the differences between diptera 6PGD sequences on the three-dimensional model suggests probable positions of different amino acid residues appearing at B. oleae fast, intermediate, and slow allozymic variants.