Astronauts’ brains can change shape and shift positions in space, according to a study with implications for NASA as it plans for missions to the moon and Mars.