Dispersal has received growing attention in marine ecology, particularly since evidence obtained with up-to-date techniques challenged the traditional view. The dogwhelk Nucella lapillus L., a sedentary gastropod with direct development, is a good example dispersal was traditionally assumed to be limited until studies with microsatellites disputed this idea. To shed some light on this controversy, the genetic structure of dogwhelk populations in northwest Spain was investigated with highly polymorphic AFLP markers giving special attention to the influence of hydrodynamic stress. In agreement with the expectations for a poor disperser, our results show a significant genetic structure at regional (<200 km) and areal scales (<15 km). However, the spatial genetic structure varied with wave-exposure in the present case study IBD was evident under sheltered conditions but absent from the exposed area where genetic differentiation was stronger. Our results provide evidence that differences in wave-exposure can exert a detectable influence on the genetic structure of coastal organisms, even in species without a planktonic larva.