Self-organized complexity at multiple spatial scales is a distinctive characteristic of biological systems. Yet, little is known about how different self-organizing processes operating at different spatial scales interact to determine ecosystem functioning. Here we show that the interplay between self-organizing processes at individual and ecosystem level is a key determinant of the functioning and resilience of mussel beds. In mussel beds, self-organization generates spatial patterns at two characteristic spatial scales: small-scale net-shaped patterns due to behavioural aggregation of individuals, and large-scale banded patterns due to the interplay of between-mussel facilitation and resource depletion. Model analysis reveals that the int...