The larval-pupal endoparasitoid Diachasmimorpha longicaudata (Ashmead, 1905) is considered one of the main biological control agents of fruit flies Ceratitis capitata Wiedemann (1824) and Anastrepha fraterculus Wiedemann (1830) in Central and South America. The application of pesticides for disease and insect-pest management in fruit species may have adverse effects on the parasitoid. The objective of this study was to evaluate the lethal and sublethal effects via residual contact of commercial pesticide formulations on D. longicaudata. The active ingredients thiamethoxam, indoxacarb, chlorpyrifos, deltamethrin, spinetoram, spinosad, phosmet, lambda-cyhalothrin, malathion, dimethoate, and methidationa showed high toxicity to adults (100% mortality) after 96 h and were classified as harmful (Class 4). In contrast, the formulations of azadirachtin (Agroneem 850 EC, Azact 2.4 EC, Azamax 12 EC, and Fitoneem 850 EC), chlorantraniliprole, bordeaux mixture, sulfur, lufenuron, lime sulphur, novalurom, and mancozeb were rated as innocuous (<10% mortality). In addition, the formulations azadirachtin did not reduce the parasitism and the emergence rate of the F0 generation, the same pesticides added to chlorantraniliprole, azadirachtin A+B (Agroneem 850 EC), and lufenuron did not cause reduction in parasitism and emergence rate of the F1 generation of D. longicaudata. The use of pyrethroids, organophosphates, spinosyns, oxadiazines, and neonicotinoids should be used with caution in IPM programs. While pesticides chlorantraniliprole, azadirachtin formulations, bordeaux mixture, lufenuron, lime sulphur, and mancozeb do not cause lethal and sublethal effects for D. longicaudata adults. The results of this study provide important information for use in integrated pest management programs for fruit fly management.