Recent studies have revealed that gut microbiota metabolites, such as SCFAs and TPH (TPH) derivatives, regulate microglial polarization and synaptic plasticity via the neuro-immune-metabolic axis, mediating post-stroke cognitive recovery. The gene discussed is TPH1; the disease is stroke disorder.