Normalization of magnesium deficiency by L-TAMS attenuated mechanical allodynia, depressive-like behaviors, and STMD in the CYP-induced cystitis model via inhibition of TNF-α/NF-κВ signaling and normalization of NR2B expression. Here, GRIN2B is linked to cystitis.