This paper derives a gravity equation for commuter flows from a simple spatial labor market model, and uses it to identify the effect of regional borders on commuting. This structural approach allows us to identify the relevant control variables and sources of potential omitted variable bias....