Endogenous analgesia is lost in conditional knockout mice for DOR, but not MOR at the later phase of the DSS-induced colitis. Here, OPRM1 is linked to colitis.