I draw attention to the need for ecologists to take spatial structure into account more seriously in hypothesis testing. If spatial autocorrelation is ignored, as it usually is, then analyses of ecological patterns in terms of environmental factors can produce very misleading results. This is demonstrated using synthetic but realistic spatial patterns with known spatial properties which are subjected to classical correlation and multiple regression analyses. Correlation between an autocorrelated response variable and each of a set of explanatory variables is strongly biased in favour of those explanatory variables that are highly autocorrelated - the expected magnitude of the correlation coefficient increases with autocorrelation even if the spatial patterns are completely independent. Similarly, multiple regression analysis finds highly autocorrelated explanatory variables “significant” much more frequently than it should. The chances of mistakenly identifying a “significant” slope across an autocorrelated pattern is very high if classical regression is used. Consequently, under these circumstances strongly autocorrelated environmental factors reported in the literature as associated with ecological patterns may not actually be significant. It is likely that these factors wrongly described as important constitute a red-shifted subset of the set of potential explanations, and that more spatially discontinuous factors (those with bluer spectra) are actually relatively more important than their present status suggests. There is much that ecologists can do to improve on this situation. I discuss various approaches to the problem of spatial autocorrelation from the literature and present a randomisation test for the association of two spatial patterns which has advantages over currently available methods.