In recent years, the number of studies on the relationship between depression and gut microbiota has been increasing, but limited studies have examined the relationship between sleep disorders and gut microbiota and metabolomes, with a focus on sleep conditions in depression.