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. Here, TXNIP is linked to cystitis.