Juvenile hormone (JH) regulates many developmental and physiological events in insects, but its molecular mechanism remains conjectural. Here we report that genetic ablation of the corpus allatum cells of the Drosophila ring gland (the JH source) resulted in JH deficiency, pupal lethality and precocious and enhanced programmed cell death (PCD) of the larval fat body. In the fat body of the JH-deficient animals, Dronc and Drice, two caspase genes that are crucial for PCD induced by the molting hormone 20-hydroxyecdysone (20E), were significantly upregulated. These results demonstrated that JH antagonizes 20E-induced PCD by restricting the mRNA levels of Dronc and Drice. The antagonizing effect of JH on 20E-induced PCD in the fat body was further confirmed in the JH-deficient animals by 20E treatment and RNA interference of the 20E receptor EcR. Moreover, MET and GCE, the bHLH-PAS transcription factors involved in JH action, were shown to induce PCD by upregulating Dronc and Drice. In the Met- and gce-deficient animals, Dronc and Drice were downregulated, whereas in the Met-overexpression fat body, Dronc and Drice were significantly upregulated leading to precocious and enhanced PCD, and this upregulation could be suppressed by application of the JH agonist methoprene. For the first time, we demonstrate that JH counteracts MET and GCE to prevent caspase-dependent PCD in controlling fat body remodeling and larval-pupal metamorphosis in Drosophila.