SummaryThe Chocó-Tumbesian region of western Ecuador is one of the 25 global biodiversity hotspots harbouring high numbers of endemic species, which are heavily threatened by habitat loss and fragmentation. Moreover, ongoing climate change in the tropics drives species uphill as lower-lying areas are becoming constantly drier. Such upslope movement can pose major challenges for less mobile species, such as understorey birds which are confined to mature forests and unable to cross habitat gaps. Consequently, these species are threatened by a combination of upslope range shifts and forest fragmentation. In our study, we investigated population numbers and habitat requirements of the Ecuadorian Tapaculo Scytalopus robbinsi, which is endemic to the premontane cloud forests of south-western Ecuador. Comparing the microhabitat structure within territories with control sites revealed that Ecuadorian Tapaculos prefer old secondary forests. Moreover, connectivity between forest fragments was the strongest predictor of the presence of territories within them. We estimated the mean upslope shift of the distribution range as 100 m per decade and developed a model of habitat availability for the revised range. Extrapolating the number of territories from the study area to the distributional range of the Ecuadorian Tapaculo showed that the global population size is smaller than previously assumed. Our results suggest that the Ecuadorian Tapaculo is strongly affected by forest loss and degradation. Therefore, to prevent a continuing decline in population numbers or even extinction, conservation measures focusing on restoring connectivity between fragments and increasing habitat quality and quantity for the remaining populations need to be prioritised.