Abstract: Since the Cenozoic Era, the southern Iberian Peninsula has undergone a series of complex geological and climatic changes that have shaped the hydrographic configuration of the freshwater network, influencing the present‐day distribution of primary freshwater species and favoring a high level of local endemicity. The cyprinid species Luciobarbus sclateri (Günther, 1968) is an endemic species confined to the southern Iberian Peninsula and characterized by a complex evolutionary history. Previous studies linked the structure of L. sclateri populations to the effects of climate change during glaciations and were not able to explain the genetic discordance found between nuclear and mitochondrial markers. The results of this study show that the structure of L. sclateri populations is a reflection of diversification processes linked to the geological history of the region. Thus, we found three main mitochondrial phylogroups: the first one corresponding to small basins in southern Iberian Peninsula, a second one in eastern Iberian Peninsula, corresponding to Segura population, and a third one including the rest of the basins where the species is distributed. The southern group began diverging in the Pliocene as result of tectonic dynamics characterized by the emersion of the basins around the Strait of Gibraltar. The other two groups began diverging with the formation of the current Iberian hydrographic system during Pleistocene. So, the isolation of the hydrographic basins was the main factor driving intraspecific differentiation, followed by recent secondary contacts, admixture, and re‐isolation of the populations. [ABSTRACT FROM AUTHOR]