This dataset is a compilation of publicly available data sourced from the annual reports of different Moroccan social security institutions (CNSS, CMR, RCAR), Macro-level data including demographic and economic indicators that are obtained from the Haut-Commissariat au Plan of Morocco, the World Bank open data, and World Bank ASPIRE data. The purpose of this dataset is to study the financing gaps in various components of social protection in Morocco.