Until recently, chemical pesticides were one of the most effective means of controlling agricultural pests; therefore, the search for insecticide targets for agricultural pests has been an ongoing problem. Estrogen-related receptors (ERRs) are transcription factors that regulate cellular metabolism and energy homeostasis in animals. Silkworms are highly sensitive to chemical pesticides, making them ideal models for pesticide screening and evaluation. In this study, we detected ERR expression in key organs involved in pesticide metabolism in silkworms (Bombyx mori), including the fat body and midgut. Using ChIP-seq technology, many estrogen- related response elements were identified in the 2000-bp promoter region upstream of metabolism-related genes, almost all of which were potential ERR target genes. The ERR inhibitor, XCT-790, and the endocrine disruptor, bisphenol A, significantly inhibited expression of the ERR target genes, BmTreh-1, BmTret-1, BmPK, BmPFK, and BmHK, in the fat bodies of silkworms, resulting in pupation difficulties in silkworm larvae that ultimately lead to death. In addition, based on the clarification that the ERR can bind to XCT-790, as observed through biofilm interferometry, its three-dimensional spatial structure was predicted, and using molecular docking techniques, small-molecule compounds with a stronger affinity for the ERR were identified. In summary, utilizing the powerful metabolic regulatory function of ERR in Lepidoptera pests, the developed small molecule inhibitors of ERR can be used for future control of Lepidoptera pests.