Identifying the drivers and processes that determine globally the geographic range size of species is crucial to understanding the geographic distribution of biodiversity and further predicting the response of species to current global changes. However, these drivers and processes are still poorly understood, and no ecological explanation has emerged yet as preponderant in explaining the extent of species’ geographical range. Here, we identify the main drivers of the geographic range size variation in freshwater fishes at global and biogeographic scales and determine how these drivers affect range size both directly and indirectly. We tested the main hypotheses already proposed to explain range size variation, using geographic ranges of 8,147 strictly freshwater fish species (i.e., 63% of all known species). We found that, contrary to terrestrial organisms, for which climate and topography seem preponderant in determining species’ range size, the geographic range sizes of freshwater fishes are mostly explained by the species’ position within the river network, and by the historical connection among river basins during Quaternary low-sealevel periods. Large-ranged fish species inhabit preferentially lowland areas of river basins, where hydrological connectivity is the highest, and also are found in river basins that were historically connected. The disproportionately high explanatory power of these two drivers suggests that connectivity is the key component of riverine fish geographic range sizes, independent of any other potential driver, and indicates that the accelerated rates in river fragmentation might strongly affect fish species distribution and freshwater biodiversity.