Patients with inflammatory bowel disease (IBD) always suffer from severe abdominal pain and appear to be at high risk for colorectal cancer. Recently, the co-delivery of targeted drugs and gut microbiota has developed into an attractive strategy. A new strategy using gut microbiota fermentation to overcome the interspace diffuse resistance from the mucus layer to control drug release in inflammatory bowel sites (IBS sites) has not yet been available. Here, we designed an alginate hydrogel microsphere encapsulating bifidobacterium (Bac) and drug-modified nanoscale dietary fibers (NDFs). The hydrogel microsphere is responsible for protecting drugs from acidic and multi-enzymatic environments and delivering drugs to the colorectum. Subsequently, the fermentation of Bac by digesting NDFs and proteins as carbon and nitrogen sources can promote drug release and play a probiotic role in the gut microbiota. The in vitro evidence indicated that small-sized NDF (NDF-1) could significantly promote short-chain fatty acid (SCFA) expression. Notably, NDF-1 hydrogel microspheres showed a boost release of 5-ASA in the IBS sites, resulting in the amelioration of gut inflammation and remodeling of gut microbiota in chronic colitis mice. This study developed a novel controlled release system based on microbial fermentation for the treatment of IBD.