The evolution of dispersal rate is studied with a model of several local populations linked by dispersal. Three dispersal strategies are considered where all, half or none of the offspring disperse. The spatial scale (number of patches) and the temporal scale (probability of local extinction) of the environment are critical in determining the selective advantage of the different dispersal strategies. The results from the simulations suggest that an interaction between group selection and individual selection results in a different outcome in relation to the spatial and temporal scales of the environment. Such an interaction is able to maintain a polymorphism in dispersal strategies. The maintenance of this polymorphism is also scale-dependent. This study suggests a mechanism for the short-term evolution of dispersal, and provides a testable prediction of this hypothesis, namely that loss of dispersal abilities should be more frequent in spatially more continuous environments, or in temporally more stable environments.