Spatial transcriptome analysis of the hippocampus showed an excitatory‐inhibitory imbalance mediated by glutamatergic synapses, and GRM1 in hippocampus was identified as a critical mediator of anxiety behavior in colitis mice via differential gene screening and AAV virus interference. The gene discussed is GRM1; the disease is colitis.