king population. With a semi-arid climate and an ill-developed irrigation system, it is difficult to assure enough irrigation. Morocco’s economy depends heavily on the weather, a typical characteristic of third-world countries. Fiscal prudence has allowed for consolidation, with both the budget deficit and debt falling as a percentage of GDP.
The economic system of the country presents several facets. It is characterized by a large opening towards the outside world. France remains the primary trade partner (supplier and customer) of Morocco. France is also the primary creditor and foreign investor in Morocco. In Africa, Morocco has the fifth largest economy and the fastest growing internet usership.
Since the early 1980s the Moroccan government has pursued an economic program toward accelerating real economy growth with the support of the International Monetary Fund, the World Bank, and the Paris Club of creditors. The country's currency, the dirham, is now fully convertible for current account transactions[clarification needed]; reforms of the financial sector have been implemented; and state enterprises are being privatized.
The major resources of the Moroccan economy are agriculture, phosphates, and tourism. Sales of fish and seafood are important as well. Industry and mining contribute about one-third of the annual GDP. Morocco is the world's third-largest producer of phosphorus (after China, which is first, and the United States which is second), and the price fluctuations of phosphates on the international market greatly influence Morocco's economy. Tourism and workers' remittances have played a critical role since the Kingdom's independence. The production of textiles and clothing is part of a growing manufacturing sector that accounted for approximately 34% of total exports in 2002, employing 40% of the industrial workforce. The government wishes to increase textile and clothing exports from $1.27 billion in 2001 to $3.29 billion in 2010.
The high cost of imports, especially of petroleum imports, is a major problem. Another chronic problem is unreliable rainfall, which produces drought or sudden floods; in 1995, the country's worst drought in 30 years forced Morocco to import grain and adversely affected the economy. Another drought occurred in 1997, and one in 1999–2000. Reduced incomes due to drought caused GDP to fall by 7.6% in 1995, by 2.3% in 1997, and by 1.5% in 1999. During the years between drought, good rains brought bumper crops to market. Good rainfall in 2001 led to a 5% GDP growth rate. Morocco suffers both from unemployment (9.6% in 2008), and a large external debt estimated at around $20 billion, or half of GDP in 2002.
Among the various free trade agreements that Morocco has ratified with its principal economic partners, are The Euro-Mediterranean free trade area agreement with the European Union with the objective of integrating the European Free Trade Association at the horizons of 2012; the Agadir Agreement, signed with Egypt, Jordan, and Tunisia, within the framework of the installation of the Greater Arab Free Trade Area; the US-Morocco Free Trade Agreement with United States which came into force on January 1, 2006, and lately the agreement of free exchange with Turkey.
Agriculture in Morocco employs about 40% of the nation's workforce and is the largest employer in the country. Barley, wheat, and other cereals are amongst the main products. On the Atlantic coast, where there are extensive plains, olives, citrus fruits, and grapes are grown.
Below is a table of the agricultural output of Morocco according to estimates of the UN Food & Agriculture Organisation, data is from 2009:
In 2008, about 56% of the electricity source of Morocco came from coal. However, as forecasts indicate that energy requirements in Morocco will rise 6% per year between 2012 and 2050, a new law passed encouraging Moroccans to look for ways to diversify the energy supply, including more renewable resources. The Moroccan government has launched a project to build a solar thermal energy power plant and is also in looki