Our findings revealed that OPN deficiency accelerated the development of spontaneous colitis in mice with disrupted gut microbiota and macrophage phagocytic activity. Here, SPP1 is linked to colitis.