Dual deficiency of melatonin and dihydrotestosterone promotes stromal cell damage and mediates prostatitis via the cGAS-STING pathway in sleep-deprived mice. Here, CGAS is linked to prostatitis.