Nodulation is the first immune defence mechanism related to melanisation in response to microbial infections in insects. Adult parasitoid insects have been hypothesised to produce nodules with melanisation in response to viral infections and, eicosanoids, to mediate nodulation reactions and phenoloxidase (PO) activation in this type of infections. To test this hypothesis, endoparasitoid Pimpla turionellae adults were first inoculated with a novel generation nonsteroidal anti-inflammatory drug (NSAID) dexketoprofen trometamol (DT) (5 μg/adult), which is a selective cyclooxygenase-1 (COX-1) inhibitor. These adults were then immediately injected with intrahaemocoelic injection of Bovine herpes simplex virus-1 (BHSV-1) as a model insect-virus interaction. Additionally, adults were fed on artificial diet with increasing concentrations of DT (0.001, 0.01, or 0.1 g/100 ml diet) per os prior to intrahaemocoelic injection of BHSV-1 (2 × 103 PFU/adult) and nodulation and PO activity were recorded at 2 h post inoculation (PI). BHSV-1-treated newly emerged adults fed with inhibitors showed low levels of nodulation and increased PO enzyme activity. DT-treated Pimpla adults produced significantly fewer nodules (approximately nine nodules/adult), whereas viral infection provoked nodules (approximately 33 nodules/adult) in comparison with needle (vehicle)-treated controls (approximately five nodules/adult). Increasing dietary dexketoprofen trometamol concentrations decreased nodulation (by 12-fold at the highest concentration) and increased PO reactions (by approximately 3-fold at the highest concentration) to BHSV-1 injection. Compared with control adults, adults orally fed on the lowest DT concentration (0.001 %) significantly increased PO activity (1.22 ± 0.23–2.74 ± 0.31 unit/min/mg protein) while nodules significantly decreased (43.19 ± 4.26–17.84 ± 2.19) in response to virus infections. These findings suggest that eicosanoid biosynthesis, at least in the context of prostaglandins (PGs) formed by COX-1, mediates nodulation reactions and PO activation in response to viral infection in adults of this endoparasitoid. This is the first demonstration that the immune response of P. turionellae adults to viral pathogens is modulated by DT, which initiates haemolymph PO activation.