The peritoneal cavity is a membrane-bound and fluid-filled abdominal cavity of mammals, which contains the liver, spleen, most of the gastro-intestinal tract and other viscera. It harbors a number of immune cells including macrophages, B cells and T cells. The presence of a high number of naïve macrophages in the peritoneal cavity makes it a preferred site for the collection of naïve tissue resident macrophages. The peritoneal cavity is also important to the study of B cells because of the presence of a unique peritoneal cavity-resident B cell subset known as B1 cells in addition to conventional B2 cells. B1 cells are subdivided into B1a and B1b cells, which can be distinguished by the surface expression of CD11b and CD5. B1 cells are an important source of natural IgM providing early protection from a variety of pathogens. These cells are autoreactive in nature, but how they are controlled to prevent autoimmunity is still not understood completely. On the contrary, CD5+ B1a cells possess some regulatory properties by virtue of their IL-10 producing capacity. Therefore, peritoneal cavity B1 cells are an interesting cell population to study because of their diverse function and many unaddressed questions associated with their development and regulation. The isolation of peritoneal cavity resident immune cells is tricky because of the lack of a defined structure inside the peritoneal cavity. Our protocol will describe a procedure for obtaining viable immune cells from the peritoneal cavity of mice, which then can be used for phenotypic analysis by flow cytometry and for different biochemical and immunological assays.