The alien cynipid wasp Dryocosmus kuriphilus Yasumatsu, 1951 is a serious pest of chestnuts (Castanea spp.) in Japan, North America and Europe, causing fruit losses while inducing galls in buds. While D. kuriphilus galls have a recognizable and roughly invariable globular shape, their size varies, reaching up to 4 cm in diameter. Among other factors, such variation may depend on different climatic conditions in different attacked areas. Here, we sampled and measured 375 D. kuriphilus galls from 25 localities throughout the Iberian Peninsula, including both cold and rainy northern (Eurosiberian) areas and warm and dry central-southern (Mediterranean) areas, to test the effects of climate and geographical location on gall morphology. The analyses indicate that gall mass and volume follow a pattern that can be associated with a climatic cline. In particular, the Eurosiberian galls were smaller than the Mediterranean galls according to differences in climatic conditions. In the southern areas, the greater insolation regime does not allow the chestnut trees to be distributed at lower altitudes, but the high rainfall and humidity regime of the mountain enclaves allow their presence. These conditions of insolation and precipitation seem to influence the morphological characteristics of the galls of D. kuriphilus.