Overall, we hypothesized that insufficient sleep may induce prostatitis by regulating melatonin-mediated activation of the cGAS-STING pathway. Here, CGAS is linked to prostatitis.