Even though there is no doubt that an invasion of a landscape by plants is a function of the abundance and spatial arrangement of different types of habitat, to the best of our knowledge, there has been no analysis of the relation between the patterns of plant invasion and the availability of specific habitats within landscapes invaded. The application of habitat selection functions (HSFs) provides a quantitative measure for determining if specific habitats are more likely to be invaded by a given species. The remarkable dynamics of spread of invasive alien plants makes them an ideal species pool for applying HSFs. This paper discusses the possible application of a bootstrap test of significance for identifying habitat types where the incidence of alien species is higher (preferred) or lower (avoided) than would be expected from a random null model for which all habitat types are invaded in proportion to their availability. In order to demonstrate the usefulness of the proposed approach we explored the habitat selection of a coastal alien plant, Carpobrotus aff. acinaciformis, in the Tyrrhenian coastal dunes of central Italy. According to this bootstrap test of significance, some important habitats of European conservation interest were more readily invaded by Carpobrotus than expected. From an applied research perspective, the use of an HSF approach can help identify the most invasion-prone habitats and, therefore, may facilitate the development of a clear and targeted prevention policy to control the introduction and spread of alien species in a landscape, for example, coastal dune habitats.