Using the most comprehensive fish occurrence database, we evaluated the importance of ecological and historical drivers in diversity patterns of subdrainage basins across the Amazon system. Linear models reveal the influence of climatic conditions, habitat size and sub-basin isolation on species diversity. Unexpectedly, the species richness model also highlighted a negative upriver-downriver gradient, contrary ...