Stress can shape how memories are formed, a study in mice suggests. The findings could point the way to future treatments for PTSD and anxiety.