{"api":"glostats/v1","generated":"2026-11-24T14:00:00.000Z","docs":"https://glostats.com/api/","license":"Free to reuse with a link to the Glostats page or file (https://glostats.com/terms.html). Source data remain under their own licences, listed under \"sources\".","license_url":"https://glostats.com/terms.html","attribution":"Glostats, https://glostats.com/country/morocco/","file":"https://glostats.com/api/v1/country/MAR.json","country":{"key":"MAR","iso3":"MAR","iso2":"MA","slug":"morocco","name":"Morocco","names":{"en":"Morocco","tr":"Fas","ar":"المغرب","de":"Marokko","fr":"Maroc","es":"Marruecos","ru":"Марокко","pl":"Maroko","zh":"摩洛哥","it":"Marocco","pt":"Marrocos","ja":"モロッコ","hi":"मोरक्को","el":"Μαρόκο","ko":"모로코"},"continent":"Africa","flag":"https://glostats.com/flags/Morocco.png","page":"https://glostats.com/country/morocco/","pages":{"en":"https://glostats.com/country/morocco/","tr":"https://glostats.com/tr/ulke/fas/","ar":"https://glostats.com/ar/country/morocco/","de":"https://glostats.com/de/land/marokko/","fr":"https://glostats.com/fr/pays/maroc/","es":"https://glostats.com/es/pais/marruecos/","ru":"https://glostats.com/ru/strana/marokko/","pl":"https://glostats.com/pl/kraj/maroko/","zh":"https://glostats.com/zh/country/morocco/","it":"https://glostats.com/it/paese/marocco/","pt":"https://glostats.com/pt/pais/marrocos/","ja":"https://glostats.com/ja/country/morocco/","hi":"https://glostats.com/hi/country/morocco/","el":"https://glostats.com/el/country/morocco/","ko":"https://glostats.com/ko/country/morocco/"},"cities":"https://glostats.com/api/v1/cities/MAR.json","markdown":"https://glostats.com/api/v1/country/MAR.md","population_history_csv":"https://glostats.com/country/morocco/population.csv"},"live":{"population":{"value":38891197,"at":"2026-11-24T14:00:00.000Z","type":"live-estimate","source":["un-wpp"],"jan1_year":2025,"jan1":[38261062,38600478,38924404,39235794,39532457,39816663,40090257],"per_second":0.01027162608,"sex_ratio":101.6,"men":19599929,"women":19291268},"births_this_year":{"value":550680,"at":"2026-11-24T14:00:00.000Z","type":"live-estimate","source":["un-wpp"],"rate_per_1000":15.836},"deaths_this_year":{"value":205444,"at":"2026-11-24T14:00:00.000Z","type":"live-estimate","source":["un-wpp"],"rate_per_1000":5.908},"net_migration_this_year":{"value":-54630,"at":"2026-11-24T14:00:00.000Z","type":"live-estimate","source":["un-wpp"],"rate_per_1000":-1.571},"method":"https://glostats.com/api/#live"},"indicators":{"population":{"name":"Population","value":38891197,"unit":"people","year":2026,"type":"live-estimate","source":["un-wpp"],"live":{"kind":"pop"},"rank":41,"of":238,"page":"https://glostats.com/stats/population/"},"population-growth-rate":{"name":"Population growth rate","value":0.84,"unit":"% per year","year":2026,"type":"projection","source":["un-wpp"],"rank":109,"of":238,"page":"https://glostats.com/stats/population-growth-rate/"},"population-density":{"name":"Population density","value":87.092592,"unit":"people per km²","year":2026,"type":"live-estimate","source":["un-wpp","wb"],"live":{"kind":"dens","param":446550},"rank":116,"of":216,"page":"https://glostats.com/stats/population-density/"},"area":{"name":"Surface area","value":446550,"unit":"km²","year":2024,"type":"observation","source":["wb"],"rank":58,"of":216,"page":"https://glostats.com/stats/area/"},"birth-rate":{"name":"Birth rate","value":15.836,"unit":"per 1,000 people per year","year":2026,"type":"projection","source":["un-wpp"],"rank":96,"of":238,"page":"https://glostats.com/stats/birth-rate/"},"death-rate":{"name":"Death rate","value":5.908,"unit":"per 1,000 people per year","year":2026,"type":"projection","source":["un-wpp"],"rank":183,"of":238,"page":"https://glostats.com/stats/death-rate/"},"net-migration-rate":{"name":"Net migration","value":-60641,"unit":"people per year","year":2026,"type":"projection","source":["un-wpp"],"second":{"name":"Net migration rate","value":-1.571,"unit":"per 1,000 people per year","year":2026},"rank":226,"of":238,"page":"https://glostats.com/stats/net-migration-rate/"},"urban-population":{"name":"Urban population","value":24551181,"unit":"people","year":2026,"type":"live-estimate","source":["wb","un-wpp"],"live":{"kind":"share","param":0.631278612260269},"published":{"value":63.127861,"unit":"% of population","year":2025,"type":"estimate"},"rank":39,"of":216,"page":"https://glostats.com/stats/urban-population/"},"sex-ratio":{"name":"Sex ratio","value":101.6,"unit":"males per 100 females","year":2026,"type":"projection","source":["un-wpp"],"women":19291268,"men":19599929,"rank":53,"of":238,"page":"https://glostats.com/stats/sex-ratio/"},"life-expectancy":{"name":"Life expectancy","value":75.859,"unit":"years","year":2026,"type":"projection","source":["wb","un-wpp"],"rank":101,"of":216,"page":"https://glostats.com/stats/life-expectancy/"},"fertility-rate":{"name":"Fertility rate","value":2.161,"unit":"births per woman","year":2026,"type":"projection","source":["wb","un-wpp"],"rank":93,"of":216,"page":"https://glostats.com/stats/fertility-rate/"},"median-age":{"name":"Median age","value":30.1,"unit":"years","year":2026,"type":"projection","source":["un-wpp"],"rank":134,"of":238,"page":"https://glostats.com/stats/median-age/"},"infant-mortality":{"name":"Infant mortality","value":12.8,"unit":"deaths per 1,000 live births","year":2026,"type":"projection","source":["un-wpp"],"rank":90,"of":238,"page":"https://glostats.com/stats/infant-mortality/"},"population-under-15":{"name":"Population under 15","value":24.7578,"unit":"% of population","year":2026,"type":"projection","source":["un-wpp"],"groups":[{"key":"0-14","label":"0–14","people":9628604,"share":24.7578},{"key":"15-24","label":"15–24","people":6295435,"share":16.1873},{"key":"25-64","label":"25–64","people":19556517,"share":50.2852},{"key":"65","label":"65+","people":3410641,"share":8.7697}],"rank":97,"of":236,"page":"https://glostats.com/stats/population-under-15/"},"population-over-65":{"name":"Population aged 65+","value":8.7697,"unit":"% of population","year":2026,"type":"projection","source":["un-wpp"],"rank":129,"of":236,"page":"https://glostats.com/stats/population-under-15/#65"},"unemployment":{"name":"Unemployment rate","value":8.938,"unit":"% of labor force","year":2026,"type":"projection","source":["ilo"],"published":{"value":9,"unit":"% of labor force","year":2025,"type":"estimate"},"rank":48,"of":188,"page":"https://glostats.com/stats/unemployment/"},"electricity-production":{"name":"Electricity production","value":45001105480,"unit":"kWh per year","year":2026,"type":"estimate","source":["ember"],"published":{"value":44150000000,"unit":"kWh per year","year":2025,"type":"observation"},"so_far_this_year":{"value":40592452303,"unit":"kWh","live":{"kind":"ytd","param":"2025;44150000000,45001105480,45868618221;0.082114,0.151782,0.231112,0.30836,0.391129,0.479934,0.574147,0.667787,0.755204,0.84038,0.918807;"}},"rank":60,"of":209,"page":"https://glostats.com/stats/electricity-production/"},"electricity-consumption":{"name":"Electricity consumption","value":50108266012,"unit":"kWh per year","year":2026,"type":"estimate","source":["ember"],"published":{"value":47901000000,"unit":"kWh per year","year":2025,"type":"observation"},"so_far_this_year":{"value":45133446653,"unit":"kWh","live":{"kind":"ytd","param":"2025;47901000000,50108266012,52417242286;0.07769,0.146677,0.222735,0.300823,0.384037,0.472629,0.568521,0.664303,0.751964,0.838707,0.917591;"}},"rank":58,"of":209,"page":"https://glostats.com/stats/electricity-consumption/"},"oil-production":{"name":"Oil production","value":25,"unit":"barrels per day","year":2026,"type":"estimate","source":["eia"],"published":{"value":25,"unit":"barrels per day","year":2025,"type":"observation"},"so_far_this_year":{"value":8189,"unit":"barrels","live":{"kind":"ytd","param":"2025;9125,9125,9125;0.084932,0.161644,0.246575,0.328767,0.413699,0.49589,0.580822,0.665753,0.747945,0.832877,0.915068;"}},"rank":96,"of":99,"page":"https://glostats.com/stats/oil-production/"},"energy-use-per-capita":{"name":"Energy use per capita","value":7404,"unit":"kWh per person per year","year":2025,"type":"estimate","source":["iea","ei"],"rank":114,"of":151,"page":"https://glostats.com/stats/energy-use-per-capita/"},"renewable-energy":{"name":"Renewable electricity share","value":23.21,"unit":"% of electricity","year":2025,"type":"observation","source":["ember"],"rank":125,"of":209,"page":"https://glostats.com/stats/renewable-energy/"},"forest-area":{"name":"Forest area","value":56953.4,"unit":"km²","year":2025,"type":"observation","source":["fao"],"second":{"name":"Share of land area","value":12.76,"unit":"% of land area","year":2024},"rank":71,"of":224,"page":"https://glostats.com/stats/forest-area/"},"agricultural-land":{"name":"Agricultural land","value":300000,"unit":"km²","year":2024,"type":"observation","source":["fao"],"second":{"name":"Share of land area","value":67.22,"unit":"% of land area","year":2024},"rank":38,"of":224,"page":"https://glostats.com/stats/agricultural-land/"},"freshwater-per-capita":{"name":"Renewable freshwater","value":29000000000,"unit":"m³ per year","year":null,"type":"observation","source":["aquastat","un-wpp"],"note":"long-term average; the source gives no data year","second":{"name":"Per person","value":745.670012,"unit":"m³ per person per year","year":null,"live":{"kind":"per","param":29000000000}},"rank":94,"of":183,"page":"https://glostats.com/stats/freshwater-per-capita/"},"water-stress":{"name":"Water stress","value":18.83,"unit":"% of available freshwater","year":2023,"type":"observation","source":["sdg"],"rank":70,"of":182,"page":"https://glostats.com/stats/water-stress/"},"immigrant-population":{"name":"Immigrant population","value":111069,"unit":"people","year":2024,"type":"observation","source":["wb"],"second":{"name":"Share of population","value":0.3,"unit":"% of population","year":2024},"rank":132,"of":214,"page":"https://glostats.com/stats/immigrant-population/"},"rural-population":{"name":"Rural population","value":14340001,"unit":"people","year":2026,"type":"live-estimate","source":["wb","un-wpp"],"live":{"kind":"share","param":0.368721},"published":{"value":36.8721,"unit":"% of population","year":2025,"type":"observation"},"rank":41,"of":216,"page":"https://glostats.com/stats/rural-population/"},"old-age-dependency":{"name":"Old-age dependency ratio","value":12.7359,"unit":"people aged 65+ per 100 people aged 15–64","year":2025,"type":"observation","source":["wb"],"rank":108,"of":216,"page":"https://glostats.com/stats/old-age-dependency/"},"suicide-rate":{"name":"Suicide rate","value":2.91,"unit":"per 100,000 people per year","year":2021,"type":"observation","source":["wb"],"rank":157,"of":185,"page":"https://glostats.com/stats/suicide-rate/"},"alcohol-consumption":{"name":"Alcohol consumption","value":0.5,"unit":"litres of pure alcohol per person aged 15+ per year","year":2020,"type":"observation","source":["wb"],"rank":164,"of":187,"page":"https://glostats.com/stats/alcohol-consumption/"},"road-traffic-deaths":{"name":"Road traffic deaths","value":17,"unit":"per 100,000 people per year","year":2019,"type":"observation","source":["wb"],"rank":77,"of":190,"page":"https://glostats.com/stats/road-traffic-deaths/"},"health-expenditure":{"name":"Health spending per person","value":232.2475,"unit":"current US$ per person per year","year":2023,"type":"observation","source":["wb"],"rank":126,"of":193,"page":"https://glostats.com/stats/health-expenditure/"},"under-5-mortality":{"name":"Under-five mortality","value":15.7,"unit":"deaths per 1,000 live births","year":2024,"type":"observation","source":["wb"],"rank":94,"of":196,"page":"https://glostats.com/stats/under-5-mortality/"},"maternal-mortality":{"name":"Maternal mortality","value":70,"unit":"deaths per 100,000 live births","year":2023,"type":"observation","source":["wb"],"rank":79,"of":194,"page":"https://glostats.com/stats/maternal-mortality/"},"teen-birth-rate":{"name":"Teenage birth rate","value":24.763,"unit":"births per 1,000 women aged 15–19 per year","year":2024,"type":"observation","source":["wb"],"rank":119,"of":216,"page":"https://glostats.com/stats/teen-birth-rate/"},"physicians":{"name":"Physicians","value":0.74,"unit":"per 1,000 people","year":2021,"type":"observation","source":["wb"],"rank":127,"of":193,"page":"https://glostats.com/stats/physicians/"},"hospital-beds":{"name":"Hospital beds","value":0.73,"unit":"per 1,000 people","year":2023,"type":"observation","source":["wb"],"rank":146,"of":168,"page":"https://glostats.com/stats/hospital-beds/"},"smoking-rate":{"name":"Tobacco use","value":12.5,"unit":"% of adults","year":2024,"type":"observation","source":["wb"],"rank":112,"of":166,"page":"https://glostats.com/stats/smoking-rate/"},"diabetes":{"name":"Diabetes prevalence","value":11.9,"unit":"% of people aged 20–79","year":2024,"type":"observation","source":["wb"],"rank":57,"of":209,"page":"https://glostats.com/stats/diabetes/"},"undernourishment":{"name":"Undernourishment","value":6.5,"unit":"% of population","year":2024,"type":"observation","source":["wb"],"rank":70,"of":168,"page":"https://glostats.com/stats/undernourishment/"},"gdp-ppp":{"name":"GDP (PPP)","value":433708561693,"unit":"international dollars","year":2025,"type":"observation","source":["wb"],"rank":57,"of":201,"page":"https://glostats.com/stats/gdp-ppp/"},"gdp-ppp-per-capita":{"name":"GDP per capita (PPP)","value":11112,"unit":"international dollars","year":2025,"type":"observation","source":["wb"],"rank":137,"of":201,"page":"https://glostats.com/stats/gdp-ppp-per-capita/"},"gdp-growth":{"name":"GDP growth","value":4.5952,"unit":"% per year","year":2025,"type":"observation","source":["wb"],"rank":57,"of":200,"page":"https://glostats.com/stats/gdp-growth/"},"gni-per-capita":{"name":"GNI per capita","value":4360,"unit":"current US$","year":2025,"type":"observation","source":["wb"],"rank":137,"of":204,"page":"https://glostats.com/stats/gni-per-capita/"},"exports":{"name":"Exports","value":76541039368,"unit":"current US$","year":2025,"type":"observation","source":["wb"],"rank":53,"of":188,"page":"https://glostats.com/stats/exports/"},"imports":{"name":"Imports","value":93252409527,"unit":"current US$","year":2025,"type":"observation","source":["wb"],"rank":51,"of":188,"page":"https://glostats.com/stats/imports/"},"foreign-exchange-reserves":{"name":"Foreign exchange reserves","value":48453629605,"unit":"current US$","year":2025,"type":"observation","source":["wb"],"rank":52,"of":177,"page":"https://glostats.com/stats/foreign-exchange-reserves/"},"tax-revenue":{"name":"Tax revenue","value":22.6813,"unit":"% of GDP","year":2024,"type":"observation","source":["wb"],"rank":33,"of":151,"page":"https://glostats.com/stats/tax-revenue/"},"remittances":{"name":"Remittances received","value":13656589125,"unit":"current US$","year":2025,"type":"observation","source":["wb"],"second":{"name":"Share of GDP","value":7.4882,"unit":"% of GDP","year":2025},"rank":16,"of":187,"page":"https://glostats.com/stats/remittances/"},"income-inequality":{"name":"Income inequality","value":39.5,"unit":"out of 100","year":2013,"type":"observation","source":["wb"],"rank":43,"of":158,"page":"https://glostats.com/stats/income-inequality/"},"poverty-rate":{"name":"Extreme poverty","value":3.7,"unit":"% of population","year":2013,"type":"observation","source":["wb"],"rank":68,"of":158,"page":"https://glostats.com/stats/poverty-rate/"},"youth-unemployment":{"name":"Youth unemployment","value":21.882,"unit":"% of labor force aged 15–24","year":2025,"type":"observation","source":["wb"],"rank":40,"of":186,"page":"https://glostats.com/stats/youth-unemployment/"},"female-labour-force":{"name":"Women in the labour force","value":19.696,"unit":"% of women aged 15 and over","year":2025,"type":"observation","source":["wb"],"rank":175,"of":186,"page":"https://glostats.com/stats/female-labour-force/"},"human-development-index":{"name":"Human Development Index","value":0.71,"unit":"out of 1","year":2023,"type":"observation","source":["undp"],"rank":120,"of":193,"page":"https://glostats.com/stats/human-development-index/"},"literacy-rate":{"name":"Literacy rate","value":64.26,"unit":"% of people aged 15 and over","year":2014,"type":"observation","source":["wb"],"rank":107,"of":125,"page":"https://glostats.com/stats/literacy-rate/"},"homicide-rate":{"name":"Homicide rate","value":1.705,"unit":"per 100,000 people per year","year":2023,"type":"observation","source":["wb"],"rank":112,"of":182,"page":"https://glostats.com/stats/homicide-rate/"},"military-personnel":{"name":"Military personnel","value":246000,"unit":"personnel","year":2020,"type":"observation","source":["wb"],"rank":28,"of":170,"page":"https://glostats.com/stats/military-personnel/"},"women-in-parliament":{"name":"Women in parliament","value":24.3038,"unit":"% of seats","year":2025,"type":"observation","source":["wb"],"rank":104,"of":193,"page":"https://glostats.com/stats/women-in-parliament/"},"solar-power":{"name":"Solar power","value":2568000000,"unit":"kWh per year","year":2025,"type":"observation","source":["ember"],"second":{"name":"Share of electricity","value":5.82,"unit":"% of electricity","year":2025},"rank":48,"of":182,"page":"https://glostats.com/stats/solar-power/"},"wind-power":{"name":"Wind power","value":6717000000,"unit":"kWh per year","year":2025,"type":"observation","source":["ember"],"second":{"name":"Share of electricity","value":15.21,"unit":"% of electricity","year":2025},"rank":32,"of":111,"page":"https://glostats.com/stats/wind-power/"},"natural-gas-production":{"name":"Natural gas production","value":42993043,"unit":"m³ per year","year":2024,"type":"observation","source":["eia"],"rank":82,"of":97,"page":"https://glostats.com/stats/natural-gas-production/"},"access-to-electricity":{"name":"Access to electricity","value":100,"unit":"% of population","year":2024,"type":"observation","source":["wb"],"rank":1,"of":214,"page":"https://glostats.com/stats/access-to-electricity/"},"air-pollution":{"name":"Air pollution","value":18.7207,"unit":"micrograms of PM2.5 per m³","year":2023,"type":"observation","source":["wb"],"rank":93,"of":200,"page":"https://glostats.com/stats/air-pollution/"},"arable-land":{"name":"Arable land","value":70676.2,"unit":"km²","year":2024,"type":"observation","source":["wb"],"second":{"name":"Share of land area","value":15.836,"unit":"% of land area","year":2024},"rank":36,"of":206,"page":"https://glostats.com/stats/arable-land/"}},"withheld":["gdp","gdp-per-capita","inflation","co2-emissions","co2-emissions-per-capita","internet-users","mobile-subscriptions"],"sources":{"un-wpp":{"name":"United Nations, Department of Economic and Social Affairs, Population Division","dataset":"World Population Prospects 2024, medium variant","url":"https://population.un.org/wpp/","license":"CC BY 3.0 IGO","license_url":"https://creativecommons.org/licenses/by/3.0/igo/"},"wb":{"name":"World Bank","dataset":"World Development Indicators","url":"https://data.worldbank.org/","license":"CC BY 4.0","license_url":"https://datacatalog.worldbank.org/public-licenses#cc-by"},"ilo":{"name":"International Labour Organization (ILO)","dataset":"ILO modelled estimates (ILOEST), ILOSTAT","url":"https://ilostat.ilo.org/","license":"CC BY 4.0","license_url":"https://www.ilo.org/rights-and-permissions"},"ember":{"name":"Ember","dataset":"Yearly and monthly electricity data","url":"https://ember-energy.org/data/","license":"CC BY 4.0","license_url":"https://ember-energy.org/creative-commons/"},"eia":{"name":"U.S. Energy Information Administration (EIA)","dataset":"International Energy Statistics","url":"https://www.eia.gov/international/","license":"Public domain (U.S. government)","license_url":"https://www.eia.gov/about/copyrights_reuse.php"},"iea":{"name":"International Energy Agency (IEA)","dataset":"World Energy Balances, via World Bank WDI (EG.USE.PCAP.KG.OE)","url":"https://data.worldbank.org/indicator/EG.USE.PCAP.KG.OE","license":"CC BY 4.0 (World Bank metadata and the IEA Energy Statistics Data Browser)","license_url":"https://www.iea.org/terms/creative-commons-cc-licenses"},"ei":{"name":"Energy Institute","dataset":"Statistical Review of World Energy 2026","url":"https://www.energyinst.org/statistical-review","license":"No open licence; \"free to use and replicate\" with citation (users' guide)","license_url":"https://www.energyinst.org/statistical-review/resources-and-data-downloads"},"fao":{"name":"Food and Agriculture Organization of the United Nations (FAO)","dataset":"FAOSTAT Land Use; Global Forest Resources Assessment 2025","url":"https://www.fao.org/faostat/","license":"CC BY 4.0 + FAO database terms","license_url":"https://www.fao.org/contact-us/terms/db-terms-of-use/en/"},"aquastat":{"name":"FAO AQUASTAT","dataset":"Renewable internal freshwater resources (long-term average), via World Bank WDI","url":"https://www.fao.org/aquastat/","license":"CC BY 4.0 + FAO database terms","license_url":"https://www.fao.org/contact-us/terms/db-terms-of-use/en/"},"sdg":{"name":"UN Statistics Division / FAO","dataset":"SDG Global Database, indicator 6.4.2 (water stress)","url":"https://unstats.un.org/sdgs/dataportal","license":"No data licence stated; the footer links to the UN website terms (personal, non-commercial use). The same figures are published by FAO AQUASTAT under CC BY 4.0","license_url":"https://www.un.org/en/about-us/terms-of-use"},"undp":{"name":"United Nations Development Programme (UNDP)","dataset":"Human Development Report 2025, composite indices","url":"https://hdr.undp.org/data-center/documentation-and-downloads","license":"CC BY 3.0 IGO","license_url":"https://hdr.undp.org/copyright-and-terms-use"}}}