Climate factors, pesticides, and landscape in coffee agroecosystems directly affect the populations of the coffee leaf miner and its parasitoids. This study aimed to investigate the effects of climate factors, insecticide use, and landscape on natural parasitism, parasitoid diversity, and infestation of L. coffeella in coffee plantations in the Planalto region, Bahia, Brazil. Mined leaves were collected monthly in six coffee plantations with varying edge density, vegetation cover, landscape diversity in scales of 500 to 3000 m of radius, insecticide use, and climate factors. Closterocerus coffeellae, and Proacrias coffeae (Eulophidae) predominated in the pest's natural parasitism. Our record is the first for the occurrence of Stiropius reticulatus, Neochrysocharis sp. 1, Neochrysocharis sp. 2, and Zagrammosoma sp. in Bahia. Higher temperature and larger forest cover increased the coffee leaf miner infestation. Higher rainfall values, insecticide use, and landscape diversity decreased the pest infestations. Natural parasitism and species diversity are favoured by increase in temperature, forest cover, and edge density, while increase in rainfall, insecticide use, and landscape diversity lead them to decrease.The natural parasitism and diversity of parasitoid species of the coffee leaf miner have been enhancing in the areas with greater forest cover and edge density associated with low use of insecticides. The areas composed of different lands with annual croplands surrounding the coffee plantations showed less natural parasitism and parasitoid species diversity. The ecosystem services provided by C. coffeellae and P. coffeae in coffee crops areas require conservation and these species are potential bioproducts for applied biological control programmes.