Global challenges necessitate cooperation beyond national borders. Prosociality—the tendency to share with and value the outcomes of others—can help achieve this objective. While it is well-established that people favor their own compatriots, people also display substantial prosociality toward individuals from other nations, though not all foreigners are treated equally.

