The polymorphic merozoite surface protein-2 (MSP-2) of Plasmodium falciparum is a major malaria-vaccine candidate. In the present study, PCR and hybridization with allelic-specific probes were used to type the Msp-2 gene from isolates from hypo-endemic Brazil (N = 113), meso-endemic Vietnam (N = 208) and holo-endemic Tanzania (N = 67). The typing methods were designed to group isolates into the dimorphic allelic families FC27 and IC1 and to detect possible between-family recombination events. The analysis was complemented by a comparison of 156 Msp-2 sequences from the GenBank database with 12 additional sequences obtained during the present study. Statistically significant differences were detected in pair-wise comparisons of the distribution of Msp-2 allelic types in Brazil and Vietnam, and in Brazil and Tanzania, but not in Vietnam and Tanzania. The extent of allelic diversity in the Msp-2 gene, as estimated by the total number of different alleles found in a given parasite population and the mean multiplicity of infections, clearly paralleled the levels of malaria endemicity in the study areas. However, no correlation between age and multiplicity of infections was found in the subjects. The patterns of Msp-2 diversity in Brazil appeared to be temporally stable, since no significant difference was observed in the distribution of Msp-2 allelic types among isolates collected, 10--13 years apart, in the same area of Rondônia. Despite the extensive sequence diversity found in Msp-2 alleles, especially in the central repetitive region of the molecule, several instances of identical or nearly identical alleles were found among isolates from different countries and regions, possibly as a result of extensive homoplasy. No recombinant allele was detected by molecular typing in any of the study sites, and the GenBank database included only 12 recombinant sequences (representing 7% of all reported Msp-2 sequences), all of them with an IC1-type 5' end and an FC27-type 3' end. A single, putative, crossover site was characterised for all recombinant alleles. Most of the allelic diversity observed was therefore attributable to variation in the repetitive region of the gene, instead of recombination between alleles of dimorphic families (as commonly found, for example, in the Msp-1 gene). The implications of these findings for studies on the genetic and antigenic diversity of malarial parasites are discussed.