Morocco is the northwesternmost country which spans from the Mediterranean Sea and Atlantic Ocean on the north and the west respectively, into large mountainous areas in the interior, to the Sahara desert in the far south. Morocco is a Northern African country, located in the extreme northwest of Africa on the edge of continental Europe. The Strait of Gibraltar separates Spain from Morocco with a 13 kilometres (8.1 mi) span of water. Morocco borders the North Atlantic Ocean to the west, and the western Mediterranean Sea to the north, and has borders with Algeria and disputed Western Sahara.
The terrain of Morocco is largely mountainous. The Atlas Mountains stretch from the central north to the southwest. It expands to about 1,350 kilometres (840 mi) and is the dorsal spine of the country. To the north of the Atlas Mountains, there are the Rif Mountains, a chain that makes part of the Sierra Nevada mountain range in Andalusia, Spain. The massive range expands to about 250 kilometres (160 mi) from Tangier in the west to Nador eastward.
In the west of the country, along the Atlantic coast, the Moroccan Plateau stretches from Tangier to essaouira and get inward to Saiss Plains near Fes and Tansift-Alhaouz near Marrakech. These vast plains promotes fertile agricultural lands and support 15% of the local economy.
In the extreme southeast of the country, the lands are arid due to their proximity to the Sahara Desert. Palm trees oasis are developed in many regions, notably in Figuig and Zagora.