Staphylococcus aureus is a commensal and opportunistic pathogen that is involved in a variety of diseases such as skin infection, food poisoning, endocarditis or pneumonia and sepsis. In particular, in patients with bacterial sepsis, S. aureus causes a high mortality. Despite progress in medical treatment in general, the survival rates of S. aureus sepsis did not improve in the last decades. The interaction between adaptive immune system and this pathogen is a topic of great interest. Infection of mice with S. aureus revealed the highest bacterial load and abundance of Th17 cells in the kidney. We could show prominent T-bet-dependent transdifferentiation of Th17 cells to highly effective anti-bacterial Th1 phenotypes in the kidney. Thus, T-bet is essential for the Th17 to Th1 transdifferentiation which is required for the control of bacterial infections. Targeting the plasticity of pro-inflammatory T cell subset is a promising therapeutic strategy to silence detrimental T cells in autoimmunity while augmenting anti-bacterial T cells in infection.