This paper revisits the puzzle of immigration policy: standard economic theory predicts that free immigration improves natives' welfare, but (with few historical exceptions) an open door policy is never implemented in practice. What rationalizes the puzzle? We first review the model of immigration policy where the policy maker maximizes national income of natives net of the tax burden of immigration. We show that this model fails to provide realistic policy outcomes when the receiving region's technology is described by a standard Cobb–Douglas or CES function. Then we describe three extensions of this basic model that reconcile theory with evidence. The first introduces a cost of integration of the immigrant community in the destination country; the second takes into account the policy maker's redistributive concern across different social groups; the last extension considers positive spillover effects of (skilled) migrants on the receiving economy.