Permissive central tolerance plus defective peripheral checkpoints license pathogenic memory B cells in CASPR2-antibody encephalitis. Here, CNTNAP2 is linked to encephalitis.