Leaf‐cutting ants have a beneficial and obligatory relationship with the fungus that they grow. This mutualism allowed the evolutionary success of these ants. The great defoliation capacity of these insects, which often exceeds the level of tolerable economic damage, includes them as severe pests in many cultures. However, given the close relationship between these two agents of mutualism, it is expected that an impact on the fungus will reflect on the performance of the colony as a whole. Therefore, the effect of azadirachtin on the development, and the macronutrient composition of Leucoagaricus gongylophorus was evaluated. Azadirachtin reduced the final fungal mass at the end of treatment at all concentrations tested, but did not reduce the final growth area. A reduction in the amount of hyphae produced with increasing azadirachtin concentration was also observed. Regarding macronutrients, the compound did not affect their total amount in the fungus. Thus, it is observed that azadirachtin did not alter the composition of L. gongylophorus macronutrients, but inhibited its growth by reducing the number of hyphae produced. This reduction reflects directly on the amount of nutrients offered to the workers and the queen and may improve the management of these insects.