Repeated impacts can create minerals that lock in magnetic signals long after the Moon’s global field has disappeared.