Hiking-based ecotourism in mountain regions is promoted as a nature-friendly alternative to mass tourism, yet rapidly growing visitor numbers can degrade forest corridors and undermine biodiversity. This study presents a socio-ecological assessment of hiking tourism impact on forest corridors and biodiversity in mountainous areas, using a heavily visited mountain landscape in Central Java, Indonesia, as a case study. We integrated community ethnobotanical knowledge, corridor biophysical profiles, hiker preferences, trail degradation indicators, and the diversity of plants and birds across six hiking corridors with contrasting access and visitation levels. Data were collected through household interviews, visitor surveys, vegetation and bird inventories, and field measurements of slope, canopy cover, trail width, root exposure, ecological pressure, and solid waste. Ethnobotanical indices were combined with cluster analysis and a structural equation model estimated using SEM-PLS to test causal pathways among social and ecological variables. Results show that communities retain rich knowledge of cultivated and useful plants, while many wild forest species have low cultural salience, indicating erosion of traditional ecological knowledge. Corridors with easy access attract more visitors, exhibit higher ecological pressure, greater root exposure and trail widening, and generate much larger waste loads. In contrast, less visited forested corridors support higher plant and bird richness and fewer invasive alien species. The SEM-PLS model indicates that ethnobotanical knowledge has positive direct and indirect effects on biodiversity, hiker preference drives physical degradation, and corridor profile influences both preference and degradation. We conclude that managing visitor flows and strengthening community-based knowledge conservation are key strategies to maintain forest corridor integrity and biodiversity in mountainous hiking destinations.