B cells contribute to the pathogenesis of both cellular- and humoral-mediated central nervous system (CNS) inflammatory diseases through a variety of mechanisms. In such conditions, B cells may enter the CNS parenchyma and contribute to local tissue destruction. It remains unexplored, however, how infection and autoimmunity drive transcriptional phenotypes, repertoire features, and antibody functionality. Here, we profiled B cells from the CNS of murine models of intracranial (i.c.) viral infections and autoimmunity. We identified a population of clonally expanded, antibody secreting cells (ASCs) that had undergone class-switch recombination and extensive somatic hypermutation following i.c. infection with attenuated lymphocytic choriomeningitis virus (rLCMV). Recombinant expression and characterisation of these antibodies revealed specificity to viral antigens (LCMV glycoprotein GP), correlating with ASC persistence in the brain weeks after resolved infection. Furthermore, these virus-specific ASCs upregulated proliferation and expansion programs in response to the conditional and transient induction of the LCMV GP as a neo-self antigen by astrocytes. This class-switched, clonally expanded, and mutated population persisted and was even more pronounced when peripheral B cells were depleted prior to autoantigen induction in the CNS. In contrast, the most expanded B cell clones in mice with persistent expression of LCMV GP in the CNS did not exhibit neo-self antigen specificity, potentially a consequence of local tolerance induction. Finally, a comparable population of clonally expanded, class-switched, proliferating ASCs was detected in the cerebrospinal fluid of multiple sclerosis patients. Taken together, our findings support the existence of B cells that populate the CNS and are capable of responding to locally encountered autoantigens.