Pharmacological activation of NR1D1 using a bioadhesive hydrogel delivering SR9011 restores intestinal immune balance, reduces CD47 expression, and ameliorates colitis severity. Here, NR1D1 is linked to colitis.