The evolution of reproductive isolation in the presence of gene flow is supported by theoretical models but rarely by data. Empirical support might be gained from studies of parallel hybrid zones between interbreeding taxa. We analysed gene flow over two hybrid zones separating ecotypes of Littorina saxatilis to test the expectation that neutral genetic markers will show site-specific differences if barriers have evolved in situ. Distinct ecotypes found in contrasting shore habitats are separated by divergent selection and poor dispersal, but hybrid zones appear between them. Swedish islands formed by postglacial uplift 5000 years ago provide opportunities to assess genetic structure in a recently evolved system. Each island houses a discrete population containing subpopulations of different ecotypes. Hybrid zones between ecotypes may be a product of ecological divergence occurring on each island or a consequence of secondary overlap of ecotypes of allopatric origin that have spread among the islands. We used six microsatellite loci to assess gene flow and genetic profiles of hybrid zones on two islands. We found reduced gene flow over both hybrid zones, indicating the presence of local reproductive barriers between ecotypes. Nevertheless, subpopulations of different ecotypes from the same island were genetically more similar to each other than were subpopulations of the same ecotype from different islands. Moreover, neutral genetic traits separating the two ecotypes across hybrid zones were site-specific. This supports a scenario of in situ origin of ecotypes by ecological divergence and nonallopatric evolution of reproductive barriers.