A novel peptide inhibitor of TRPM2 channels improves recovery of memory function following traumatic brain injury. Here, TRPM2 is linked to brain injury.