The vagaries of human memory are notorious. A friend insists you were at your 15th class reunion when you know it was your 10th. You distinctly remember that another friend was at your wedding, until she reminds you that you didn’t invite her. Or, more seriously, an eyewitness misidentifies the perpetrator of a terrible crime.

Not only are false, or mistaken, memories common in normal life, but researchers have found it relatively easy to generate false memories of words and images in human subjects. But exactly what goes on in the brain when mistaken memories are formed has remained mysterious.

Now scientists at the Riken-M.I.T. Center for Neural Circuit Genetics at the Massachusetts Institute of Technology say they have created a false memory in a mouse, providing detailed clues to how such memories may form in human brains.

Steve Ramirez, Xu Liu and other scientists, led by Susumu Tonegawa, reported Thursday in the journal Science that they caused mice to remember being shocked in one location, when in reality the electric shock was delivered in a completely different location.