Temperature and food quality are the most important environmental factors determining the performance of herbivorous insects. The objective of our study was to evaluate the responses of the spongy moth (formerly known as the gypsy moth) [Lymantria disparL. (Lepidoptera: Erebidae)] to simultaneous variation in these two factors. From hatching to the fourth instar, larvae were exposed to three temperatures (19 °C, 23 °C, and 28 °C) and fed four artificial diets that differed in protein (P) and carbohydrate (C) content. Within each temperature regime, the effects of the nutrient content (P+C) and ratio (P:C) on development duration, larval mass, growth rate, and activities of digestive proteases, carbohydrases, and lipase were examined. It was found that temperature and food quality had a significant effect on the fitness-related traits and digestive physiology of the larvae. The greatest mass and highest growth rate were obtained at 28 °C on a high-protein low-carbohydrate diet. A homeostatic increase in activity was observed for total protease, trypsin, and amylase in response to low substrate levels in the diet. A significant modulation of overall enzyme activities in response to 28 °C was detected only with a low diet quality. A decrease in the nutrient content and P:C ratio only affected the coordination of enzyme activities at 28 °C, as indicated by the significantly altered correlation matrices. Multiple linear regression analysis showed that variation in fitness traits in response to different rearing conditions could be explained by variation in digestion. Our results contribute to the understanding of the role of digestive enzymes in post-ingestive nutrient balancing.