Species’ ranges are limited by both ecological and evolutionary constraints. While there is a growing appreciation that ecological constraints include interactions among species, like competition, we know relatively little about how interactions contribute to evolutionary constraints at species' niche and range limits. Building on concepts from community ecology and evolutionary biology, we review how biotic interactions can influence adaptation at range limits by impeding the demographic conditions that facilitate evolution (which we term a ‘demographic pathway to adaptation’), and/or by imposing evolutionary trade-offs with the abiotic environment (a ‘trade-offs pathway’). While theory for the former is well-developed, theory for the trade-offs pathway is not, and empirical evidence is scarce for both. Therefore, we develop a model to illustrate how fitness trade-offs along biotic and abiotic gradients could affect the potential for range expansion and niche evolution following ecological release. The model shows that which genotypes are favoured at species' range edges can depend strongly on the biotic context and the nature of fitness trade-offs. Experiments that characterize trade-offs and properly account for biotic context are needed to predict which species will expand their niche or range in response to environmental change.This article is part of the theme issue ‘Species’ ranges in the face of changing environments (Part II)’.