Despite the fact that we have improved our understanding of how island age, size and isolation affect the structure of insular communities, we still fall short in knowing the effects of environmental (climatic and (micro)habitat) variability on the diversity and functional structure of island communities at different spatial scales, i.e., from small plots, to habitats, islands and archipelagos. In this work we use the Macaronesian archipelagos as a model to understand the effects of environmental heterogeneity on the taxonomic and functional diversity of spider communities. By using standardised data from across four archipelagos with a range of climatic and (micro)habitat conditions, we tested two hypotheses related to the consequences of environmental heterogeneity: 1) variation in spider communities responds positively to heterogeneity at both regional and local plot scales; and 2) local environmental conditions act as a second functional filter for species into the communities that they ultimately form. Following the standardised sampling protocol COBRA, we collected spider specimens at 50 m x 50 m plots across eight Macaronesian islands. We generated community data from taxonomically identified and functionally characterised specimens and species, and obtained climatic and habitat data from satellite imagery. Through a series of null-models and hierarchical linear models, we tested the relationships between environmental variability and alpha and beta diversity for several functional groups. Habitat type, and environmental and (micro)habitat variability were correlated, with dry habitats having more heterogeneous climates and habitats. Spider communities were also more variable (greater beta diversity values) at both regional and local scales. The response of the functional structure of spider communities to environmental variability was reflected in the differences in the relative abundances of species belonging to different predatory guilds: web building species were more dominant in structurally more complex areas. Our findings point at the need to consider different spatial scales when investigating the effect of environmental heterogeneity on the assembly and structure of island communities.