The ancient mutualism between fungus-growing ants and the fungi they cultivate for food is a textbook example of symbiosis. Fungus–growing ants' ability to cultivate fungi depends on protection of the garden from the aggressive microbes associated with the substrate added to the garden as well as from the specialized virulent garden parasite Escovopsis. We examined ants' ability to remove alien microbes physically by infecting Atta colombica gardens with the generalist pathogen Trichoderma viride and the specialist pathogen Escovopsis. The ants sanitized the garden using two main behaviours: grooming of alien spores from the garden (fungus grooming) and removal of infected garden substrate (weeding). Unlike previously described hygienic behaviours (e.g. licking and self–grooming), fungus–grooming and garden–removal behaviours are specific responses to the presence of fungal pathogens. In the presence of pathogens, they are the primary activities performed by workers, but they are uncommon in uninfected gardens. In fact, workers rapidly eliminate Trichoderma from their gardens by fungus grooming and weeding, suggesting that these behaviours are the primary method of garden defence against generalist pathogens. The same sanitary behaviours were performed in response to the presence of the specialist pathogen Escovopsis. However, the intensity and duration of these behaviours were much greater in this treatment. Despite the increased effort, the ants were unable to eliminate Escovopsis from their gardens, suggesting that this specialized pathogen has evolved counter-adaptations in order to overcome the sanitary defences of the ants.