These results, for the first time, reveal that cognitive impairment in aging and obesity is driven by a common mechanism in which MT1-MMP-mediated control of OCN/GPR158 signaling plays a dominant role in mediating memory functions and synaptic plasticity. Here, GPR158 is linked to obesity disorder.