Our bone marrow transplantation experiments revealed the crucial role of RNF213 within nonimmune cells in maintaining the integrity of the BBB and preventing bacterial infection in the brain. Here, RNF213 is linked to bacterial infectious disease.