ALADYN is a freely available cross-platform C++ modeling framework for stochastic simulation of joint allelic and demographic dynamics of spatially-structured populations. Juvenile survival is linked to the degree of match between an individual's phenotype and the local phenotypic optimum. There is considerable flexibility provided for the demography of the considered species and the genetic architecture of the traits under selection. ALADYN facilitates the investigation of adaptive processes to spatially and/or temporally changing conditions and the resulting niche and range dynamics. To our knowledge ALADYN is so far the only model that allows a continuous resolution of individuals' locations in a spatially explicit landscape together with the associated patterns of selection.