Variation in cognitive abilities is thought to be linked to variation in brain size, which varies across species with either social factors (Social Intelligence Hypothesis) or ecological challenges (Ecological Intelligence Hypothesis). However, the nature of the ecological processes invoked by the Ecological Intelligence Hypothesis, like adaptations to certain habitat characteristics or dietary requirements, remains relatively poorly known. Here, we review comparative studies that experimentally investigated interspecific variation in cognitive performance in relation to a species’ degree of ecological specialisation. Overall, the relevant literature was biased towards studies of mammals and birds as well as studies focusing on ecological challenges related to diet. We separated ecological challenges into those related to searching for food, accessing a food item and memorising food locations. We found interspecific variation in cognitive performance that can be explained by adaptations to different foraging styles. Species-specific adaptations to certain ecological conditions, like food patch distribution, characteristics of food items or seasonality also broadly predicted variation in cognitive abilities. A species’ innovative problem-solving and spatial processing ability, for example, could be explained by its use of specific foraging techniques or search strategies, respectively. Further, habitat generalists were more likely to outperform habitat specialists. Hence, we found evidence that ecological adaptations and cognitive performance are linked and that the classification concept of ecological specialisation can explain variation in cognitive performance only with regard to habitat, but not dietary specialisation.