The behavioral strategies that mammals use to learn multi-step routes are unknown. In this study, we investigated how mice navigate shelter in response threats when the direct path is blocked. Initially, they fled toward and negotiated obstacles using sensory cues. Within 20 min, spontaneously adopted a subgoal strategy, initiating escapes by running directly obstacle’s edge. Mice continued esc...