The growth of metacommunity ecology as a subdiscipline has increased interest in how processes at diVerent spatial scales structure communities. However, there is still a signiWcant knowledge gap with respect to relating the action of niche-and dispersal-assembly mecha nisms to observed species distributions across gradients. Surveys of the larval dragonXy community (Odonata: Ani soptera) in 57 lakes and ponds in southeast Michigan were used to evaluate hypotheses about the processes regulating community structure in this system. We considered the roles of both niche-and dispersal-assembly processes in determining patterns of species richness and composition across a habitat gradient involving changes in the extent of habitat permanence, canopy cover, area, and top predator type. We compared observed richness patterns and species distributions in this system to patterns predicted by four general community models: species sorting related to adap tive trade-oVs, a developmental constraints hypothesis, dis persal assembly, and a neutral community assemblage. Our results supported neither the developmental constraints nor the neutral-assemblage models. Observed patterns of rich ness and species distributions were consistent with patterns expected when adaptive tradeoVs and dispersal-assembly mechanisms aVect community structure. Adaptive trade oVs appeared to be important in limiting the distributions of species which segregate across the habitat gradient. How ever, dispersal was important in shaping the distributions of species that utilize habitats with a broad range of hydroperi ods and alternative top predator types. Our results also sug gest that the relative importance of these mechanisms may change across this habitat gradient and that a metacommu nity perspective which incorporates both niche-and dis persal-assembly processes is necessary to understand how communities are organized.