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

Morocco
Morocco
Excel, CSV, SQL, XML, JSON

Last update : 15 February 2026.

Country
Morocco
Capital
Rabat
Number of cities
44879
Download

Below is a list of 100 prominent cities in Morocco. Each row includes a city's latitude, longitude, region and other variables of interest. This is a subset of all 44879 places in Morocco that you'll find in our World Cities Database. You're free to use the data below for personal or commercial applications. The data below can be downloaded in Excel (.xlsx), .csv, .json, .xml and .sql formats. Notable Cities: The capital of Morocco is Rabat.


Geoname_IDCityAlternate_NameCountry_CodeRegionSub_regionLatitudeLongitudeElevationPopulationTimezoneFcode_Name
2552072LehchachmaBchachma,Douar Bchachma,El Bchaghna,LehchachmaMARabat-Salé-KénitraKenitra Province34.73172-5.973320Africa/Casablancapopulated place
10929304Dar Said Ben RayMAMarrakesh-SafiKelaa-Des-Sraghna32.35911-7.547650Africa/Casablancapopulated place
2559692Aït KhannoujAit Aloane,Ait Alouan,Ait Alouane,Ait Khannouj,Ait Khennoudj,Ait Khennouj,Aït Aloane,Aït Alouan,Aït Alouane,Aït Khannouj,Aït Khennoudj,Aït KhennoujMABéni Mellal-KhénifraBeni-Mellal32.2381-6.431510Africa/Casablancapopulated place
10901316Douar Oulad Bou Ali KharbouchMAMarrakesh-SafiYoussoufia31.7922-8.579970Africa/Casablancapopulated place
10927500Douar Oulad Ali Ben CheikhMACasablanca-SettatSidi Bennour32.69801-8.210060Africa/Casablancapopulated place
2526278Zaouia Sidi Bou AzzaMACasablanca-SettatEl-Jadida33.35202-8.129170Africa/Casablancapopulated place
10904699Oulad AhouaMAMarrakesh-SafiSafi31.90458-9.374130Africa/Casablancapopulated place
11735453Douar Beni GuemilMARabat-Salé-KénitraSidi-Kacem34.41029-5.576620Africa/Casablancapopulated place
10935838Douar SrayriyaMACasablanca-SettatSettat Province32.51853-7.283590Africa/Casablancapopulated place
10985107Douar Oulad AbdelkrimatMAFès-MeknèsTaounate34.32713-5.294940Africa/Casablancapopulated place
10844803Douar Talagh TabariMATanger-Tetouan-Al HoceimaChefchaouen Province35.0964-4.836380Africa/Casablancapopulated place
10911703Douar SoualhaMAMarrakesh-SafiEssaouira31.78503-9.040410Africa/Casablancapopulated place
2539882Douar Oulad El GarneDouar Oulad El Garne,Douar Oulad el Guern,Oulad el Guern,Ouled El GeremMAMarrakesh-SafiRehamna31.73894-7.810670Africa/Casablancapopulated place
10940504Dar Mohamed FechtaliMARabat-Salé-KénitraKhemisset33.65703-6.553870Africa/Casablancapopulated place
10797828Douar LeqhbitMARabat-Salé-KénitraKhemisset33.48239-6.790120Africa/Casablancapopulated place
10921831Douar Oulad HsanneMAFès-MeknèsMoulay-Yacoub34.11429-5.319290Africa/Casablancapopulated place
11144415Aït TamandouMASouss-MassaTaroudannt30.68918-8.32880Africa/Casablancapopulated place
2557876AnammerAn Amer,AnammerMASouss-MassaTiznit29.46-9.710Africa/Casablancapopulated place
2560629Aït Aïssa Ou BrahimMADrâa-TafilaletZagora30.26-5.710Africa/Casablancapopulated place
10964800Mqam at TolbaMARabat-Salé-KénitraKhemisset33.93729-6.254670Africa/Casablancapopulated place
11024507Ait AbdessalamMAFès-MeknèsEl-Hajeb33.8606-5.259250Africa/Casablancapopulated place
11613119LahfariMACasablanca-SettatMediouna33.45108-7.531650Africa/Casablancapopulated place
2539997Douar Oulad BouzidDouar Oulad Bouzid,Oulad BouzidMAFès-MeknèsFes33.98386-4.922940Africa/Casablancapopulated place
2549008FaskMAGuelmim-Oued NounGuelmim28.99123-9.832680Africa/Casablancapopulated place
10893211Douar Oulad BelkheirMAMarrakesh-SafiYoussoufia31.8643-8.925270Africa/Casablancapopulated place
11737342Medrassa-n’Tinit ou ChichaMAFès-MeknèsTaza34.72955-3.822670Africa/Casablancapopulated place
10900859Aït MansourMAMarrakesh-SafiEssaouira30.79869-9.678260Africa/Casablancapopulated place
2570420IssoumateneMATanger-Tetouan-Al HoceimaTetouan35.31007-5.326680Africa/Casablancapopulated place
11355619AzlagMABéni Mellal-KhénifraAzilal Province31.77271-7.010210Africa/Casablancapopulated place
10867862Douar Sidi SaidMACasablanca-SettatSidi Bennour32.5571-8.645670Africa/Casablancapopulated place
11144558TawrdaMASouss-MassaTaroudannt30.86894-8.122550Africa/Casablancapopulated place
2560213Aït Bou RhioutMABéni Mellal-KhénifraAzilal Province31.84451-6.879070Africa/Casablancapopulated place
2561495AgmroulAgmeroul,AgmroulMABéni Mellal-KhénifraAzilal Province31.96977-6.894190Africa/Casablancapopulated place
11647324Ayt S’id ou HssineMADrâa-TafilaletMidelt32.74207-5.151580Africa/Casablancapopulated place
11708752Aït Ben AmerMAFès-MeknèsIfrane33.36093-5.347790Africa/Casablancapopulated place
11092098Ait OafasMATanger-Tetouan-Al HoceimaAl-Hoceima35.037-4.074890Africa/Casablancapopulated place
2548311HamidouchHafaia,Hafaia Keblaniine,Hafaïa,Hafaïa Keblaniine,HamidouchMASouss-MassaTaroudannt30.37127-8.920260Africa/Casablancapopulated place
10797940Douar HabboujaMACasablanca-SettatSettat Province33.11034-7.100560Africa/Casablancapopulated place
2542602MnasraDouar Menasra,Menacra,Menasra,MnasraMATanger-Tetouan-Al HoceimaOuezzane Province34.76545-5.515570Africa/Casablancapopulated place
2560511Aït AmerAit Amer,Ait Ameur,Aït Amer,Aït AmeurMABéni Mellal-KhénifraAzilal Province31.45603-7.121250Africa/Casablancapopulated place
10845005Talat ToufaleneMATanger-Tetouan-Al HoceimaChefchaouen Province35.01199-4.801170Africa/Casablancapopulated place
2539751Oulad HammouDouar Oulad Hammou,Oulad HammouMARabat-Salé-KénitraKenitra Province34.86459-5.989070Africa/Casablancapopulated place
10991911QranesMARabat-Salé-KénitraSidi-Kacem34.62625-5.558790Africa/Casablancapopulated place
2539453Oulad MoussaMAFès-MeknèsTaounate34.68625-4.510080Africa/Casablancapopulated place
10938524JannabiyaMACasablanca-SettatBenslimane33.23604-7.04870Africa/Casablancapopulated place
2551493Douar Oulad AhsineMARabat-Salé-KénitraSidi Slimane34.32987-5.808520Africa/Casablancapopulated place
11614396Aït Rb’aMABéni Mellal-KhénifraBeni-Mellal32.47969-5.994540Africa/Casablancapopulated place
10917960Oulad ThamiMACasablanca-SettatBenslimane33.50079-7.299220Africa/Casablancapopulated place
2554746BouidreneMATanger-Tetouan-Al HoceimaAl-Hoceima34.93787-4.388220Africa/Casablancapopulated place
10955819Dar Mohamed El YaaqoubiMATanger-Tetouan-Al HoceimaTetouan35.62738-5.368910Africa/Casablancapopulated place
2543851LahabdMAMarrakesh-SafiChichaoua31.3815-9.024920Africa/Casablancapopulated place
2534210Douar Oulad MansourDouar Oulad Mansour,Sidi MansourMAMarrakesh-SafiMarrakech31.92682-8.345140Africa/Casablancapopulated place
11614461Bou IgazdimMABéni Mellal-KhénifraBeni-Mellal32.27989-5.831190Africa/Casablancapopulated place
2547664HonouloMATanger-Tetouan-Al HoceimaChefchaouen Province35.28359-5.186660Africa/Casablancapopulated place
11434257BdaouaMACasablanca-SettatSettat Province32.96013-7.519680Africa/Casablancapopulated place
10954736Dar Chaoui LeqdimaMATanger-Tetouan-Al HoceimaTanger-Assilah35.55721-5.724170Africa/Casablancapopulated place
10641028Douar LemkhatraMACasablanca-SettatSidi Bennour32.37406-8.434880Africa/Casablancapopulated place
2596373Aït AzrouMABéni Mellal-KhénifraKhenifra32.71243-5.555790Africa/Casablancapopulated place
2558114AmerzouMADrâa-TafilaletOuarzazate31.26607-6.509910Africa/Casablancapopulated place
2545005IzahhafeneIhoachrene,Izahhafene,Jhoachrene,YhoachrenMAOrientalNador35.15471-3.173880Africa/Casablancapopulated place
11099073Douar Oulad El HamoussiyaMARabat-Salé-KénitraKhemisset33.64653-6.715820Africa/Casablancapopulated place
11042361Ras TaboudaMAFès-MeknèsSefrou34.00525-4.713060Africa/Casablancapopulated place
11355733Aït LahsenMABéni Mellal-KhénifraAzilal Province31.56172-6.921190Africa/Casablancapopulated place
11100498Agouni N-Tal’ayntMAGuelmim-Oued NounGuelmim29.20938-9.784680Africa/Casablancapopulated place
10949746Oulad MansourMARabat-Salé-KénitraSkhirate-Temara33.81449-7.060860Africa/Casablancapopulated place
2526744FelrhousFelrhous,ToulrhousMAMarrakesh-SafiChichaoua31.10756-9.111860Africa/Casablancapopulated place
2533512Sidi Mohand Ou KhoussaMASouss-MassaTaroudannt30.43-7.90Africa/Casablancapopulated place
11149396AderdourMAMarrakesh-SafiAl-Haouz31.07321-8.27870Africa/Casablancapopulated place
10637925Oulad AbbouMAMarrakesh-SafiSafi32.16751-8.872610Africa/Casablancapopulated place
2528211TimdoulineMABéni Mellal-KhénifraAzilal Province31.61207-6.646690Africa/Casablancapopulated place
2533859Id MohamedId Hameida,Id Hameïda,Id Mohamed,Sidi Mohamed Bel Kassem,Sidi Mohamed Benkasen,Sidi Mohammed Bel KassemMAGuelmim-Oued NounSidi Ifni29.29805-9.96140Africa/Casablancapopulated place
2550287Had LaaounateEl Had,El Had des Aounat,Had Laaounate,Had des Aounate,Matrann,Souk el Had,Souk el Had des AounatMACasablanca-SettatSidi Bennour32.61336-8.222040Africa/Casablancapopulated place
2548797FouguerdMASouss-MassaTiznit29.73-9.080Africa/Casablancapopulated place
10939770Oulad Bouazza Ben AchirMACasablanca-SettatBenslimane33.70775-7.114960Africa/Casablancapopulated place
11354319Aït DaoudMAMarrakesh-SafiAl-Haouz31.57902-7.35090Africa/Casablancapopulated place
11099408Douar Oulad MataallaMARabat-Salé-KénitraKenitra Province34.58212-6.371810Africa/Casablancapopulated place
11734308Sidi MansourMAMarrakesh-SafiEssaouira31.24721-9.453690Africa/Casablancapopulated place
2596187Aït TamajjoutMABéni Mellal-KhénifraAzilal Province31.98242-6.190250Africa/Casablancapopulated place
10977738Douar Ait Ali Ou HaddouMAFès-MeknèsSefrou33.773-4.619230Africa/Casablancapopulated place
10902153Douar ZrargaMAMarrakesh-SafiEssaouira31.71166-9.23330Africa/Casablancapopulated place
11092470ImahmoudeneMAOrientalDriouch Province35.11004-3.476360Africa/Casablancapopulated place
10962908TabradjoutMAMarrakesh-SafiChichaoua31.10541-8.706740Africa/Casablancapopulated place
10947386Douar Oulad HniguiraMAMarrakesh-SafiEssaouira31.8076-9.354360Africa/Casablancapopulated place
2559984Aït GarriAit Garri,Ait Guerri,Ait Guerry,Aït Garri,Aït Guerri,Aït GuerryMASouss-MassaTaroudannt30.56873-8.3310Africa/Casablancapopulated place
11613392Oulad Al Haj ÇalahMACasablanca-SettatSettat Province33.0379-6.931960Africa/Casablancapopulated place
10797271Douar Oulad BouchibaMARabat-Salé-KénitraKenitra Province34.2697-6.345670Africa/Casablancapopulated place
2556808AtalayounAtalayon,Atalayoum,Atalayoûm,AtalayónMAOrientalNador35.20681-2.90460Africa/Casablancapopulated place
2539707Douar HmidouchDouar Hmidouch,Oulad HmiddouchMAMarrakesh-SafiRehamna32.45209-8.226640Africa/Casablancapopulated place
2547505IchattbitteneIchattbitten,IchattbitteneMADrâa-TafilaletOuarzazate31.13845-6.810590Africa/Casablancapopulated place
2526392Zawyat AhançalZaouia Ahanesal,Zaouia Ahansal,Zawyat Ahancal,Zawyat AhançalMABéni Mellal-KhénifraAzilal Province31.83179-6.101180Africa/Casablancapopulated place
2556501Azour-n-TawrirtAzour n’Taourirt,Azour n’Taourirt,Azour-n-TawrirtMASouss-MassaTaroudannt30.38966-8.693140Africa/Casablancapopulated place
2525854Douar ZrahnaDouar Zrahna,Ezrahna,ZrahnaMARabat-Salé-KénitraSidi-Kacem34.51092-5.334670Africa/Casablancapopulated place
10951655Bou OudardourMADrâa-TafilaletTinghir Province31.18122-6.094190Africa/Casablancapopulated place
2529807TarhiaMAFès-MeknèsBoulemane32.88666-4.234480Africa/Casablancapopulated place
10958507Douar Aghil TazakkaMAOrientalDriouch Province35.08634-3.760050Africa/Casablancapopulated place
11355893AwrirMABéni Mellal-KhénifraAzilal Province31.71711-6.790860Africa/Casablancapopulated place
11101009Id BiloulineMAGuelmim-Oued NounSidi Ifni29.37919-9.837950Africa/Casablancapopulated place
2596290IzakareneMADrâa-TafilaletErrachidia31.62652-5.31160Africa/Casablancapopulated place
2546013ImsouwnaImsouna,ImsouwnaMABéni Mellal-KhénifraAzilal Province31.78939-6.690640Africa/Casablancapopulated place
10889414Maison Des JeunasMASouss-MassaInezgane-Ait Melloul30.3622-9.335790Africa/Casablancapopulated place

**Exploring Morocco: A Geographer's Perspective**

Introduction**

Embarking on a journey through the vibrant landscapes of Morocco offers an enriching experience for geographers seeking to unravel the country's geographical intricacies. In this article, we delve into the quest for data on Morocco's cities, regions, and geographical coordinates, shedding light on its diverse terrain, cultural heritage, and spatial dynamics.

Mapping the Cities of Morocco**

Morocco is a land of bustling cities, ancient medinas, and stunning coastal towns, each with its own unique charm and character. From the vibrant streets of Marrakech to the historic port city of Essaouira, these urban centers serve as focal points of cultural exchange, economic activity, and social interaction. Mapping the cities of Morocco involves capturing their spatial distribution, population demographics, and urban infrastructure. By analyzing these patterns, geographers can gain insights into urbanization trends, socioeconomic disparities, and environmental challenges facing the country.

Exploring the Regions and Departments of Morocco**

Morocco's geographical diversity is reflected in its varied regions, ranging from the rugged Atlas Mountains to the vast Sahara Desert and the fertile plains of the coastal regions. Each region has its own distinct landscape, climate, and cultural traditions, shaping the country's identity and development trajectory. Exploring the regions and departments of Morocco involves studying their physical geography, administrative boundaries, and cultural heritage. By mapping these spatial patterns, geographers can understand the interplay between human activities and natural processes, informing sustainable development and environmental management strategies.

Mapping Latitude and Longitude in Morocco**

The geographical coordinates of Morocco's cities, landmarks, and natural features play a crucial role in navigation, cartography, and spatial analysis. Situated at the crossroads of Africa, Europe, and the Middle East, Morocco relies on accurate latitude and longitude data for transportation, tourism, and scientific research. Obtaining precise geographical coordinates for the country's cities and landmarks enables geographers to create detailed maps, conduct spatial analysis, and monitor environmental changes. By mapping latitude and longitude coordinates, geographers can contribute to the conservation of Morocco's natural resources and cultural heritage.

Preserving Morocco's Geographical Heritage**

In conclusion, Morocco's rich geographical heritage offers a wealth of opportunities for exploration, research, and discovery. By obtaining data on its cities, regions, and geographical coordinates, we can deepen our understanding of the country's spatial dynamics and cultural diversity. Let us continue to explore and preserve Morocco's geographical heritage, ensuring that its landscapes, cities, and natural resources are cherished and protected for future generations to enjoy and appreciate.

download world databases cities Morocco

Download data files for Morocco's cities in Excel (.xlsx), CSV, SQL, XML and JSON formats

Mapping the Geography of Morocco: A Comprehensive Data Exploration

Morocco, a country rich in history and geographical diversity, offers a complex tapestry of urban landscapes, coastal areas, mountain ranges, and expansive deserts. From the bustling streets of Casablanca to the serene beauty of the Atlas Mountains, Morocco’s geography is not only diverse but also essential to understanding its cultural, economic, and environmental dynamics. As a geographer, one must explore the intricate relationships between Morocco's cities, regions, and departments to gain insight into how urbanization and the natural environment interact within this North African nation.

For researchers, urban planners, and policy-makers, having access to detailed geographic data is crucial. Geographic data on Morocco’s cities, regions, and their latitude and longitude coordinates allow for spatial analysis that can drive decision-making processes in areas such as urban development, infrastructure, and environmental conservation.

Understanding the Geographical and Administrative Divisions of Morocco

Morocco’s administrative structure is made up of 12 regions, further divided into provinces and prefectures. The capital city, Rabat, along with other major cities like Casablanca, Marrakesh, and Fes, plays a significant role in the country’s economic and cultural identity. Each region in Morocco is unique in terms of its geography, history, and function, with coastal regions like Tangier-Tétouan-Al Hoceima thriving through maritime trade, while inland areas like Souss-Massa and Meknes-Tafilalet rely more on agriculture and tourism.

Understanding the spatial arrangement of these regions, cities, and provinces is vital for assessing Morocco’s urbanization trends and regional disparities. For example, cities along the coast, such as Casablanca and Agadir, experience different urban growth patterns compared to inland cities like Ouarzazate or Beni Mellal. By analyzing these regions, geographers can better understand the dynamics of population density, transportation networks, and infrastructure development.

The Power of Latitude and Longitude for Mapping Morocco’s Cities

Latitude and longitude coordinates are indispensable for mapping Morocco’s cities and understanding their geographical relationships. These precise coordinates allow for a more detailed analysis of Morocco’s cities, considering not only their physical locations but also their proximity to critical geographic features like rivers, mountain ranges, and the coast.

For example, by knowing the exact latitude and longitude of major cities such as Casablanca, Marrakesh, and Tangier, researchers can assess how urban centers relate to surrounding regions in terms of environmental challenges, transportation infrastructure, and the distribution of resources. This information is crucial when mapping the impacts of climate change, urban expansion, and planning for future development.

The use of latitude and longitude data also supports the creation of detailed maps and geospatial models. These models can be used for environmental planning, risk assessment (such as flood-prone areas), or even for tourism and economic planning by understanding the locations of key landmarks, infrastructure, and natural resources.

Flexible Geographic Data Formats for In-Depth Analysis

Geographic data must be flexible to accommodate different tools and software used by researchers, urban planners, and environmental scientists. To maximize the utility of the data, it is essential that geographic information on Morocco’s cities, regions, and departments be available in multiple formats. These formats, including CSV, SQL, JSON, and XML, ensure that the data is compatible with a wide range of applications for both basic and advanced analyses.

- **CSV (Comma-Separated Values):** CSV files are an excellent format for organizing data in a tabular structure, such as city names, populations, and coordinates. It is a widely used format for simple spatial analyses, and it can be easily imported into data visualization tools or geographic information systems (GIS). For those conducting basic studies or quick analyses, CSV provides an easy way to access and manipulate geographic data.

- **SQL (Structured Query Language):** For large datasets and relational database management, SQL is essential. It allows for advanced queries to be made across the geographic data of Morocco’s cities and regions. Researchers can use SQL to analyze the relationship between urban growth, demographic trends, and the geographic locations of key resources. SQL is ideal for organizing and querying large datasets, which is vital for urban planning, environmental management, and development projects.

- **JSON (JavaScript Object Notation):** JSON is a lightweight, flexible format commonly used for web-based applications and interactive maps. Researchers and developers can use JSON to create dynamic maps that display real-time data or to build applications that integrate Morocco’s geographic data for public or private use. JSON allows for easy integration across various platforms, making it ideal for digital and interactive geographic projects.

- **XML (Extensible Markup Language):** XML is a versatile format for sharing complex datasets across systems. It supports both human-readable and machine-readable data, making it a great choice for integration with GIS platforms, government databases, and environmental models. XML ensures that Morocco’s geographic data can be shared in a standardized format, supporting a wide range of applications and use cases.

Providing data in these various formats enhances the ability to analyze and visualize geographic information in ways that best suit different research needs. Whether working with large datasets in relational databases, creating interactive web maps, or simply analyzing tabular data, these formats provide the necessary flexibility for researchers and planners.

A Comprehensive Database for Morocco’s Geography

For anyone conducting in-depth geographical research on Morocco, having access to a comprehensive, well-organized database is invaluable. This database would contain data on the cities, regions, and departments of Morocco, along with latitude and longitude coordinates, and other relevant geographic information such as population data, infrastructure, and economic activity.

Researchers can use this database to analyze urbanization patterns, assess the environmental impact of infrastructure projects, and study how population dynamics vary between regions. For example, comparing data from Casablanca, a large industrial hub, with data from the more rural regions like Taza-Al Hoceima-Taounate, can provide valuable insights into the disparity between urban and rural development in Morocco.

This database can also support disaster preparedness planning by identifying vulnerable regions or areas at risk of environmental hazards like flooding or desertification. Whether analyzing historical trends or projecting future developments, having access to detailed and up-to-date geographic data is crucial for informed decision-making.

By offering this data in various formats such as CSV, SQL, JSON, and XML, users can tailor their analysis to fit their specific needs, ensuring that the information is easily accessible and compatible with a wide range of tools and systems.

Conclusion

Morocco’s geographical diversity presents both challenges and opportunities for geographers, urban planners, and environmental scientists. By obtaining accurate, up-to-date data on the locations of cities, regions, and departments—including their latitude and longitude coordinates—researchers can gain a deeper understanding of Morocco’s urbanization trends, infrastructure development, and environmental issues. Offering this data in flexible formats such as CSV, SQL, JSON, and XML ensures that it is accessible and usable across a wide variety of platforms, supporting more efficient analysis and better decision-making for the country’s future development. This comprehensive, data-driven approach helps guide sustainable development and promotes a deeper understanding of Morocco’s geographic landscape.

List of countries :

worldcitiesdatabase.eu

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