Nutritional conditions experienced during early growth have important implications for the lifetime fitness of herbivores. We investigated how the early life effects of imbalanced nutrient intake can be overcome in a generalist caterpillar, Spodoptera litura (Lepidoptera: Noctuidae). Over the fifth larval instar, caterpillars were pretreated on one of three diets that varied in protein: carbohydrate balance (p35:c7, p21:c21 or p7:c35). After molting to the sixth instar, they were transferred to one of three no-choice diets (p35:c7 ,p21:c21 or p7:c35) or a food choice where they received two nutritionally complementary diets (p35:c7 versus p7:c35). Approximately 80% of caterpillars that had been protein-deprived (p7:c35) during the fifth instar molted to the seventh instar. The threshold body mass for pupal metamorphosis was 144 mg at the start of the sixth instar. When given a choice, caterpillars pretreated on the low-protein diet (p7:c35) selected significantly more protein than those from other diets (p35:c7,p21:c21). Our results suggest that caterpillars are not only capable of switching their developmental program to reduce the deleterious effects of a nearly deficiency of protein, but also flexible at adjusting nutrient preference store dress specific nutritional imbalances experienced early in life.