In a continuously distributed population of the self‐incompatible species Armeria maritima, nine artificially delimited subpopulations were sampled in a transect with a length of 1300 m. Genetic variation was quantified with enzyme electrophoresis, which revealed five polymorphic loci. The genotypic distribution within subpopulations accorded to Hardy‐Weinberg proportions, but revealed a Wahlund effect at one of the loci when the total population was considered. The Wahlund effect was supported by significant differences in allele frequencies among the nine subpopulations. The differentiation was low with a FST value of 0.028, which is much smaller than the previously reported value of 0.18 for 17 geographically separated Danish populations of this species. The low differentiation of the subpopulations was also revealed by an assignment test. In this test, the multilocus genotype of an individual is used to assign it to the subpopulation it has the highest likelihood to appear in. With this test, a lower percentage of individuals were assigned to the subpopulation of origin (24) than was seen with assignment of individuals to populations in Denmark (34). No abrupt changes in allele frequencies were observed. A spatial autocorrelation analysis suggested a breeding patch size of 500–700 m in diameter along the transect.