BackgroundChronic pelvic pain syndrome (CPPS) is a typical symptom of chronic prostatitis (CP) in males that may cause abnormal urination, sexual dysfunction, or depression and significantly affect the quality of life of the patient. Currently, there is no effective treatment for CPPS due to its recurrence and intractability. For synergistic CPPS therapy, we developed pH/reactive oxygen species (ROS) dual-responsive dexamethasone (Dex) nanoformulations using a ROS-responsive moiety and phytochemical modified α-cyclodextrin (α-CD) as the carrier.ResultsDex release from the nanoformulations can be controlled in acidic and/or ROS-rich microenvironments. The fabricated Dex nanoformulations can also be efficiently internalized by lipopolysaccharide (LPS)-stimulated macrophages, prostatic epithelial cells, and stromal cells. Moreover, the levels of proinflammatory factors (e.g., TNF-α, IL-1β, and IL-17 A) in these cells were significantly decreased by Dex nanoformulations treatment through the release of Dex, phytochemical and elimination of ROS. In vivo experiments demonstrated notable accumulation of the Dex nanoformulations in prostate tissue to alleviate the symptoms of CPPS through the downregulation of proinflammatory factors. Interestingly, depression in mice may be relieved due to alleviation of their pelvic pain.ConclusionWe fabricated Dex nanoformulations for the effective management of CPPS and alleviation of depression in mice.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12951-023-01893-4.