The Directorate-General for Migration and Home Affairs is a Directorate-General of the European Commission. The role of the body is to ensure the EU's security, to build a common EU migration and asylum policy, and to promote dialogue and cooperation with non-EU countries.