Morocco cities list with latitude and longitude in CSV,SQL,XML,JSON formats

Morocco
Morocco
CSV, SQL, XML, JSON

Last update : 10 December 2024.

Country
Morocco
Capitale
Rabat
Number of cities
44879
Download

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_IDCityAlternate_NameCountry_CodeRegionSub_regionLatitudeLongitudeElevationPopulationTimezoneFcode_Name
10945607Tine BariMASouss-MassaChtouka-Ait-Baha30.16334-9.356330Africa/Casablancapopulated place
11734480Iggui-IouinguemMAMarrakesh-SafiEssaouira31.19756-9.409530Africa/Casablancapopulated place
10910141Douar BabbihMAMarrakesh-SafiKelaa-Des-Sraghna31.66473-7.511640Africa/Casablancapopulated place
2560291Aït BoudharAit Boudar,Ait Boudhar,Aït Boudar,Aït BoudharMABéni Mellal-KhénifraAzilal Province31.6906-6.840530Africa/Casablancapopulated place
2528599TiganimineTiganimin,TiganimineMATanger-Tetouan-Al HoceimaAl-Hoceima35.00957-3.987630Africa/Casablancapopulated place
2549538El MouaridDouar el Mouarid,El MouaridMAMarrakesh-SafiEssaouira31.61459-9.137580Africa/Casablancapopulated place
10951399AzragMABéni Mellal-KhénifraAzilal Province31.38643-6.898040Africa/Casablancapopulated place
2561679Douar AfzouAfzou,Douar AfzouMAFès-MeknèsTaza33.86884-3.948430Africa/Casablancapopulated place
2564833Mouisat SlimaneMAMarrakesh-SafiEssaouira31.59233-9.153630Africa/Casablancapopulated place
2559678Aït KhouyaMABéni Mellal-KhénifraAzilal Province32.0544-5.940950Africa/Casablancapopulated place
2544235LakhroutaDouar Khrouta,Khrouta,Khroutta Sdoud,LakhroutaMARabat-Salé-KénitraKenitra Province34.70125-6.174060Africa/Casablancapopulated place
2550463El Feïd El KhnabibEl Feid El Khnabib,El Feid el Rhnabib,El Feïd El Khnabib,El Feïd el RhnabibMASouss-MassaTiznit29.85991-9.752260Africa/Casablancapopulated place
10947180Douar EchorfaMAMarrakesh-SafiEssaouira31.66206-9.389570Africa/Casablancapopulated place
11734689TissalouineMAMarrakesh-SafiChichaoua31.15195-9.278110Africa/Casablancapopulated place
10985090Douar Oulad IchouMAFès-MeknèsTaounate34.32405-5.35050Africa/Casablancapopulated place
11735609Douar GribatMARabat-Salé-KénitraSidi-Kacem34.45662-5.534140Africa/Casablancapopulated place
10889525Id Ben El ArdiMAMarrakesh-SafiEssaouira30.99343-9.779720Africa/Casablancapopulated place
2568295Sidi Ali BoubkarSidi Ali Boubkar,Sidi Ali BoubkerMAMarrakesh-SafiEssaouira30.93912-9.502820Africa/Casablancapopulated place
2558280Amara Ben AmmouMAMarrakesh-SafiEssaouira31.78-9.050Africa/Casablancapopulated place
2553590Cha AliMATanger-Tetouan-Al HoceimaTetouan35.39173-5.285120Africa/Casablancapopulated place
11368338Rahhal El MellasMACasablanca-SettatSettat Province32.67476-7.735830Africa/Casablancapopulated place
2528168Timerhdat n’OuamiouMADrâa-TafilaletTinghir Province31.55-6.080Africa/Casablancapopulated place
10845031TakhemchantouMATanger-Tetouan-Al HoceimaChefchaouen Province35.00928-4.833150Africa/Casablancapopulated place
10993343Douar HarroudiyatMAFès-MeknèsTaounate34.18802-4.664170Africa/Casablancapopulated place
2559762Aït IghiwrAit Ighiwr,Ait Irhiour,Aït Ighiwr,Aït IrhiourMASouss-MassaTaroudannt29.94158-8.870270Africa/Casablancapopulated place
2549962Douar El KhaydarDouar El Khaydar,Douar el Khadir,El KhadirMAMarrakesh-SafiMarrakech31.58037-8.373780Africa/Casablancapopulated place
2550984Douar DrioukatDouar Brioukat,Douar Drioukat,DrioukatMAMarrakesh-SafiRehamna31.78862-7.674780Africa/Casablancapopulated place
10949013KetifatMAMarrakesh-SafiSafi32.08832-9.240250Africa/Casablancapopulated place
2552772Dar al Haj MejdoubDar al Haj Mejdoub,Dar el Haj Medjoub,Dar el Haj Mejdoub,Dar el Hajj MejdoubMACasablanca-SettatBerrechid Province33.38001-7.385130Africa/Casablancapopulated place
2540631OugassetOugasset,OugasseteMAFès-MeknèsTaounate34.5934-4.908130Africa/Casablancapopulated place
10962773Oulad SaadMAMarrakesh-SafiEssaouira31.80512-9.507110Africa/Casablancapopulated place
10997767Douar MaghraouaMAFès-MeknèsTaounate34.33732-4.531890Africa/Casablancapopulated place
11435758TilzatMABéni Mellal-KhénifraAzilal Province32.12639-6.480290Africa/Casablancapopulated place
11147731MgoutMAMarrakesh-SafiAl-Haouz30.96712-7.947120Africa/Casablancapopulated place
2553584Douar EchaabaAhl Chaibat,Ahl Châibat,Chaba,Chaibat,Chaïbat,Châba,Douar Ahal Chab,Douar Ahal Châb,Douar EchaabaMAMarrakesh-SafiKelaa-Des-Sraghna32.17153-7.660470Africa/Casablancapopulated place
10920931Oulad LaayouchiMARabat-Salé-KénitraSale34.10709-6.742490Africa/Casablancapopulated place
2548421LguissaGuissa,LguissaMARabat-Salé-KénitraKenitra Province34.89475-5.83650Africa/Casablancapopulated place
10375179TanoutannMASouss-MassaAgadir-Ida-ou-Tnan30.49479-9.496990Africa/Casablancapopulated place
2546829Iggui n’OuakkaIggim n’Ouakka,Iggim n’Ouakka,Iggui n’Ouakka,Iggui n’OuakkaMASouss-MassaTaroudannt30.72009-8.671430Africa/Casablancapopulated place
10375458Douar TighumoneMASouss-MassaAgadir-Ida-ou-Tnan30.84297-9.792410Africa/Casablancapopulated place
2544738Kasba Mohammed AmezianeAit M’hamed Imeziane,Aït M’hamed Iméziane,Kasba Mohammed AmezianeMAFès-MeknèsBoulemane33.52014-4.396050Africa/Casablancapopulated place
2558209AmadgharAmadghar,Amdrar,Amdrar n’ Oumdras,Amdrar n’ OumdrasMASouss-MassaTaroudannt30.31942-7.756790Africa/Casablancapopulated place
2543389Al HadajaAl Hadaja,Hadadja,Hadaja,Lalla Hadja,LhadajaMAMarrakesh-SafiKelaa-Des-Sraghna31.97123-7.224360Africa/Casablancapopulated place
11131357AmaounMASouss-MassaChtouka-Ait-Baha30.01485-9.002420Africa/Casablancapopulated place
11471520Azibou El HouariMACasablanca-SettatEl-Jadida33.10446-8.581120Africa/Casablancapopulated place
11736559Bab el KoudiatMAFès-MeknèsTaounate34.68462-4.329690Africa/Casablancapopulated place
11130490TagragraMASouss-MassaChtouka-Ait-Baha29.90142-9.230460Africa/Casablancapopulated place
10867541Douar MouaridMACasablanca-SettatSidi Bennour32.55214-8.488470Africa/Casablancapopulated place
11738003Oulad ’Ali Ben HaddouMAOrientalDriouch Province34.74206-3.427560Africa/Casablancapopulated place
10998816Douar Bni Yazzouni SghirMAOrientalOujda-Angad34.56962-2.15730Africa/Casablancapopulated place
2559624Aït al HiltAit Lelt,Ait al Hilt,Aït Lelt,Aït al HiltMASouss-MassaTaroudannt30.21618-8.794770Africa/Casablancapopulated place
11092751AnsayeneMAOrientalDriouch Province35.04611-3.400640Africa/Casablancapopulated place
11025158Douar EchebkaMAFès-MeknèsMeknes33.99756-5.255670Africa/Casablancapopulated place
11100549Id BalouchMAGuelmim-Oued NounSidi Ifni29.48387-9.968130Africa/Casablancapopulated place
11091749Dar AbdennbiMATanger-Tetouan-Al HoceimaAl-Hoceima34.99925-4.220510Africa/Casablancapopulated place
10843789Douar Amana IlilaMAFès-MeknèsBoulemane33.57411-4.620620Africa/Casablancapopulated place
2570654Douar Abd LiouachAbd el Liouech,Douar Abd LiouachMATanger-Tetouan-Al HoceimaTetouan35.61024-5.53970Africa/Casablancapopulated place
10997874Douar Erras LabyadMAFès-MeknèsTaounate34.18429-4.484470Africa/Casablancapopulated place
2565310LataounaAl `Atawna,Al ‘Atawna,LataounaMARabat-Salé-KénitraSidi-Kacem34.46285-6.079130Africa/Casablancapopulated place
10639097Oulad Taher BoubkerMAMarrakesh-SafiSafi32.30954-8.829750Africa/Casablancapopulated place
11355033Ch’ab NdaMAMarrakesh-SafiKelaa-Des-Sraghna31.96134-7.496170Africa/Casablancapopulated place
10963310Mohamed ou ’Abd ar RahmaneMAMarrakesh-SafiAl-Haouz31.24991-8.323780Africa/Casablancapopulated place
10898745Ait LahmarMAMarrakesh-SafiEssaouira31.60444-9.565190Africa/Casablancapopulated place
10977971Ait BougrineMAFès-MeknèsSefrou33.9093-4.713350Africa/Casablancapopulated place
11149377AmzriMAMarrakesh-SafiAl-Haouz31.15018-8.379260Africa/Casablancapopulated place
10913282Douar HmidaMAMarrakesh-SafiSafi31.92221-8.945090Africa/Casablancapopulated place
11130564Iggui-n-TanghourtMASouss-MassaChtouka-Ait-Baha29.90458-9.242930Africa/Casablancapopulated place
11130725Dou WawjMASouss-MassaChtouka-Ait-Baha29.7789-9.120060Africa/Casablancapopulated place
2559628Aït LbouwrAit Lbour,Ait Lbouwr,Aït Lbour,Aït LbouwrMABéni Mellal-KhénifraAzilal Province31.68774-6.722440Africa/Casablancapopulated place
11100979IzigharMAGuelmim-Oued NounSidi Ifni29.39069-9.77710Africa/Casablancapopulated place
10375219TaounitMASouss-MassaAgadir-Ida-ou-Tnan30.47935-9.432150Africa/Casablancapopulated place
2552709Dar HamadaDar Hamada,Dar Hammada,Dar Homada,Dar HoummadaMAOrientalTaourirt34.36654-2.64870Africa/Casablancapopulated place
2547088Id OurachId Ourach,Idorax,IduraxMAGuelmim-Oued NounSidi Ifni29.43-10.10Africa/Casablancapopulated place
2540424Oulad AbdellahDouar Ouled Abdallah,Oulad Abdallah,Oulad Abdellah,Ouled Abdallah,Ouled AbdellahMAMarrakesh-SafiChichaoua31.64265-8.574450Africa/Casablancapopulated place
2543241MâchatDouar el Maachat,Lemaachat Sidi Boudouma,Machat,MâchatMAMarrakesh-SafiSafi31.9385-9.37170Africa/Casablancapopulated place
11238830El GanzraMARabat-Salé-KénitraKhemisset34.05137-6.002840Africa/Casablancapopulated place
11435615TassekssoutMABéni Mellal-KhénifraAzilal Province32.04788-6.50880Africa/Casablancapopulated place
10971011ZitounMAMarrakesh-SafiAl-Haouz31.50956-8.175770Africa/Casablancapopulated place
10958594Douar IzakireneMATanger-Tetouan-Al HoceimaAl-Hoceima35.02662-3.873250Africa/Casablancapopulated place
2560419Aït AzzouzMADrâa-TafilaletMidelt32.83592-5.025210Africa/Casablancapopulated place
10946831Douar Ait Bou ReggaMAMarrakesh-SafiEssaouira31.60941-9.340750Africa/Casablancapopulated place
11708787Ighrem MkhatarMAFès-MeknèsIfrane33.34157-5.295810Africa/Casablancapopulated place
2553734BrahimateBrahimat,Brahimate,BrâhîmatMAOrientalNador35.01758-3.066630Africa/Casablancapopulated place
11354451Dar Aït BelhitMABéni Mellal-KhénifraAzilal Province31.70645-7.267970Africa/Casablancapopulated place
2565043Douar TaguiditeDouar Taguidite,TaguiditMATanger-Tetouan-Al HoceimaAl-Hoceima35.11989-4.165110Africa/Casablancapopulated place
2539173Oulad SnoussineDouar Snoussiyne,Oulad Snoussine,Snousiyne,SnoussiyneMAMarrakesh-SafiKelaa-Des-Sraghna31.98282-7.499490Africa/Casablancapopulated place
10960949Douar LaflalqaMARabat-Salé-KénitraKenitra Province34.4067-6.37220Africa/Casablancapopulated place
11042720Douar GouratMAFès-MeknèsTaounate34.35598-4.634050Africa/Casablancapopulated place
2526335ImaghatnImaghatn,Imarhaten,Imarhatèn,Zaouia ImarateneMASouss-MassaTata30.21651-7.158480Africa/Casablancapopulated place
10797974Douar Oulad Jilali Ben ZalitMACasablanca-SettatSettat Province33.01313-7.060750Africa/Casablancapopulated place
10940540Douar LegrinatMARabat-Salé-KénitraKhemisset33.64735-6.501980Africa/Casablancapopulated place
11041809Douar Ain SlouguiMAFès-MeknèsTaounate34.52558-5.166030Africa/Casablancapopulated place
2531084Talat n’SaïdTalat n’Said,Talat n’Saïd,Tolat Said,Tolat SaïdMAGuelmim-Oued NounSidi Ifni29.26397-9.588990Africa/Casablancapopulated place
2540371Oulad Ahmed MbarkMAMarrakesh-SafiChichaoua31.51-9.140Africa/Casablancapopulated place
11708484IghzafeneMAFès-MeknèsIfrane33.17314-5.097980Africa/Casablancapopulated place
10924307Dar Aït HadagMAMarrakesh-SafiEssaouira31.43397-9.351910Africa/Casablancapopulated place
2550221El HameinatMAMarrakesh-SafiEssaouira31.29015-9.303590Africa/Casablancapopulated place
2530670TanoudeneTamerabene,TanoudeneMATanger-Tetouan-Al HoceimaTetouan35.48286-5.20470Africa/Casablancapopulated place
10938369LemsandiyineMACasablanca-SettatBenslimane33.21161-7.118310Africa/Casablancapopulated place
10797812Douar Ait AhmedMARabat-Salé-KénitraKhemisset33.46003-6.759750Africa/Casablancapopulated place

Morocco: A Geographical Exploration of a Diverse Country

A Country of Contrasts and Beauty

Morocco, located in the northwestern corner of Africa, is a country marked by incredible geographical diversity. From the snow-capped peaks of the Atlas Mountains to the sandy expanses of the Sahara Desert, and from the bustling urban centers along the Mediterranean and Atlantic coasts to the tranquil rural villages nestled in mountain valleys, Morocco's geography is as varied as it is captivating. The country's strategic location at the crossroads of Africa and Europe has also imbued it with a rich cultural history that spans millennia.

As a gateway between the Mediterranean and the vast Sahara, Morocco's terrain has shaped its history, economy, and settlements. The diversity of its landscapes—from fertile plains and rugged mountain ranges to arid deserts and coastal wetlands—has not only determined the distribution of its population but also influenced its agricultural, industrial, and tourism sectors.

In order to truly appreciate Morocco's unique geographical makeup, it's essential to examine not just its natural environment, but also the spatial distribution of its cities, regions, and administrative departments. The precise location of Morocco’s urban areas and their geographical coordinates can provide deeper insights into how human activity intersects with the landscape and how the country's urban and rural areas interact with each other.

The Regional Structure of Morocco: Cities and Administrative Divisions

Morocco is divided into 12 regions, each with distinct characteristics shaped by the natural geography and the economic activities of the area. The regions are further subdivided into provinces and municipalities, which reflect the administrative and cultural divisions of the country.

The capital city, Rabat, located on the Atlantic coast, serves as the political and administrative center of the country, while Casablanca, just south of Rabat, is the economic heart of Morocco, with its large port and industrial base. Cities like Marrakesh and Fes represent the country’s cultural and historical significance, with Marrakesh being known for its palaces and gardens and Fes for its ancient medina and historical role as a center of learning.

Regions like Tangier-Tetouan-Al Hoceima in the north and Souss-Massa in the south are defined by their proximity to Morocco’s coastline, while regions such as Drâa-Tafilalet and Marrakech-Safi are characterized by mountainous terrain and agricultural activity. The distribution of cities across these regions plays a crucial role in understanding the urban-rural dynamic and the country’s overall development.

Obtaining data on the specific locations of cities within these regions—including their latitude, longitude, and corresponding administrative departments—provides key information for anyone studying Morocco's spatial organization and economic planning. By gathering this data, researchers and urban planners can analyze how geography influences population growth, infrastructure development, and regional economic disparities.

Latitude and Longitude: Essential for Mapping Morocco's Geography

Latitude and longitude are vital tools for accurately mapping the cities and regions of Morocco. Given the varied topography—from the coastal plains to the mountain ranges and deserts—knowing the exact geographic coordinates of key urban centers and rural areas helps geographers understand the complex relationships between Morocco’s natural environment and human settlements.

For example, knowing the coordinates of cities like Marrakesh and Fes helps map the interactions between urban development and surrounding landscapes. Marrakesh, located near the foothills of the Atlas Mountains, experiences a dry, semi-arid climate, while Fes, located in a valley, enjoys more fertile conditions. The precise geographic data of these cities helps inform studies on agricultural practices, water management, and environmental conservation in these regions.

The latitude and longitude of cities in coastal regions such as Tangier or Agadir offer valuable insight into how Morocco’s proximity to the Mediterranean Sea and the Atlantic Ocean influences its economy and population dynamics. Coastal areas often attract tourism and serve as trade hubs, making the geographic positioning of these cities essential for understanding regional development patterns.

By obtaining detailed geographic coordinates for cities, researchers can examine how human settlements in Morocco are affected by or adapted to natural conditions such as climate, proximity to natural resources, and terrain. Accurate geographic data is critical for planning sustainable urban growth and infrastructure projects, especially as Morocco continues to modernize and urbanize.

The Environmental Geography of Morocco

Morocco’s diverse landscapes are a defining feature of its environmental geography. The Atlas Mountains, stretching across the middle of the country, divide the northwestern part of Morocco from the desert regions in the south and east. These mountains are not only a geographical barrier but also a vital water source, providing irrigation to the surrounding plains and valleys.

To the north, Morocco’s Mediterranean and Atlantic coastlines are home to fertile agricultural land, particularly in regions like the Gharb plain, where crops such as wheat, olives, and citrus fruits are grown. Further inland, the landscape transitions into arid plateaus, such as the Rissani area near the Sahara Desert, where farming becomes more reliant on irrigation.

The southern regions of Morocco, especially the Sahara Desert, experience extremely dry conditions, yet this area is home to nomadic communities and oasis settlements that rely on underground water sources to survive. Understanding the location and environmental context of cities within these regions is critical for addressing water management issues and planning for sustainable agricultural practices.

In addition to the challenges posed by climate and topography, Morocco faces environmental concerns such as desertification and water scarcity. Geographic data, including latitude and longitude coordinates of cities, can help monitor these issues and guide policies aimed at conservation and sustainable resource management.

Geographic Data for Urban and Economic Development

As Morocco continues to grow, access to detailed geographic data will become increasingly important for urban and economic development. The country’s cities are experiencing rapid urbanization, and understanding the geographic relationships between urban and rural areas can help planners allocate resources more effectively and create development strategies that balance growth with environmental sustainability.

By obtaining data on the locations of cities and regions, including precise coordinates, planners can assess where new infrastructure is needed, where population growth is occurring, and where to focus efforts on improving services such as transportation, education, and healthcare. Additionally, this data is essential for identifying regions that may be more vulnerable to natural disasters or environmental degradation, allowing for more proactive measures.

Geographic data is also essential for understanding the distribution of resources across Morocco. For example, the proximity of cities to key resources such as water sources, mineral deposits, and agricultural land can help inform decisions on land use, resource management, and economic development. With detailed geographic data, Morocco can ensure that future growth is balanced, equitable, and sustainable.

Conclusion

Morocco’s geography is as rich and diverse as its history and culture. From the Atlas Mountains and fertile plains to the arid desert landscapes and coastal cities, the country’s varied topography and climate have shaped its cities, regions, and economic activities. By obtaining detailed geographic data on the locations, regions, and departments of Morocco, including their latitude and longitude, researchers, planners, and policymakers can better understand the relationships between natural features and human settlements. This data is key to planning Morocco’s future development, addressing environmental challenges, and ensuring sustainable growth for generations to come.

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

List of countries :

h2020-flow.eu

With the aim of delivering reliable information, based on quality sources such as Geoname, we, a team of passionate geographers, have created this site. To enable you to obtain databases at very competitive prices.