The endometriosis related peritoneal macrophages towards to M2-type, manifested by hypersecretion of IL-10 and decreased phagocytosis, and the increase of CD163. The gene discussed is IL10; the disease is endometriosis.