A unified formal framework for studying how social benefits-immigration conflicts are resolved in a range of policy regimes. Nobel laureate economist Milton Friedman once noted that free immigration cannot coexist with a welfare state. A welfare state with open borders might turn into a haven for poor immigrants, which would place such a fiscal burden on the state that native-born voters would support less-generous benefits or restricted...