The article analyzes the contradictions between the country of destination and origin of immigrants and defines the directions of cooperation between them to regulate migration processes. It considers the evolution of Spanish and Morocco immigration laws and the development of the bilateral relations to consolidate joint model to manage migration. It includes data of the intensity of the migration flows, their predominantly labor character and the dependence on the economic situation in the receiving country.