Parasitic worms modulate host immune responses in ways that affect microbial co-infections. For this reason, anthelmintic therapy may be a potent tool for indirectly controlling microbial pathogens. However, the population-level consequences of this type of intervention on co-infecting microbes are unknown. We evaluated the effects of anthelmintic treatment on bovine tuberculosis (BTB) acquisition, mortality after infection, and pathogen fitness in free-ranging African buffalo. We found that treatment had no effect on the probability of BTB infection, but buffalo survival after infection was ninefold higher among treated individuals. These contrasting effects translated into an approximately eightfold increase in the reproductive number of BTB for anthelmintic-treated compared with untreated buffalo. Our results indicate that anthelmintic treatment can enhance the spread of microbial pathogens in some real-world situations.