In our correlation analysis, IDO1 was positively correlated with the immobility time in the behaviour tests and negatively correlated with the E2 level in serum, indicating that IDO1 is likely to be involved in the pathomechanism of oestrogen withdrawal‐induced depression. Here, IDO1 is linked to major depressive disorder.