The transcription factor ELF4 alleviates inflammatory bowel disease by activating IL1RN transcription, suppressing inflammatory TH17 cell activity, and inducing macrophage M2 polarization. Here, IL1RN is linked to inflammatory bowel disease.