Previous macroecological studies have suggested that larger and darker insects are favored in cold environments and that the importance of body size and color for the absorption of solar radiation is not limited to diurnal insects. However, whether these effects hold true for local communities and are consistent across taxonomic groups and sampling years remains unexplored. This study examined the variations in body size and color lightness of the two major families of nocturnal moths, Geometridae and Noctuidae, along an elevational gradient of 700 m in Southern Germany. An assemblage‐based analysis was performed using community‐weighted means and a fourth‐corner analysis to test for variations in color and body size among communities as a function of elevation. This was followed by a species‐level analysis to test whether species occurrence and abundance along an elevation gradient were related to these traits, after controlling for host plant availability. In both 2007 and 2016, noctuid moth assemblages became larger and darker with increasing elevation, whereas geometrids showed an opposite trend in terms of color lightness and no clear trend in body size. In single species models, the abundance of geometrids, but not of noctuids, was driven by habitat availability. In turn, the abundance of dark‐colored noctuids, but not geometrids increased with elevation. While body size and color lightness affect insect physiology and the ability to cope with harsh conditions, divergent trait–environment relationships between both families underline that findings of coarse‐scale studies are not necessarily transferable to finer scales. Local abundance and occurrence of noctuids are shaped by morphological traits, whereas that of geometrids are rather shaped by local habitat availability, which can modify their trait–environment‐relationship. We discuss potential explanations such as taxon‐specific flight characteristics and the effect of microclimatic conditions.