As the Group of Twenty leaders gather in Turkey this weekend, they will have on their minds heartbreaking images of displaced people fleeing countries gripped by armed conflict and economic distress. The surge of refugees in the last few years has reached levels not seen in decades. And these numbers could increase further in the near future.

The immediate priority must be to help the refugees—who bear the heaviest burden, and too often tragically—with better access to shelter, health care and quality education.

Many of the countries neighboring conflict zones—which have welcomed most of the refugees—have stretched their capacity to absorb people to the limit. To support additional public services for refugees, they will require more financial resources. The international community must play its part. With the IMF’s support, for example, Jordan has been able to adjust its fiscal targets to help meet this need.

Those countries that have done most to welcome displaced people are to be commended. Some countries have been willing to receive large flows of refugees and done their utmost to provide them with food and shelter. Others, especially among advanced countries, should look at how they might increase their scope for admitting more refugees.

Ultimately, however, one thing is very clear: no country can manage the refugee issue on their own. We need global cooperation.

Migration’s economic implications

Cross-border migration, of course, comes in several forms. It includes both refugees who are forced to leave their country and economic migrants who voluntarily leave in search of opportunities. This total number of migrants has risen significantly in recent years, now accounting for over 3 percent of the global population.

Regardless of the motivation, the decision to uproot and leave one’s home is difficult and can be risky. But once people pass through the journey, resettle, and find stability, migration can—with the right policies—have an overall positive economic impact: for migrants, their host country, and their country of origin (as shown in staff analysis).

Migrants can boost a country’s labor force, encourage investment and boost growth. Preliminary IMF calculations show a modest positive impact on growth from migrants in EU countries, for example.

More importantly, migration can also help address the challenges from aging populations in a number of advanced countries. Over the medium term, our research shows that migrants could help reduce pressures on pension and health spending; and in the near term, the net budgetary impact tends to be relatively small.

Brain drain and remittances

What about countries experiencing an outflow of migrants? Certainly, these countries often lose their youngest and brightest, with important implications for growth. This has been the case in Caribbean countries, for instance, which lost over 50 percent of their high-skilled labor between 1965 and 2000.

Remittances help to counterbalance some of these effects. Indeed, they can be a very important source of income—which has been shown to lead to higher education and health spending. In 2014, remittance flows to developing countries amounted to $436 billion, more than half of total net foreign direct investment and well over three times as much as official development assistance.

Moreover, if the transaction costs of remittances could be lowered further, even greater benefits would accrue. Estimates suggest that reducing remittance costs to one percent of the amount transferred could release savings of $30 billion per year, more than the entire bilateral aid budget to sub-Saharan Africa! We should strongly support the G-20’s commitment to reduce remittance transaction costs.

Policies to better integrate migrants

The key challenge is to facilitate the smooth integration of newcomers—whether economic migrants or refugees. No doubt, there will be hardship and difficulties at the outset, whether logistical, fiscal, or political, but these need to be weighed against the benefits that accrue over the medium to longer term. Easier said than done—but it canbe done.

In Sweden, for instance, an introduction program for refugees provides employment preparation and language training for up to 24 months, together with financial benefits. The program is beginning to help the latest inflow of refugees to find jobs—even though it will inevitably take time to fully succeed.

Global policy efforts, therefore, must focus on better cooperation and dialogue among the affected countries. This includes promoting fair burden-sharing, facilitating remittance flows, protecting labor rights, and promoting a safe and secure working environment for migrants.

The IMF will also do its part, including through our financing and capacity building. In addition, over the next few months, our analysis on this issue will feed into our policy advice to countries in Africa, Europe and the Middle East dealing with massive population movements.

Migration is a global issue. We must all work together to address it.

Publication does not imply endorsement of views by the World Economic Forum.