Morocco cities list with latitude and longitude in CSV format
Morocco
CSV, SQL, XML, JSON
Last update : 18 September 2024.
This is the best list of 44879 cities in the Morocco available in 4 formats ( CSV, Json, SQL, XML ). We have cleaned up the Geoname database to leave only the towns, capitals and villages. All are all associated with regions and sub-regions (where available).
Each file contains the following data: Geoname_ID, City, Alternate_Name, Country_Code, Region, Sub_region, Latitude, Longitude, Elevation, Population, Timezone, Fcode_Name. See the FAQ below for a detailed explanation.
Here is an example of the data from the Morocco file that you are going to retrieve. The data is displayed here in the form of a table:
Geoname_ID | City | Alternate_Name | Country_Code | Region | Sub_region | Latitude | Longitude | Elevation | Population | Timezone | Fcode_Name |
---|---|---|---|---|---|---|---|---|---|---|---|
10945607 | Tine Bari | MA | Souss-Massa | Chtouka-Ait-Baha | 30.16334 | -9.35633 | 0 | Africa/Casablanca | populated place | ||
11734480 | Iggui-Iouinguem | MA | Marrakesh-Safi | Essaouira | 31.19756 | -9.40953 | 0 | Africa/Casablanca | populated place | ||
10910141 | Douar Babbih | MA | Marrakesh-Safi | Kelaa-Des-Sraghna | 31.66473 | -7.51164 | 0 | Africa/Casablanca | populated place | ||
2560291 | Aït Boudhar | Ait Boudar,Ait Boudhar,Aït Boudar,Aït Boudhar | MA | Béni Mellal-Khénifra | Azilal Province | 31.6906 | -6.84053 | 0 | Africa/Casablanca | populated place | |
2528599 | Tiganimine | Tiganimin,Tiganimine | MA | Tanger-Tetouan-Al Hoceima | Al-Hoceima | 35.00957 | -3.98763 | 0 | Africa/Casablanca | populated place | |
2549538 | El Mouarid | Douar el Mouarid,El Mouarid | MA | Marrakesh-Safi | Essaouira | 31.61459 | -9.13758 | 0 | Africa/Casablanca | populated place | |
10951399 | Azrag | MA | Béni Mellal-Khénifra | Azilal Province | 31.38643 | -6.89804 | 0 | Africa/Casablanca | populated place | ||
2561679 | Douar Afzou | Afzou,Douar Afzou | MA | Fès-Meknès | Taza | 33.86884 | -3.94843 | 0 | Africa/Casablanca | populated place | |
2564833 | Mouisat Slimane | MA | Marrakesh-Safi | Essaouira | 31.59233 | -9.15363 | 0 | Africa/Casablanca | populated place | ||
2559678 | Aït Khouya | MA | Béni Mellal-Khénifra | Azilal Province | 32.0544 | -5.94095 | 0 | Africa/Casablanca | populated place | ||
2544235 | Lakhrouta | Douar Khrouta,Khrouta,Khroutta Sdoud,Lakhrouta | MA | Rabat-Salé-Kénitra | Kenitra Province | 34.70125 | -6.17406 | 0 | Africa/Casablanca | populated place | |
2550463 | El Feïd El Khnabib | El Feid El Khnabib,El Feid el Rhnabib,El Feïd El Khnabib,El Feïd el Rhnabib | MA | Souss-Massa | Tiznit | 29.85991 | -9.75226 | 0 | Africa/Casablanca | populated place | |
10947180 | Douar Echorfa | MA | Marrakesh-Safi | Essaouira | 31.66206 | -9.38957 | 0 | Africa/Casablanca | populated place | ||
11734689 | Tissalouine | MA | Marrakesh-Safi | Chichaoua | 31.15195 | -9.27811 | 0 | Africa/Casablanca | populated place | ||
10985090 | Douar Oulad Ichou | MA | Fès-Meknès | Taounate | 34.32405 | -5.3505 | 0 | Africa/Casablanca | populated place | ||
11735609 | Douar Gribat | MA | Rabat-Salé-Kénitra | Sidi-Kacem | 34.45662 | -5.53414 | 0 | Africa/Casablanca | populated place | ||
10889525 | Id Ben El Ardi | MA | Marrakesh-Safi | Essaouira | 30.99343 | -9.77972 | 0 | Africa/Casablanca | populated place | ||
2568295 | Sidi Ali Boubkar | Sidi Ali Boubkar,Sidi Ali Boubker | MA | Marrakesh-Safi | Essaouira | 30.93912 | -9.50282 | 0 | Africa/Casablanca | populated place | |
2558280 | Amara Ben Ammou | MA | Marrakesh-Safi | Essaouira | 31.78 | -9.05 | 0 | Africa/Casablanca | populated place | ||
2553590 | Cha Ali | MA | Tanger-Tetouan-Al Hoceima | Tetouan | 35.39173 | -5.28512 | 0 | Africa/Casablanca | populated place | ||
11368338 | Rahhal El Mellas | MA | Casablanca-Settat | Settat Province | 32.67476 | -7.73583 | 0 | Africa/Casablanca | populated place | ||
2528168 | Timerhdat n’Ouamiou | MA | Drâa-Tafilalet | Tinghir Province | 31.55 | -6.08 | 0 | Africa/Casablanca | populated place | ||
10845031 | Takhemchantou | MA | Tanger-Tetouan-Al Hoceima | Chefchaouen Province | 35.00928 | -4.83315 | 0 | Africa/Casablanca | populated place | ||
10993343 | Douar Harroudiyat | MA | Fès-Meknès | Taounate | 34.18802 | -4.66417 | 0 | Africa/Casablanca | populated place | ||
2559762 | Aït Ighiwr | Ait Ighiwr,Ait Irhiour,Aït Ighiwr,Aït Irhiour | MA | Souss-Massa | Taroudannt | 29.94158 | -8.87027 | 0 | Africa/Casablanca | populated place | |
2549962 | Douar El Khaydar | Douar El Khaydar,Douar el Khadir,El Khadir | MA | Marrakesh-Safi | Marrakech | 31.58037 | -8.37378 | 0 | Africa/Casablanca | populated place | |
2550984 | Douar Drioukat | Douar Brioukat,Douar Drioukat,Drioukat | MA | Marrakesh-Safi | Rehamna | 31.78862 | -7.67478 | 0 | Africa/Casablanca | populated place | |
10949013 | Ketifat | MA | Marrakesh-Safi | Safi | 32.08832 | -9.24025 | 0 | Africa/Casablanca | populated place | ||
2552772 | Dar al Haj Mejdoub | Dar al Haj Mejdoub,Dar el Haj Medjoub,Dar el Haj Mejdoub,Dar el Hajj Mejdoub | MA | Casablanca-Settat | Berrechid Province | 33.38001 | -7.38513 | 0 | Africa/Casablanca | populated place | |
2540631 | Ougasset | Ougasset,Ougassete | MA | Fès-Meknès | Taounate | 34.5934 | -4.90813 | 0 | Africa/Casablanca | populated place | |
10962773 | Oulad Saad | MA | Marrakesh-Safi | Essaouira | 31.80512 | -9.50711 | 0 | Africa/Casablanca | populated place | ||
10997767 | Douar Maghraoua | MA | Fès-Meknès | Taounate | 34.33732 | -4.53189 | 0 | Africa/Casablanca | populated place | ||
11435758 | Tilzat | MA | Béni Mellal-Khénifra | Azilal Province | 32.12639 | -6.48029 | 0 | Africa/Casablanca | populated place | ||
11147731 | Mgout | MA | Marrakesh-Safi | Al-Haouz | 30.96712 | -7.94712 | 0 | Africa/Casablanca | populated place | ||
2553584 | Douar Echaaba | Ahl Chaibat,Ahl Châibat,Chaba,Chaibat,Chaïbat,Châba,Douar Ahal Chab,Douar Ahal Châb,Douar Echaaba | MA | Marrakesh-Safi | Kelaa-Des-Sraghna | 32.17153 | -7.66047 | 0 | Africa/Casablanca | populated place | |
10920931 | Oulad Laayouchi | MA | Rabat-Salé-Kénitra | Sale | 34.10709 | -6.74249 | 0 | Africa/Casablanca | populated place | ||
2548421 | Lguissa | Guissa,Lguissa | MA | Rabat-Salé-Kénitra | Kenitra Province | 34.89475 | -5.8365 | 0 | Africa/Casablanca | populated place | |
10375179 | Tanoutann | MA | Souss-Massa | Agadir-Ida-ou-Tnan | 30.49479 | -9.49699 | 0 | Africa/Casablanca | populated place | ||
2546829 | Iggui n’Ouakka | Iggim n’Ouakka,Iggim n’Ouakka,Iggui n’Ouakka,Iggui n’Ouakka | MA | Souss-Massa | Taroudannt | 30.72009 | -8.67143 | 0 | Africa/Casablanca | populated place | |
10375458 | Douar Tighumone | MA | Souss-Massa | Agadir-Ida-ou-Tnan | 30.84297 | -9.79241 | 0 | Africa/Casablanca | populated place | ||
2544738 | Kasba Mohammed Ameziane | Ait M’hamed Imeziane,Aït M’hamed Iméziane,Kasba Mohammed Ameziane | MA | Fès-Meknès | Boulemane | 33.52014 | -4.39605 | 0 | Africa/Casablanca | populated place | |
2558209 | Amadghar | Amadghar,Amdrar,Amdrar n’ Oumdras,Amdrar n’ Oumdras | MA | Souss-Massa | Taroudannt | 30.31942 | -7.75679 | 0 | Africa/Casablanca | populated place | |
2543389 | Al Hadaja | Al Hadaja,Hadadja,Hadaja,Lalla Hadja,Lhadaja | MA | Marrakesh-Safi | Kelaa-Des-Sraghna | 31.97123 | -7.22436 | 0 | Africa/Casablanca | populated place | |
11131357 | Amaoun | MA | Souss-Massa | Chtouka-Ait-Baha | 30.01485 | -9.00242 | 0 | Africa/Casablanca | populated place | ||
11471520 | Azibou El Houari | MA | Casablanca-Settat | El-Jadida | 33.10446 | -8.58112 | 0 | Africa/Casablanca | populated place | ||
11736559 | Bab el Koudiat | MA | Fès-Meknès | Taounate | 34.68462 | -4.32969 | 0 | Africa/Casablanca | populated place | ||
11130490 | Tagragra | MA | Souss-Massa | Chtouka-Ait-Baha | 29.90142 | -9.23046 | 0 | Africa/Casablanca | populated place | ||
10867541 | Douar Mouarid | MA | Casablanca-Settat | Sidi Bennour | 32.55214 | -8.48847 | 0 | Africa/Casablanca | populated place | ||
11738003 | Oulad ’Ali Ben Haddou | MA | Oriental | Driouch Province | 34.74206 | -3.42756 | 0 | Africa/Casablanca | populated place | ||
10998816 | Douar Bni Yazzouni Sghir | MA | Oriental | Oujda-Angad | 34.56962 | -2.1573 | 0 | Africa/Casablanca | populated place | ||
2559624 | Aït al Hilt | Ait Lelt,Ait al Hilt,Aït Lelt,Aït al Hilt | MA | Souss-Massa | Taroudannt | 30.21618 | -8.79477 | 0 | Africa/Casablanca | populated place | |
11092751 | Ansayene | MA | Oriental | Driouch Province | 35.04611 | -3.40064 | 0 | Africa/Casablanca | populated place | ||
11025158 | Douar Echebka | MA | Fès-Meknès | Meknes | 33.99756 | -5.25567 | 0 | Africa/Casablanca | populated place | ||
11100549 | Id Balouch | MA | Guelmim-Oued Noun | Sidi Ifni | 29.48387 | -9.96813 | 0 | Africa/Casablanca | populated place | ||
11091749 | Dar Abdennbi | MA | Tanger-Tetouan-Al Hoceima | Al-Hoceima | 34.99925 | -4.22051 | 0 | Africa/Casablanca | populated place | ||
10843789 | Douar Amana Ilila | MA | Fès-Meknès | Boulemane | 33.57411 | -4.62062 | 0 | Africa/Casablanca | populated place | ||
2570654 | Douar Abd Liouach | Abd el Liouech,Douar Abd Liouach | MA | Tanger-Tetouan-Al Hoceima | Tetouan | 35.61024 | -5.5397 | 0 | Africa/Casablanca | populated place | |
10997874 | Douar Erras Labyad | MA | Fès-Meknès | Taounate | 34.18429 | -4.48447 | 0 | Africa/Casablanca | populated place | ||
2565310 | Lataouna | Al `Atawna,Al ‘Atawna,Lataouna | MA | Rabat-Salé-Kénitra | Sidi-Kacem | 34.46285 | -6.07913 | 0 | Africa/Casablanca | populated place | |
10639097 | Oulad Taher Boubker | MA | Marrakesh-Safi | Safi | 32.30954 | -8.82975 | 0 | Africa/Casablanca | populated place | ||
11355033 | Ch’ab Nda | MA | Marrakesh-Safi | Kelaa-Des-Sraghna | 31.96134 | -7.49617 | 0 | Africa/Casablanca | populated place | ||
10963310 | Mohamed ou ’Abd ar Rahmane | MA | Marrakesh-Safi | Al-Haouz | 31.24991 | -8.32378 | 0 | Africa/Casablanca | populated place | ||
10898745 | Ait Lahmar | MA | Marrakesh-Safi | Essaouira | 31.60444 | -9.56519 | 0 | Africa/Casablanca | populated place | ||
10977971 | Ait Bougrine | MA | Fès-Meknès | Sefrou | 33.9093 | -4.71335 | 0 | Africa/Casablanca | populated place | ||
11149377 | Amzri | MA | Marrakesh-Safi | Al-Haouz | 31.15018 | -8.37926 | 0 | Africa/Casablanca | populated place | ||
10913282 | Douar Hmida | MA | Marrakesh-Safi | Safi | 31.92221 | -8.94509 | 0 | Africa/Casablanca | populated place | ||
11130564 | Iggui-n-Tanghourt | MA | Souss-Massa | Chtouka-Ait-Baha | 29.90458 | -9.24293 | 0 | Africa/Casablanca | populated place | ||
11130725 | Dou Wawj | MA | Souss-Massa | Chtouka-Ait-Baha | 29.7789 | -9.12006 | 0 | Africa/Casablanca | populated place | ||
2559628 | Aït Lbouwr | Ait Lbour,Ait Lbouwr,Aït Lbour,Aït Lbouwr | MA | Béni Mellal-Khénifra | Azilal Province | 31.68774 | -6.72244 | 0 | Africa/Casablanca | populated place | |
11100979 | Izighar | MA | Guelmim-Oued Noun | Sidi Ifni | 29.39069 | -9.7771 | 0 | Africa/Casablanca | populated place | ||
10375219 | Taounit | MA | Souss-Massa | Agadir-Ida-ou-Tnan | 30.47935 | -9.43215 | 0 | Africa/Casablanca | populated place | ||
2552709 | Dar Hamada | Dar Hamada,Dar Hammada,Dar Homada,Dar Hoummada | MA | Oriental | Taourirt | 34.36654 | -2.6487 | 0 | Africa/Casablanca | populated place | |
2547088 | Id Ourach | Id Ourach,Idorax,Idurax | MA | Guelmim-Oued Noun | Sidi Ifni | 29.43 | -10.1 | 0 | Africa/Casablanca | populated place | |
2540424 | Oulad Abdellah | Douar Ouled Abdallah,Oulad Abdallah,Oulad Abdellah,Ouled Abdallah,Ouled Abdellah | MA | Marrakesh-Safi | Chichaoua | 31.64265 | -8.57445 | 0 | Africa/Casablanca | populated place | |
2543241 | Mâchat | Douar el Maachat,Lemaachat Sidi Boudouma,Machat,Mâchat | MA | Marrakesh-Safi | Safi | 31.9385 | -9.3717 | 0 | Africa/Casablanca | populated place | |
11238830 | El Ganzra | MA | Rabat-Salé-Kénitra | Khemisset | 34.05137 | -6.00284 | 0 | Africa/Casablanca | populated place | ||
11435615 | Tassekssout | MA | Béni Mellal-Khénifra | Azilal Province | 32.04788 | -6.5088 | 0 | Africa/Casablanca | populated place | ||
10971011 | Zitoun | MA | Marrakesh-Safi | Al-Haouz | 31.50956 | -8.17577 | 0 | Africa/Casablanca | populated place | ||
10958594 | Douar Izakirene | MA | Tanger-Tetouan-Al Hoceima | Al-Hoceima | 35.02662 | -3.87325 | 0 | Africa/Casablanca | populated place | ||
2560419 | Aït Azzouz | MA | Drâa-Tafilalet | Midelt | 32.83592 | -5.02521 | 0 | Africa/Casablanca | populated place | ||
10946831 | Douar Ait Bou Regga | MA | Marrakesh-Safi | Essaouira | 31.60941 | -9.34075 | 0 | Africa/Casablanca | populated place | ||
11708787 | Ighrem Mkhatar | MA | Fès-Meknès | Ifrane | 33.34157 | -5.29581 | 0 | Africa/Casablanca | populated place | ||
2553734 | Brahimate | Brahimat,Brahimate,Brâhîmat | MA | Oriental | Nador | 35.01758 | -3.06663 | 0 | Africa/Casablanca | populated place | |
11354451 | Dar Aït Belhit | MA | Béni Mellal-Khénifra | Azilal Province | 31.70645 | -7.26797 | 0 | Africa/Casablanca | populated place | ||
2565043 | Douar Taguidite | Douar Taguidite,Taguidit | MA | Tanger-Tetouan-Al Hoceima | Al-Hoceima | 35.11989 | -4.16511 | 0 | Africa/Casablanca | populated place | |
2539173 | Oulad Snoussine | Douar Snoussiyne,Oulad Snoussine,Snousiyne,Snoussiyne | MA | Marrakesh-Safi | Kelaa-Des-Sraghna | 31.98282 | -7.49949 | 0 | Africa/Casablanca | populated place | |
10960949 | Douar Laflalqa | MA | Rabat-Salé-Kénitra | Kenitra Province | 34.4067 | -6.3722 | 0 | Africa/Casablanca | populated place | ||
11042720 | Douar Gourat | MA | Fès-Meknès | Taounate | 34.35598 | -4.63405 | 0 | Africa/Casablanca | populated place | ||
2526335 | Imaghatn | Imaghatn,Imarhaten,Imarhatèn,Zaouia Imaratene | MA | Souss-Massa | Tata | 30.21651 | -7.15848 | 0 | Africa/Casablanca | populated place | |
10797974 | Douar Oulad Jilali Ben Zalit | MA | Casablanca-Settat | Settat Province | 33.01313 | -7.06075 | 0 | Africa/Casablanca | populated place | ||
10940540 | Douar Legrinat | MA | Rabat-Salé-Kénitra | Khemisset | 33.64735 | -6.50198 | 0 | Africa/Casablanca | populated place | ||
11041809 | Douar Ain Slougui | MA | Fès-Meknès | Taounate | 34.52558 | -5.16603 | 0 | Africa/Casablanca | populated place | ||
2531084 | Talat n’Saïd | Talat n’Said,Talat n’Saïd,Tolat Said,Tolat Saïd | MA | Guelmim-Oued Noun | Sidi Ifni | 29.26397 | -9.58899 | 0 | Africa/Casablanca | populated place | |
2540371 | Oulad Ahmed Mbark | MA | Marrakesh-Safi | Chichaoua | 31.51 | -9.14 | 0 | Africa/Casablanca | populated place | ||
11708484 | Ighzafene | MA | Fès-Meknès | Ifrane | 33.17314 | -5.09798 | 0 | Africa/Casablanca | populated place | ||
10924307 | Dar Aït Hadag | MA | Marrakesh-Safi | Essaouira | 31.43397 | -9.35191 | 0 | Africa/Casablanca | populated place | ||
2550221 | El Hameinat | MA | Marrakesh-Safi | Essaouira | 31.29015 | -9.30359 | 0 | Africa/Casablanca | populated place | ||
2530670 | Tanoudene | Tamerabene,Tanoudene | MA | Tanger-Tetouan-Al Hoceima | Tetouan | 35.48286 | -5.2047 | 0 | Africa/Casablanca | populated place | |
10938369 | Lemsandiyine | MA | Casablanca-Settat | Benslimane | 33.21161 | -7.11831 | 0 | Africa/Casablanca | populated place | ||
10797812 | Douar Ait Ahmed | MA | Rabat-Salé-Kénitra | Khemisset | 33.46003 | -6.75975 | 0 | Africa/Casablanca | populated place |
FaQ about Morocco
Once you have placed your order, you can download the product straight away! You'll also immediately receive an order confirmation email in which you can download your product. Remember to check your spam.
Don't panic, just log back in to the site and click on "your account" in the menu. You'll be able to find all your orders and re-download them whenever you like.
Yes, of course, click here to retrieve an archive containing an extract of the 4 CSV, XML, JSON and SQL files for a country.
Absolutely! You can pay with paypal or stripe in total security.
- Geoname_ID: This is a unique identifier for each place or geographical name in the Geoname database.
- City: The name of the place, which can be a town, village or any other form of human settlement.
- Alternate_Name: Other names or appellations that the place may have. These alternative names may be in different languages, dialects or even local names.
- Country_Code: This is the ISO 3166-1 alpha-2 code for the country in which the place is located. For example, "US" for the United States, "FR" for France.
- Region: This represents the first-order administrative division in which the location is situated. For example, this could be a state, province or territory.
- Sub_region: This is a second-order administrative division, such as a county or district, within the region.
- Latitude: The geographical latitude of the location, usually in decimal degrees.
- Longitude: The geographical longitude of the location, also usually in decimal degrees.
- Elevation: The elevation or altitude of the location in relation to sea level, usually measured in metres.
- Population: The estimated number of inhabitants or population of the location.
- Timezone: The time zone in which the location is located, in accordance with global time zone standards.
- Fcode_Name: This is a code that categorises the type of location. For example, "PPL" could mean a populated place, while "PPLC" could be the capital of a political entity.
You will retrieve a .rar archive containing the country files in csv, sql, xml and json formats.
Yes, you'll be able to download the content you've purchased whenever you want, with no time limit.
Make sure your Internet connection is stable, as some files can be quite large and take a long time to download.
Unfortunately we don't offer files in excel format, but it's really very easy to convert a csv file into excel. There are a plethora of free online sites that allow you to do this, here are a few: click here to convert csv to excel