Here, we generated IL-17A reporter mice and used these mice to examine the expression of IL-17A at rest, after bacterial challenge, and during the development of autoimmune encephalitis. This evidence concerns the gene IL17A and autoimmune encephalitis.