Male-biased sexual size dimorphism (SSD) is common in ungulates. The dominant scenario for the evolution of ungulate SSD suggests that habitat openness leads to greater SSD by increasing group size and thus sexual selection through male-male competition for mates. At a more proximate level, adaptive changes in SSD may result from the plastic response of individuals to environmental variation. In this study, we used 161,948 body mass data from a seasonally size-dimorphic species, the northern chamois Rupicapra rupicapra, to examine the role of forest cover and other environmental variables in the expression of SSD. Data were collected from individuals hunted in the Austrian Alps, grouped into 28 mountain ranges with different forest cover, geological substrate and population density. Population-specific growth curves were fitted using monomolecular models, and SSD was calculated as the log-transformed ratio of male to female asymptotic body mass. A path model in which environmental factors indirectly influenced SSD via male or female body mass suggested that SSD increased with increasing density via reduced female body mass and decreased on siliceous substrates via reduced male body mass. Forest cover was negatively associated with body mass in both sexes, but not with variation in SSD.