B1 cells are a predominant cell type in body cavities and an important source of natural antibody. Here we report that in mice lacking the chemokine, CXCL13, B1 cells are deficient in peritoneal and pleural cavities but not in spleen. CXCL13 is produced by cells in the omentum and by peritoneal macrophages, and in adoptive transfers, B1 cells home to the omentum and the peritoneal cavity in a CXCL13-dependent manner. CXCL13(-/-) mice are deficient in preexisting phosphorylcholine (PC)-specific antibodies and in their ability to mount an anti-PC response to peritoneal streptococcal antigen. These findings provide insight into the mechanism of B1 cell homing and establish a critical role for B1 cell compartmentalization in the production of natural antibodies and for body cavity immunity.