Where is Morocco? Its location on the world map, neighbours, regions, main cities, distances and how to travel there.
Written by the Highlights Morocco Tours team in Marrakech
In this guide
The short answer
Morocco is a country in North Africa, in the north-west corner of the African continent. It has coasts on the Atlantic Ocean and the Mediterranean Sea, it borders Algeria to the east and Mauritania to the south, and it is only about 14 kilometres from Spain across the Strait of Gibraltar. The capital is Rabat, the largest city is Casablanca and the most visited city is Marrakech. Morocco is in Africa, not in Europe, and it uses GMT+1 as its time zone.
If you are planning a trip, you probably want to know more than a dot on the map: how far Morocco is from Europe, which countries are next door, where the desert and the mountains are, and how long it takes to get from one city to another. This guide answers all of that with two maps and a few simple tables. When you want help planning, message us on WhatsApp and we plan it for you.
Morocco on the world map
On the world map, look at the north-western corner of Africa, where the Atlantic Ocean meets the Mediterranean Sea. That is Morocco. It is at roughly 32 degrees north and 6 degrees west, which puts it at about the same latitude as the southern United States, and at about the same longitude as Portugal and the United Kingdom. This is why Morocco has such a varied climate, with snow in the mountains, a green coast and a desert in the south-east.
Is Morocco in Africa, Europe or the Arab world?
Morocco is in Africa. At the narrowest point of the Strait of Gibraltar the distance to Spain is only about 14 kilometres, so from Tangier you can see the coast of Europe on a clear day, but the country is part of the African continent. Culturally Morocco is also part of the Arab world and the Maghreb, together with Algeria and Tunisia, and it has strong Amazigh (Berber) roots, Andalusian influence and a long history of trade with Europe and sub-Saharan Africa.
| Question | Answer |
|---|---|
| Continent | Africa |
| Region | North Africa and the Maghreb |
| Distance to Europe | About 14 km across the Strait of Gibraltar |
| Seas and oceans | The Atlantic Ocean and the Mediterranean Sea |
| Closest European country | Spain |
Morocco and its neighbours
| Neighbour | Where | Notes |
|---|---|---|
| Spain | North, across the Strait of Gibraltar | Spain also has Ceuta and Melilla on the Moroccan coast |
| Algeria | East | The land border has been closed for many years |
| Mauritania | South | Reached through the south of the country |
| Atlantic Ocean | West | Beaches, surf towns and Essaouira |
| Mediterranean Sea | North | Tangier, Tetouan and the Rif coast |
Because Morocco faces two seas and borders the desert, the journey from the north coast to the Sahara crosses very different landscapes in a few days. For a route that follows this line, see our 5-day Tangier to Marrakech tour and the 5-day Marrakech to Tangier tour via Merzouga.
Want to see the best of Morocco?
Tell us your dates and group size. We reply with a free quote and ideas for your itinerary.
Geography and regions of Morocco
| Region | What it is like | Where to go |
|---|---|---|
| The north and the Rif | Green mountains and the Mediterranean coast | Tangier, Tetouan and Chefchaouen |
| The Atlantic coast | Beaches, ports and large cities | Casablanca, Rabat and Essaouira |
| The imperial cities | Medinas and history | Fes, Meknes, Marrakech and Rabat |
| The Atlas Mountains | The High Atlas peaks, valleys and Berber villages | Imlil, Ourika and Ouzoud |
| The south and the Sahara | Kasbahs, palm groves and golden dunes | Ouarzazate, Dades, Zagora and Merzouga |
The High Atlas is the backbone of the country, and its highest peak, Toubkal, reaches 4,167 metres, which makes it the highest mountain in North Africa. South of the Atlas, the land dries out into the valleys of the Draa and the Ziz and the dunes of the Sahara. To the north, the Middle Atlas and the Rif mountains catch the rain and the snow. Read our guides to snow in Morocco and the Atlas Mountains day trip from Marrakech.
Main cities and distances in Morocco
| City | Where it is | Distance and travel |
|---|---|---|
| Rabat | Atlantic coast, capital | About 90 km from Casablanca |
| Casablanca | Atlantic coast, largest city | About 240 km north of Marrakech |
| Marrakech | Centre-south, at the foot of the Atlas | About 560 km from Merzouga |
| Fes | North, inland | About 300 km from Tangier |
| Tangier | The Strait of Gibraltar | About 120 km from Chefchaouen |
| Essaouira | Atlantic coast | About 175 km from Marrakech |
| Merzouga | South-east, at the dunes of Erg Chebbi | About 460 km from Fes |
Distances are approximate road distances, and travel times depend on traffic and the mountain roads. Morocco is a big country, so plan at least a week for the main sights, or two weeks if you want to include the north and the coast. See our Morocco itineraries and guides to Marrakech and Fes.
Morocco and Spain: the Strait of Gibraltar
The Strait of Gibraltar is the narrow sea between Morocco and Spain, and it joins the Atlantic Ocean with the Mediterranean. At the narrowest point it is only about 14 kilometres wide, and on a clear day you can see the hills of Spain from Tangier and the mountains of Morocco from Tarifa. Cap Spartel, a headland west of Tangier with a lighthouse, is often described as the place where the two seas meet. Ferries cross every day, which is why many travellers combine a trip to southern Spain with a few days in Morocco. This is also why the north of Morocco is on the path of the total solar eclipse of 2 August 2027, which you can read about in our guide to the solar eclipse 2027 in Morocco.
Climate by location
| Place | What the weather is like | Best season |
|---|---|---|
| Mediterranean north | Mild and wetter in winter, warm and dry in summer | Spring and autumn |
| Atlantic coast | Cooler summers thanks to the ocean breeze, mild winters | Most of the year |
| Inland cities | Hot summers and cooler winters | Spring and autumn |
| Atlas Mountains | Cool in summer, cold and snowy in winter | Spring, summer and autumn for walking |
| The Sahara | Very hot summer days, cold winter nights | Spring and autumn |
Location explains the weather. The ocean cools the coast, the mountains collect the snow and the desert is hot and dry. You can swim in the morning, see snow in the afternoon and sleep in the desert the following night if you plan it well. Read our best time to visit Morocco for a month-by-month view.
Where are the main places to visit?
- Marrakech is in the centre-south, at the foot of the High Atlas. See things to do in Marrakech and Jemaa el-Fnaa.
- Fes is in the north, inland, in a valley between the Middle Atlas and the Rif. See things to do in Fes.
- Chefchaouen is in the Rif mountains in the north, about two hours from Tangier.
- Essaouira is on the Atlantic coast, west of Marrakech. See things to do in Essaouira.
- Ouarzazate and Ait Ben Haddou are south of the High Atlas. See our Ouarzazate guide.
- Merzouga is in the south-east, at the edge of the Sahara. See Merzouga or Zagora.
A one-week route across Morocco
| Day | Where | Why |
|---|---|---|
| Day 1 | Marrakech | The medina and the main square |
| Day 2 | Ait Ben Haddou and the Dades Valley | A UNESCO ksar and kasbahs |
| Day 3 | Merzouga | A camel ride and a night in the Sahara |
| Day 4 | Fes | The oldest medina in the country |
| Day 5 | Chefchaouen | The blue town in the Rif mountains |
| Day 6 | Tangier | The Strait of Gibraltar and Cap Spartel |
| Day 7 | Departure or the ferry to Spain | The end of the trip |
This is the line of our 5-day Marrakech to Tangier tour via Merzouga, which crosses the country from south to north without repeating a road. For the best desert routes, read Morocco desert tours.
Why the location makes Morocco special
Morocco sits where Africa, Europe and the Atlantic meet, and that shows in everything: the food, the architecture, the languages and the landscape. It is a short flight from Europe, so a long weekend is possible, and it is big enough for a three-week journey. In a few days you can walk through a thousand-year-old medina, drive over the highest mountains of North Africa, taste Atlantic fish, sleep in a desert camp and watch the sun set over the ocean. For travellers, that variety is the reason to come, and the reason to take your time.
How to get to Morocco
- By air: the main airports are Marrakech, Casablanca, Fes, Tangier, Agadir and Rabat, with direct flights from many European cities. Flights take about two hours from Madrid and about three and a half hours from London.
- By ferry: fast ferries cross from Tarifa in Spain to Tangier in about an hour, and from Algeciras to Tangier Med.
- From North America: flights to Casablanca take roughly seven to eight hours from the east coast.
- Entry rules: they depend on your nationality, so check the official requirements before you travel.
Once you arrive, a private driver is the easiest way to see several regions in a few days. See our guide to the best time to visit Morocco, the time in Morocco and Morocco tour costs.
Morocco quick facts
| Fact | Detail |
|---|---|
| Official name | Kingdom of Morocco |
| Capital | Rabat |
| Largest city | Casablanca |
| Population | About 37 million |
| Languages | Arabic and Amazigh, with French widely spoken and Spanish in the north |
| Currency | Moroccan dirham |
| Time zone | GMT+1 (GMT+0 during Ramadan) |
| Calling code | +212 |
| Driving | On the right |
For money, tipping and prices, read our guide to Morocco currency, money and tipping. To understand whether it is a good moment to travel, read is Morocco safe for tourists.
Tours with Highlights Morocco Tours
- 3-day Marrakech to Merzouga desert tour: from the High Atlas to the Sahara.
- 8-day Morocco tour from Marrakech: the cities, the mountains and the desert.
- Morocco tour packages: private tours from 249 euros per person.
- Morocco desert tours: the best routes compared.
We plan private tours with a driver and a local guide, and we adapt every route to your dates and your pace.
Ready to explore Morocco?
Send your dates and we reply with a free, no-obligation quote.
Where is Morocco: frequently asked questions
Where is Morocco located?
Morocco is a country in North Africa, in the north-west corner of the African continent. It has coasts on the Atlantic Ocean to the west and the Mediterranean Sea to the north, and it borders Algeria to the east and Mauritania to the south.
Is Morocco in Africa or Europe?
Morocco is in Africa. It is only about 14 kilometres from Spain across the Strait of Gibraltar, so Europe is visible from the northern coast on a clear day, but the country belongs to the African continent.
Which countries border Morocco?
Morocco borders Algeria to the east and Mauritania to the south. Spain has two small territories on the Moroccan coast, Ceuta and Melilla, and also lies across the Strait of Gibraltar to the north.
How far is Morocco from Spain?
At the narrowest point, the Strait of Gibraltar is about 14 kilometres wide. Fast ferries cross from Tarifa in Spain to Tangier in about an hour, and from Algeciras to Tangier Med in a similar time.
What is the capital of Morocco?
The capital of Morocco is Rabat. The largest city and the main business centre is Casablanca, and Marrakech is the most visited city for tourism.
Where is Casablanca in Morocco?
Casablanca is on the Atlantic coast in the north-west of Morocco, about 90 kilometres south-west of Rabat, and about 240 kilometres north of Marrakech.
Where is the Sahara desert in Morocco?
The Moroccan Sahara is in the south-east of the country, close to the Algerian border. The best-known dunes are Erg Chebbi at Merzouga, roughly 560 kilometres from Marrakech, and the dunes near Zagora and M'Hamid.
How do I get to Morocco?
Most travellers fly to Marrakech, Casablanca, Fes, Tangier or Agadir, and there are direct flights from many European cities. You can also take a ferry from Spain to Tangier. Check the entry rules for your nationality before you travel.
What is the time zone in Morocco?
Morocco is on GMT+1 all year, except during Ramadan, when it moves back to GMT+0. See our live clock and guide to the time in Morocco.
What is the best time to visit Morocco?
Spring (March to May) and autumn (September to November) are the most comfortable for most trips. Summer is very hot inland and in the desert, and winter is cold in the mountains and at night in the Sahara. See our best time to visit Morocco guide.
How do I book with Highlights Morocco Tours?
Send us your dates and number of travellers with the contact form, by WhatsApp or by email. We reply with a free, no-obligation quote and, when you are happy with it, we confirm the booking.
Plan your trip to Morocco with us
Tell us your dates, who is travelling and what you would like to see. We reply with a free, no-obligation quote.






