Collectively, these findings propose a novel therapeutic strategy for UC and associated depression, highlighting SCP's potential value in targeting the Trp metabolism-AhR axis. Here, AHR is linked to depressive symptom measurement.