Our study indicated that rTMS notably ameliorated RIBI-induced cognitive disorders, by mitigating pyroptosis in microglia and promoting hippocampal neurogenesis via mediating BDNF pathway. This evidence concerns the gene BDNF and cognitive disorder.