Neuroscientists have identified distinctive patterns of neural activity that encode prior beliefs and help the brain make sense of uncertain signals coming from the outside world. For the first time, they showed that prior beliefs exert their effect on behavior by warping the representation of sensory events in the brain.