This study identifies TLR5 as a marker for brain border-associated macrophages (BAMs) in neonatal mice and demonstrates that TLR5 expression on these macrophages enhances their ability to defend against bacterial meningitis by activating immune responses and recruiting innate immune cells. The findings highlight the role of TLR5 in neonatal brain immunity and suggest potential therapeutic strategies for preventing bacterial meningitis in infants.