Forest conversion is one of the greatest global threats to biodiversity, and land-use change and subsequent biodiversity declines sometimes occur over a variety of underlying geologies. However, how forest conversion and underlying geology interact to alter biodiversity is underappreciated, although spatial variability in geology is considered an integral part of sustaining ecosystems. We aimed to examine the effects of forest conversion to farmland, the underlying geology, and their interaction on the stream fishes' diversity, evenness, and abundance in northeastern Japan. We disentangled complex pathways between abiotic and biotic factors with structural equation modeling. Species diversity of stream fishes was indirectly shaped by the interaction of land use and underlying geology. Diversity declined due to nutrient enrichment associated with farmlands, which was mainly the result of changes in evenness rather than by changes in species richness. This impact was strongest in streams with volcanic geology with coarse substrates probably because of the differential responses of abundant stream fishes to nutrient enrichment (i.e., dominance) and the high dependency of these fishes on large streambed materials during their life cycles. Our findings suggest that remediation of deforested or degraded forest landscapes would be more efficient if the interaction between land use and underlying geology was considered. For example, the negative impacts of farmland on evenness were larger in streams with volcanic geology than in other stream types, suggesting that riparian forest restoration along such streams would efficiently provide restoration benefits to stream fishes. Our results also suggest that land clearing around such streams should be avoided to conserve species evenness of stream fishes.