Our study provides a better understanding ofn the underlying mechanisms of ketamine in ER stress and TXNIP/NLRP3 in vivo and in vitro as well as target strategy for treating ketamine-associated cystitis. This evidence concerns the gene NLRP3 and chronic cystitis.