miR-139-5p, which has been reported to be underexpressed in several types of cancer, is associated with tumorigenesis by participating in various biological processes via the modulation of different target genes. In the present study, we analyzed mice deficient in miR-139-5p, aiming to investigate its role in intestinal inflammation and colitis-associated colorectal cancer. We show that miR-139-5p knockout (KO) mice are highly susceptible to colitis and colon cancer, accompanied by elevated proliferation and decreased apoptosis, as well as an increased production of inflammatory cytokines, chemokines and tumorigenic factors. Furthermore, enhanced colon inflammation and colorectal tumor development in miR-139-5p KO mice are a result of the regulatory effects of miR-139-5p on its target genes for Rap1b and nuclear factor-kappa B, thus affecting the activity of the mitogen-activated protein kinase, nuclear factor-kappa B and signal transducer and activator of transcription 3 signaling pathways. These results reveal a critical part for miR-139-5p in maintaining intestinal homeostasis and protecting against colitis and colorectal cancer in vivo, providing new insights into the function of miR-139-5p with respect to linking inflammation to carcinogenesis.