Vincent Riszdorfer on Unsplash

Empowering Morocco through accessible data

Morocco has embraced the Open Data movement, making a wealth of information available to the public. By unlocking data generated by the public sector, Morocco aims to foster a digital ecosystem that empowers its citizens, businesses, and researchers to harness the transformative power of information. In this article, we explore the official open data sources in Morocco.  Additionally, we introduce our own project, which aims to facilitate access to Moroccan open data, bridging the gap between citizens/companies and valuable information.

Official sources of open data in Morocco

Portail National des Données Ouvertes du Royaume du Maroc ⭐⭐⭐⭐

(National Open Data Portal of the Kingdom of Morocco)

  • Website : data.gov.ma
  • Nature of data available : All kind
  • Format of data available : PDF, CSV, Microsoft Excel, Microsoft Word files

A cornerstone of the country’s Open Data initiative. Initially launched in 2011 by the Ministry of Industry, Commerce and the Digital Economy, is currently managed by the ADD (Agence du Développement du Numérique).  This platform provides a comprehensive collection of datasets from various government agencies, covering diverse domains such as demographics, education, health, economy, and transportation. At the time of writing the article, about 400 datasets are available on the platform, of which more than 300 are in tabular format (.csv.xls.xlsx).

Haut Commissariat au Plan (HCP) ⭐⭐⭐⭐

(Higher Planning Commission)

  • Website : hcp.ma
  • Nature of data available : All kind
  • Format of data available : PDF, Microsoft Excel, Microsoft Word files

Established in 2003, the HCP is the government institution responsible for collecting, analyzing, and disseminating statistical data in Morocco. The HCP aims to provide policymakers, researchers, and other stakeholders with valuable insights into the country’s socio-economic landscape.  The institution publishes a wide range of reports, statistical yearbooks, and indicators on its official website ; among them, the Annuaire Statistique (statistical yearbook), published every year, is available in the form of a zip archive containing one Excel file per dimension to be analyzed (industry, social, consumer prices, etc…).

Ministère de l’Économie et des Finances ⭐⭐⭐

(Ministry of Economy and Finance)

  • Website : finances.gov.ma
  • Nature of data available : Economy, Public Finances
  • Format of data available : PDF, Microsoft Excel files

It plays a crucial role in overseeing and managing the economic and financial sectors of the country.  With its statistical database MANAR-Stat, the Ministry provides data about the moroccan economy & public finances, in Excel format.

Office des Changes ⭐⭐

(Foreign Exchange Office)

  • Website : oc.gov.ma
  • Nature of data available : International Trading, Foreign Investment
  • Format of data available : CSV files

Created in 1944, it is the regulatory authority responsible for overseeing foreign exchange transactions and the control of external trade and investments in Morocco.  It provides an International Trading database from which we can export moroccan international trade activities data.

Bourse de Casablanca ⭐⭐

(Casablanca Stock Exchange)

  • Website : casablanca-bourse.com
  • Nature of data available : Listed companies , Financial Markets
  • Format of data available : PDF, Microsoft Excel files, ZIP archives

The main securities exchange in Morocco. Established in 1929 (yes, the year of the Great Depression), it serves as a platform for trading equities, bonds, derivatives, and other financial instruments. The stock exchange plays a crucial role in the country’s capital market development and provides a marketplace for companies to raise capital and investors to trade securities. Through its website, it is possible to download data about listed companies, market and trading sessions in .csv format.

Ministère de l’Education nationale, du Préscolaire et des Sports ⭐⭐

(Ministry of National Education, Early Education, and Athletics)

  • Website : men.gov.ma
  • Nature of data available : Education
  • Format of data available : PDF, Microsoft Excel files

The ministry responsible for overseeing the education system, including preschool, primary, and secondary education, as well as sports-related activities and initiatives. The statistics section of the website contains all Excel files with rich data about Education from preschool to profesionnal education for adults.

Bank Al-Maghrib ⭐

(Central Bank of Morocco)

  • Website : bkam.ma
  • Nature of data available : Economy, Finance, Monetary, Bank sector
  • Format of data available : Charts (embeded)

Established in 1959, Bank Al-Maghrib is responsible for maintaining price stability, safeguarding the stability of the financial system, and promoting sustainable economic growth in Morocco. It plays a critical role in the country’s financial system and monetary policy. Unfortunately no data is available in tabular format, only charts.

Secrétariat Général du Gouvernement ⭐

(General Secretariat of the Government)

  • Website : sgg.gov.ma
  • Nature of data available : Legislative
  • Format of data available : PDF files

The central administrative body that supports the functioning of the government and coordinates its activities. One of its missions is to record government decisions and actions. The Bulletin Officiel (the moroccan government gazette) is published at least twice a month since 1912 and contains newly adopted laws and other official announcements.

Portail des Marchés Publics ⭐

(Public Procurement Portal)

A platform to find all requests for tenders in works, supply or service contracts needed by public authorities.  Potential suppliers can use the search engine to find projects they can realize.

Ministère de la Santé et de la Protection sociale ⭐

(Ministry of Health and Social Protection)

  • Website : sante.gov.ma
  • Nature of data available : Health
  • Format of data available : PDF files

The ministry formulating and implementing health policies, regulating healthcare services, promoting public health initiatives, and ensuring access to quality healthcare for all citizens. In the studies and surveys section of the website, we can find all editions of the Santé en Chiffres report (Health statistics) since 2003.

Ministère du Tourisme, de l’Artisanat, de l’Economie Sociale et Solidaire ⭐

(Ministry of Tourism, Handicrafts and Social and Solidarity Economy)

  • Website : mtaess.gov.ma
  • Nature of data available : Education
  • Format of data available : No files

The ministry responsible for overseeing and promoting the development of tourism, artisanal activities, and the social and solidarity economy in Morocco. On the publications page of the website, we can find annual reports about moroccan tourism and handicraft.

Ministère de l’Industrie et du Commerce ⭐

(Ministry of Industry and Trade)

  • Website : mcinet.gov.ma
  • Nature of data available : Education
  • Format of data available : PDF files

The ministry responsible for promoting and regulating industrial and commercial activities in the country. A project bank is available, with approximately 370 projects and a description of their opportunities and challenges.

Data for Morocco, our new initiative for moroccan Open Data ⭐⭐⭐⭐⭐

In our commitment to democratizing access to valuable information, we are proud to introduce our own initiative: Data for Morocco.  It aims to bridge the gap between citizens/companies and Moroccan open data by providing user-friendly data. Our goal is to empower individuals, researchers, and businesses with the tools and resources they need to harness the power of open data.

The data we will provide will be :

  • reconciled : no need to process and merge multiple files to get the variation of a measure over years ; each dataset will have data for all years available.
  • formated : tabular format (.csv).
  • transparent : all transformations will be traceable with data lineage (thanks to dbt).
  • described : data will come with descriptions and metadata to easily understand the context.
  • open-source : All the code related to data extraction and transformation will be available.

You are welcome to contact and tell us what (open) data you would like to find.


As Morocco continues to embrace the Open Data movement, the landscape of accessible information is expanding, providing citizens with valuable insights and fostering data-driven decision-making.  With the introduction of our project, we aspire to facilitate access to Moroccan open data, empowering individuals to navigate through this vast ocean of information and unlock its full potential.