New research reveals how dopamine helps the brain learn to avoid unpleasant outcomes by responding differently in distinct brain regions during negative experiences. In a study with mice, scientists tracked dopamine activity over time as animals learned to escape an adverse event, showing that one brain area adapted early in learning while another supported long-term avoidance behavior.