Understanding the drivers of community structure is an important topic in ecology. We examined whether different species trait groups of stream diatoms (ecological guilds and specialization groups) show divergent responses to spatial and environmental factors in a subarctic drainage basin. We used local- and catchment-scale environmental and spatial variables in redundancy analysis and variation partitioning to examine community structuring. Local and catchment conditions and spatial variables affected diatom community structure with different relative importance. Local-scale environmental variables explained most of the variation in the low-profile and motile guilds, whereas local and spatial variables explained the same amount of the vari...