A new study identifies the orbitofrontal cortex (OFC) as a crucial brain region for inference-making, allowing animals to interpret hidden states in changing environments.