There is a growing interest in the effects of climate warming on olfaction, as temperature may affect this essential sense. In insects, the response of the olfactory system to developmental temperature might be mediated by body size or mass because body size and mass are negatively affected by developmental temperature in most ectotherms. We tested this hypothesis of a mass-mediated effect of developmental temperature on olfaction in the moth Spodoptera littoralis. We measured the olfactory sensitivity of male to female sex pheromone and five plant odors using electroantennography. We compared males reared at an optimal temperature (25 °C with a daily fluctuation of ±5 °C) and at a high temperature (33 ± 5 °C) close to the upper limit of S. littoralis. On average, the olfactory sensitivity of males did not differ between the two developmental temperatures. However, our analyses revealed an interaction between the effects of developmental temperature and body mass on the detection of the six chemicals tested. This interaction is explained by a positive relationship between antennal sensitivity and body mass observed only with the high developmental temperature. Our results show that the effect of developmental temperature may not be detected when organism size is ignored.