Genetic variability in purebred dogs is known to be highly structured, with differences among breeds accounting for approximately 30% of the genetic variation. However, analysis of the genetic structure in non-cosmopolitan breeds and local populations is still limited. Nine Portuguese native dog breeds, and other peripheral dog populations (five) with regional affinities, were characterized using 16 microsatellites and 225 amplified fragment length polymorphism (AFLP) markers, and the pattern of genetic differentiation was investigated. Although the level of breed differentiation detected is below that of other dog breeds, there is in most cases a correlation between breed affiliation and molecular structure. AFLP markers and Bayesian clustering methods allowed an average of 73.1% of individuals to be correctly assigned to source populations, providing robust genotypic assessment of breed affiliation. A geographical genetic structure was also detected, which suggests a limited influence of African dogs on the Iberian breeds. The sampling effect on the estimation of population structure was evaluated and there was a 2.2% decrease in genetic differentiation among breeds when working animals were included. Genetic diversity of stray dogs was also assessed and there is no evidence that they pose a threat to the preservation of the gene pool of native dog breeds.