Andricus quercuslaurinus Melika & Pujade-Villar (Hymenoptera: Cynipidae) is a gall wasp from the branches (asexual reproduction) and leaves (sexual reproduction) of the Quercus affinis Scheidw. oak in Acaxochitlán, Hidalgo, Mexico. Severe infestations on the leaves cause a delay in growth and, given time, the death of trees with large levels of damage. This study evaluated the effectiveness of the pesticides Imidacloprid, Spirotetramat, Acephate and Abamectin when applied through foliar spray on the adult population of wasps that oviposit on the leaves, as well as on the eggs and larvae of the oak galls. Acephate prevented oviposition on the treated foliage. The least number of oak galls was found on the trees treated with Acephate; furthermore, they had no larvae. On the other hand, Spirotetramat had not been evaluated for the control of Cynipidae; alongside Imidacloprid, these pesticides were effective in reducing the survival of eggs and larvae. Spraying the pesticides Acephate (1.20 kg·ha-1), Spirotetramat (0.75 L·ha-1), and Imidacloprid (1.00 L·ha-1) on Q. affinis foliage are options to be considered for the control of A. quercuslaurinus given their significant effects (P = 0.05) on the mortality of the eggs with regard to the control.