Genetic ablation of endothelial Caspr1 and blocking IbeA–Caspr1 interaction effectively prevent E. coli penetration into the brain during meningitis in rodents. Here, CNTNAP1 is linked to meningitis.