International audienceIn this model, we characterize optimal immigration and fiscal policies in the presence of a rival public good and heterogeneous discounting. Surprisingly, even if the government is benevolent towards natives only, it is optimal to keep borders open. Indeed, in the long run, patient natives hold the whole stock of capital, while impatient immigrants work. Moreover, since capital intensity is stationary, capital per native, consumption and the public good increase with the number of (immigrant) workers. This positive effect offsets the disutility deriving from the congestion of the public good. However, when we account for the costs associated with cultural heterogeneity, we find that it is optimal to regulate immigratio...