Xiaoyao Pill alleviates ulcerative colitis by inhibiting ferroptosis of enterocytes via activating Nrf2/Gpx4 signaling pathway. This evidence concerns the gene NFE2L2 and ulcerative colitis.