The mining industry of Morocco is important to the national economy. Morocco is the world's third largest producer of phosphate, and contains about 75% of the world's estimated reserves. Mining contributed up to 35% of exports and 5% of GDP in 2011. Foreign investors have found the investment climate, the infrastructure, fiscal situation, and political stability very favorable to continue business in the country in this sector.
Morocco has an ancient history of extraction of minerals for enhancing its economy. The technical know-how developed early on, particularly in the copper industry and manufacture of steel, which were spread by the Muslims of Spain and southern France to Europe.
In 1920, mineral extraction was reported in the Rif in the area of Melilla, where there were three iron mines as well as one working lead and zinc ore. The most important of these was the Compañía Española de Minas del Rif S.A., working large superficial masses of specular hematite. Setolazar Company, working the Navarrete mine, had an extensive concession estimated to contain more than 4 million tons of iron ore. The Compania Norte Africano had a monthly output of 200 tons of lead ore from pockets near the surface, in addition to calamine estimated to contain 40% zinc. Deposits of specular and dark hematite were recorded west of Melilla, within 5–6 kilometres (3.1–3.7 mi) of the sea. Brown hematite was noted in the area of Tetuan.
Phosphate is the chief product and it accounted for 14% of the world's production in 2011. Morocco holds 75% of the phosphate reserves of the world, and is ranked third in the world in its production. 10% of the production comes from Bou Craa, a mine in the Western Sahara, a territory considered by Morocco as part of the country but disputed by the Sahrawi Arab Democratic Republic. Other minerals extracted with increasing rate of production are barite, clays, cobalt, copper, fluorspar, iron ore, lead, salt, silver, talc, and zinc.Silver and lead production in Morocco are the highest in Africa.