Topics
Country or area · Northern Africa · Africa · UN WPP 2024
Morocco population
Morocco population now
38,841,869
A projection read at this second, not a count: the UN's totals for 1 January 2026 and 2027, joined by a straight line. 95% range for 31 December 2026: 38.5–39.3 million.
Mid-2023, UN estimate: 37,712,505
- Year
- 2026
- projection · medium
- Population, mid-2026
- 38.7624 million
- 95% range, 31 Dec: 38.5–39.3 million
- Median age
- 31.1
- Aged 65+
- 8.8%
male female projection · one cell = 5,000 people
How to read this: one row for each age, newborns at the bottom; men on the left, women on the right.
MAR · 1950–2100 · in brief
Morocco in numbers
The UN counts 37,712,505 people in Morocco in mid-2023, which makes it the 41st-largest population of the 236 countries and areas the UN reports, and 0.47% of the world's people. That is 4.2 times its 1950 population of 8.9 million.
The UN's medium projection has it peaking in 2058 at 43.7 million, then falling to 37.9 million by 2100. The projection is uncertain: on 1 January 2100 the UN's 95% range runs from 23.8 million to 58.5 million.
Births stay ahead of deaths until 2067; in the medium projection, deaths are ahead every year after it.
The median age was 19.3 in 1950 and 30.2 in 2023; the projection has 49.1 in 2100. 7.8% of people were 65 or older in 2023, against 30.3% projected for 2100. The working-age population (15–64) is projected to peak in 2045 at 28.3 million.
By size it is the 41st country in 2023; the projection puts it 50th in 2050 and 57th in 2100. In the medium projection it overtakes Ukraine in 2024, Poland in 2025 and South Korea in 2054. It is overtaken by Angola in 2025, Mozambique in 2029 and Uzbekistan in 2030.
- Population, mid-2023
- 37,712,505
- Rank by population, 2023
- 41 of 236
- Share of the world, 2023
- 0.47%
- Change in a year, mid-2022 to mid-2023
- +1.03% · +383,441 people
- People per km² of land, 2023
- 85
- Land area, 2023
- 446,300 km²
- Births, 2023
- 629,832
- Deaths, 2023
- 212,624
- Net migration, 2023
- −39,650
- Children per woman, 2023
- 2.23
- Median age, 2023
- 30.2 years
- Life expectancy at birth, 2023
- 75.3 years
- In a city, 2025
- 52 of every 100
- Population, mid-1950
- 8,935,450
- Projected, mid-2050
- 43,440,430
- Projected, mid-2100
- 37,884,370
MAR · 1950–2100 · total population
Population, 1950–2100
estimate projection, up to the bottom of the 95% range 95% range medium projection. Every column stands for a single year, counted on 1 January, and the paper rules slice it into cells of equal size.
Show the numbers: Morocco, 1950–2100
| Year | Kind | Population, 1 Jan | 95% range | Births | Deaths | Children per woman | Life expectancy |
|---|---|---|---|---|---|---|---|
| 1950 | estimate | 8,826,639 | 435,623 | 223,407 | 6.14 | 38.8 | |
| 1951 | estimate | 9,044,261 | 453,360 | 227,861 | 6.22 | 39.1 | |
| 1952 | estimate | 9,274,318 | 471,956 | 232,333 | 6.31 | 39.6 | |
| 1953 | estimate | 9,515,439 | 489,349 | 236,692 | 6.39 | 40.0 | |
| 1954 | estimate | 9,763,696 | 503,233 | 240,292 | 6.43 | 40.4 | |
| 1955 | estimate | 10,022,934 | 518,380 | 243,493 | 6.50 | 40.8 | |
| 1956 | estimate | 10,293,323 | 532,832 | 246,334 | 6.56 | 41.2 | |
| 1957 | estimate | 10,574,726 | 546,947 | 248,643 | 6.63 | 41.7 | |
| 1958 | estimate | 10,866,370 | 561,533 | 250,618 | 6.71 | 42.2 | |
| 1959 | estimate | 11,161,115 | 576,299 | 252,374 | 6.80 | 42.7 | |
| 1960 | estimate | 11,472,899 | 590,641 | 267,142 | 6.89 | 41.7 | |
| 1961 | estimate | 11,776,967 | 603,574 | 254,923 | 6.97 | 43.7 | |
| 1962 | estimate | 12,085,204 | 620,122 | 256,274 | 7.05 | 44.2 | |
| 1963 | estimate | 12,420,979 | 625,823 | 256,569 | 7.01 | 44.8 | |
| 1964 | estimate | 12,734,025 | 631,489 | 255,660 | 6.97 | 45.4 | |
| 1965 | estimate | 13,063,746 | 638,697 | 254,710 | 6.93 | 45.9 | |
| 1966 | estimate | 13,414,596 | 645,608 | 253,722 | 6.89 | 46.5 | |
| 1967 | estimate | 13,779,534 | 653,022 | 252,433 | 6.84 | 47.1 | |
| 1968 | estimate | 14,156,816 | 658,866 | 251,436 | 6.79 | 47.7 | |
| 1969 | estimate | 14,538,983 | 665,677 | 250,744 | 6.73 | 48.2 | |
| 1970 | estimate | 14,929,528 | 676,670 | 250,656 | 6.68 | 48.7 | |
| 1971 | estimate | 15,329,369 | 685,896 | 250,798 | 6.62 | 49.2 | |
| 1972 | estimate | 15,725,081 | 696,964 | 250,515 | 6.54 | 49.7 | |
| 1973 | estimate | 16,124,303 | 705,877 | 250,178 | 6.48 | 50.2 | |
| 1974 | estimate | 16,528,234 | 713,472 | 249,324 | 6.40 | 50.8 | |
| 1975 | estimate | 16,939,451 | 722,544 | 247,907 | 6.30 | 51.4 | |
| 1976 | estimate | 17,362,121 | 727,295 | 245,151 | 6.17 | 52.0 | |
| 1977 | estimate | 17,786,244 | 730,694 | 241,520 | 6.04 | 52.8 | |
| 1978 | estimate | 18,243,269 | 736,672 | 237,836 | 5.91 | 53.5 | |
| 1979 | estimate | 18,711,501 | 749,545 | 233,997 | 5.85 | 54.4 | |
| 1980 | estimate | 19,199,676 | 764,790 | 230,346 | 5.78 | 55.2 | |
| 1981 | estimate | 19,720,210 | 780,164 | 227,231 | 5.71 | 56.0 | |
| 1982 | estimate | 20,250,593 | 788,048 | 223,130 | 5.60 | 56.9 | |
| 1983 | estimate | 20,790,043 | 784,732 | 218,421 | 5.41 | 57.7 | |
| 1984 | estimate | 21,331,348 | 777,977 | 213,815 | 5.20 | 58.4 | |
| 1985 | estimate | 21,856,208 | 769,532 | 208,701 | 4.99 | 59.2 | |
| 1986 | estimate | 22,371,699 | 761,984 | 203,874 | 4.77 | 60.0 | |
| 1987 | estimate | 22,829,907 | 752,653 | 199,649 | 4.58 | 60.6 | |
| 1988 | estimate | 23,278,876 | 741,830 | 196,052 | 4.39 | 61.2 | |
| 1989 | estimate | 23,722,173 | 731,788 | 192,788 | 4.22 | 61.8 | |
| 1990 | estimate | 24,156,656 | 725,559 | 190,063 | 4.06 | 62.4 | |
| 1991 | estimate | 24,594,446 | 728,333 | 188,484 | 3.95 | 62.9 | |
| 1992 | estimate | 25,003,582 | 712,513 | 186,830 | 3.76 | 63.4 | |
| 1993 | estimate | 25,421,355 | 692,622 | 184,903 | 3.55 | 63.9 | |
| 1994 | estimate | 25,807,817 | 684,959 | 183,538 | 3.41 | 64.3 | |
| 1995 | estimate | 26,193,828 | 680,214 | 183,639 | 3.29 | 64.7 | |
| 1996 | estimate | 26,605,029 | 684,460 | 182,975 | 3.23 | 65.2 | |
| 1997 | estimate | 27,011,186 | 684,162 | 183,352 | 3.15 | 65.6 | |
| 1998 | estimate | 27,415,488 | 676,123 | 183,513 | 3.04 | 66.0 | |
| 1999 | estimate | 27,827,808 | 656,406 | 183,330 | 2.88 | 66.4 | |
| 2000 | estimate | 28,226,551 | 644,893 | 183,546 | 2.77 | 66.8 | |
| 2001 | estimate | 28,620,320 | 636,432 | 183,822 | 2.69 | 67.2 | |
| 2002 | estimate | 29,008,965 | 630,693 | 184,538 | 2.62 | 67.6 | |
| 2003 | estimate | 29,387,318 | 638,403 | 185,754 | 2.61 | 68.0 | |
| 2004 | estimate | 29,755,513 | 649,571 | 187,810 | 2.61 | 68.3 | |
| 2005 | estimate | 30,150,524 | 662,341 | 188,074 | 2.61 | 68.8 | |
| 2006 | estimate | 30,565,764 | 672,603 | 189,411 | 2.61 | 69.2 | |
| 2007 | estimate | 30,976,591 | 683,664 | 190,152 | 2.62 | 69.6 | |
| 2008 | estimate | 31,396,345 | 690,897 | 191,137 | 2.61 | 70.0 | |
| 2009 | estimate | 31,817,188 | 701,896 | 192,520 | 2.62 | 70.5 | |
| 2010 | estimate | 32,244,368 | 710,089 | 194,277 | 2.63 | 70.8 | |
| 2011 | estimate | 32,689,663 | 707,816 | 194,522 | 2.60 | 71.3 | |
| 2012 | estimate | 33,135,512 | 699,725 | 195,016 | 2.54 | 71.7 | |
| 2013 | estimate | 33,574,971 | 687,270 | 194,972 | 2.48 | 72.1 | |
| 2014 | estimate | 34,000,171 | 676,799 | 195,518 | 2.42 | 72.5 | |
| 2015 | estimate | 34,409,389 | 674,422 | 196,776 | 2.41 | 72.9 | |
| 2016 | estimate | 34,805,788 | 673,304 | 198,658 | 2.40 | 73.2 | |
| 2017 | estimate | 35,241,127 | 670,575 | 199,576 | 2.38 | 73.6 | |
| 2018 | estimate | 35,651,657 | 665,650 | 201,292 | 2.35 | 74.0 | |
| 2019 | estimate | 36,027,863 | 661,124 | 203,826 | 2.34 | 74.2 | |
| 2020 | estimate | 36,393,933 | 653,031 | 237,013 | 2.32 | 73.1 | |
| 2021 | estimate | 36,774,483 | 645,134 | 237,305 | 2.29 | 73.4 | |
| 2022 | estimate | 37,134,402 | 635,906 | 207,990 | 2.26 | 75.2 | |
| 2023 | estimate | 37,523,726 | 629,832 | 212,624 | 2.23 | 75.3 | |
| 2024 | estimate | 37,901,284 | 624,620 | 218,049 | 2.21 | 75.5 | |
| 2025 | projection | 38,261,062 | 38.1–38.4 million | 619,057 | 223,381 | 2.18 | 75.7 |
| 2026 | projection | 38,600,478 | 38.3–38.9 million | 613,838 | 229,022 | 2.16 | 75.9 |
| 2027 | projection | 38,924,404 | 38.5–39.3 million | 608,737 | 234,929 | 2.14 | 76.0 |
| 2028 | projection | 39,235,794 | 38.7–39.8 million | 604,819 | 240,890 | 2.12 | 76.2 |
| 2029 | projection | 39,532,457 | 38.8–40.3 million | 601,150 | 246,895 | 2.10 | 76.4 |
| 2030 | projection | 39,816,663 | 38.9–40.7 million | 598,285 | 253,135 | 2.08 | 76.5 |
| 2031 | projection | 40,090,257 | 39.0–41.2 million | 594,230 | 259,677 | 2.06 | 76.7 |
| 2032 | projection | 40,353,229 | 39.1–41.7 million | 591,376 | 265,951 | 2.05 | 76.9 |
| 2033 | projection | 40,602,744 | 39.2–42.1 million | 588,747 | 272,433 | 2.03 | 77.0 |
| 2034 | projection | 40,843,206 | 39.2–42.6 million | 586,104 | 278,965 | 2.02 | 77.2 |
| 2035 | projection | 41,071,282 | 39.3–43.0 million | 584,049 | 285,655 | 2.00 | 77.3 |
| 2036 | projection | 41,292,905 | 39.3–43.5 million | 581,604 | 291,900 | 1.99 | 77.5 |
| 2037 | projection | 41,503,555 | 39.3–43.9 million | 579,690 | 298,432 | 1.98 | 77.7 |
| 2038 | projection | 41,704,511 | 39.3–44.3 million | 577,725 | 305,046 | 1.97 | 77.8 |
| 2039 | projection | 41,900,038 | 39.3–44.7 million | 575,209 | 311,222 | 1.95 | 78.0 |
| 2040 | projection | 42,080,852 | 39.4–45.1 million | 572,779 | 317,099 | 1.94 | 78.2 |
| 2041 | projection | 42,255,558 | 39.3–45.5 million | 569,558 | 323,459 | 1.93 | 78.3 |
| 2042 | projection | 42,422,525 | 39.3–45.9 million | 566,535 | 329,522 | 1.92 | 78.5 |
| 2043 | projection | 42,578,129 | 39.3–46.3 million | 563,122 | 335,483 | 1.91 | 78.7 |
| 2044 | projection | 42,722,861 | 39.3–46.7 million | 559,442 | 340,960 | 1.90 | 78.8 |
| 2045 | projection | 42,862,135 | 39.3–47.1 million | 554,897 | 346,799 | 1.90 | 79.0 |
| 2046 | projection | 42,988,477 | 39.3–47.4 million | 550,260 | 352,281 | 1.89 | 79.1 |
| 2047 | projection | 43,103,881 | 39.2–47.8 million | 545,729 | 357,702 | 1.88 | 79.3 |
| 2048 | projection | 43,212,457 | 39.0–48.2 million | 541,309 | 362,839 | 1.88 | 79.5 |
| 2049 | projection | 43,312,348 | 38.9–48.5 million | 535,463 | 367,860 | 1.87 | 79.6 |
| 2050 | projection | 43,399,092 | 38.8–48.9 million | 530,486 | 372,891 | 1.86 | 79.8 |
| 2051 | projection | 43,481,769 | 38.7–49.2 million | 524,782 | 377,853 | 1.86 | 79.9 |
| 2052 | projection | 43,552,528 | 38.7–49.5 million | 519,787 | 383,187 | 1.85 | 80.1 |
| 2053 | projection | 43,612,107 | 38.5–49.8 million | 514,664 | 388,281 | 1.85 | 80.2 |
| 2054 | projection | 43,659,269 | 38.4–50.1 million | 509,099 | 393,179 | 1.85 | 80.4 |
| 2055 | projection | 43,695,273 | 38.2–50.4 million | 503,405 | 398,127 | 1.84 | 80.5 |
| 2056 | projection | 43,720,118 | 38.0–50.7 million | 497,970 | 402,951 | 1.83 | 80.7 |
| 2057 | projection | 43,732,132 | 37.8–51.0 million | 493,191 | 408,015 | 1.83 | 80.8 |
| 2058 | projection | 43,737,408 | 37.5–51.4 million | 488,108 | 413,508 | 1.83 | 81.0 |
| 2059 | projection | 43,734,934 | 37.4–51.7 million | 483,379 | 418,468 | 1.82 | 81.1 |
| 2060 | projection | 43,719,498 | 37.2–52.0 million | 479,062 | 423,519 | 1.82 | 81.3 |
| 2061 | projection | 43,695,322 | 36.9–52.3 million | 475,048 | 428,480 | 1.82 | 81.4 |
| 2062 | projection | 43,663,957 | 36.6–52.5 million | 471,142 | 433,316 | 1.81 | 81.5 |
| 2063 | projection | 43,621,555 | 36.4–52.8 million | 466,983 | 438,084 | 1.81 | 81.7 |
| 2064 | projection | 43,574,240 | 36.2–53.1 million | 463,563 | 443,014 | 1.81 | 81.8 |
| 2065 | projection | 43,517,105 | 35.9–53.4 million | 459,876 | 447,564 | 1.80 | 82.0 |
| 2066 | projection | 43,448,440 | 35.5–53.6 million | 456,472 | 452,212 | 1.80 | 82.1 |
| 2067 | projection | 43,380,184 | 35.3–53.9 million | 453,446 | 456,577 | 1.80 | 82.2 |
| 2068 | projection | 43,301,964 | 34.9–54.2 million | 450,680 | 460,991 | 1.80 | 82.4 |
| 2069 | projection | 43,218,295 | 34.7–54.5 million | 447,354 | 464,873 | 1.79 | 82.5 |
| 2070 | projection | 43,127,983 | 34.5–54.7 million | 443,901 | 468,465 | 1.79 | 82.6 |
| 2071 | projection | 43,028,294 | 34.1–54.9 million | 440,284 | 471,498 | 1.79 | 82.8 |
| 2072 | projection | 42,925,199 | 33.8–55.2 million | 436,868 | 474,394 | 1.78 | 82.9 |
| 2073 | projection | 42,814,028 | 33.5–55.4 million | 433,380 | 477,339 | 1.78 | 83.1 |
| 2074 | projection | 42,696,165 | 33.2–55.8 million | 429,957 | 479,882 | 1.78 | 83.2 |
| 2075 | projection | 42,573,262 | 32.9–55.8 million | 426,588 | 482,235 | 1.78 | 83.3 |
| 2076 | projection | 42,446,592 | 32.5–56.1 million | 422,932 | 484,575 | 1.78 | 83.4 |
| 2077 | projection | 42,314,866 | 32.2–56.4 million | 418,701 | 486,831 | 1.77 | 83.6 |
| 2078 | projection | 42,177,221 | 31.8–56.6 million | 414,536 | 488,059 | 1.77 | 83.7 |
| 2079 | projection | 42,033,726 | 31.4–56.7 million | 410,547 | 489,107 | 1.77 | 83.8 |
| 2080 | projection | 41,883,299 | 31.1–56.8 million | 406,491 | 490,219 | 1.76 | 83.9 |
| 2081 | projection | 41,729,552 | 30.7–56.9 million | 402,631 | 491,003 | 1.76 | 84.1 |
| 2082 | projection | 41,571,087 | 30.3–57.0 million | 398,458 | 491,565 | 1.76 | 84.2 |
| 2083 | projection | 41,408,331 | 30.0–57.2 million | 393,857 | 492,288 | 1.76 | 84.3 |
| 2084 | projection | 41,243,052 | 29.6–57.3 million | 389,588 | 492,875 | 1.76 | 84.4 |
| 2085 | projection | 41,070,042 | 29.2–57.5 million | 385,196 | 493,650 | 1.75 | 84.5 |
| 2086 | projection | 40,891,095 | 28.8–57.5 million | 381,160 | 493,995 | 1.75 | 84.7 |
| 2087 | projection | 40,709,407 | 28.4–57.5 million | 377,198 | 494,485 | 1.75 | 84.8 |
| 2088 | projection | 40,526,306 | 28.1–57.4 million | 372,904 | 494,760 | 1.75 | 84.9 |
| 2089 | projection | 40,340,684 | 27.8–57.6 million | 368,938 | 495,897 | 1.75 | 85.0 |
| 2090 | projection | 40,147,142 | 27.4–57.8 million | 364,849 | 496,752 | 1.74 | 85.1 |
| 2091 | projection | 39,948,958 | 27.0–57.7 million | 360,805 | 497,609 | 1.74 | 85.3 |
| 2092 | projection | 39,745,576 | 26.7–57.8 million | 358,039 | 498,611 | 1.74 | 85.4 |
| 2093 | projection | 39,539,047 | 26.3–57.8 million | 354,590 | 499,639 | 1.74 | 85.5 |
| 2094 | projection | 39,328,892 | 26.0–58.0 million | 351,199 | 500,550 | 1.74 | 85.6 |
| 2095 | projection | 39,116,795 | 25.7–58.0 million | 348,054 | 501,645 | 1.74 | 85.7 |
| 2096 | projection | 38,900,143 | 25.4–57.9 million | 344,953 | 502,802 | 1.74 | 85.8 |
| 2097 | projection | 38,679,628 | 25.0–58.0 million | 341,853 | 503,875 | 1.74 | 85.9 |
| 2098 | projection | 38,456,781 | 24.7–58.1 million | 339,079 | 504,607 | 1.74 | 86.0 |
| 2099 | projection | 38,230,229 | 24.2–58.3 million | 336,676 | 505,289 | 1.74 | 86.1 |
| 2100 | projection | 38,000,823 | 23.8–58.5 million | 333,713 | 505,465 | 1.74 | 86.3 |
Show the numbers: Morocco, mid-2026, by single year of age
| Age | Male | Female |
|---|---|---|
| 0 | 310,410 | 297,226 |
| 1 | 311,952 | 298,666 |
| 2 | 313,944 | 300,528 |
| 3 | 316,252 | 302,746 |
| 4 | 319,556 | 305,994 |
| 5 | 323,286 | 309,754 |
| 6 | 326,754 | 312,877 |
| 7 | 329,408 | 314,902 |
| 8 | 331,559 | 316,161 |
| 9 | 333,676 | 317,009 |
| 10 | 334,682 | 317,068 |
| 11 | 335,073 | 317,147 |
| 12 | 337,685 | 319,470 |
| 13 | 342,874 | 324,222 |
| 14 | 347,336 | 328,519 |
| 15 | 348,954 | 330,286 |
| 16 | 346,102 | 328,010 |
| 17 | 339,452 | 322,309 |
| 18 | 332,501 | 316,425 |
| 19 | 325,114 | 310,196 |
| 20 | 316,843 | 303,196 |
| 21 | 308,073 | 295,782 |
| 22 | 300,864 | 288,664 |
| 23 | 297,606 | 283,576 |
| 24 | 298,438 | 282,202 |
| 25 | 298,431 | 281,408 |
| 26 | 294,471 | 278,243 |
| 27 | 292,988 | 277,980 |
| 28 | 293,625 | 279,537 |
| 29 | 290,710 | 277,756 |
| 30 | 288,032 | 276,302 |
| 31 | 289,607 | 278,376 |
| 32 | 292,658 | 281,416 |
| 33 | 295,898 | 283,845 |
| 34 | 298,855 | 285,274 |
| 35 | 299,666 | 285,260 |
| 36 | 296,165 | 282,963 |
| 37 | 291,081 | 280,128 |
| 38 | 289,376 | 280,837 |
| 39 | 288,480 | 282,670 |
| 40 | 284,562 | 280,908 |
| 41 | 279,586 | 276,798 |
| 42 | 274,920 | 272,170 |
| 43 | 270,281 | 267,915 |
| 44 | 265,026 | 263,274 |
| 45 | 258,409 | 256,664 |
| 46 | 251,440 | 249,744 |
| 47 | 244,877 | 244,176 |
| 48 | 239,060 | 240,359 |
| 49 | 233,301 | 236,560 |
| 50 | 226,972 | 230,548 |
| 51 | 220,705 | 223,285 |
| 52 | 214,906 | 216,652 |
| 53 | 209,725 | 211,273 |
| 54 | 204,068 | 205,476 |
| 55 | 197,296 | 198,259 |
| 56 | 190,378 | 191,695 |
| 57 | 183,954 | 186,998 |
| 58 | 178,829 | 184,735 |
| 59 | 174,514 | 183,488 |
| 60 | 169,364 | 179,664 |
| 61 | 164,009 | 173,950 |
| 62 | 159,864 | 169,408 |
| 63 | 156,993 | 166,737 |
| 64 | 153,344 | 162,610 |
| 65 | 147,421 | 154,463 |
| 66 | 141,100 | 145,878 |
| 67 | 135,448 | 139,198 |
| 68 | 129,830 | 133,280 |
| 69 | 123,438 | 126,682 |
| 70 | 115,193 | 118,133 |
| 71 | 105,896 | 108,802 |
| 72 | 96,596 | 100,320 |
| 73 | 87,586 | 93,183 |
| 74 | 78,459 | 85,926 |
| 75 | 68,896 | 77,113 |
| 76 | 59,869 | 68,515 |
| 77 | 51,700 | 61,134 |
| 78 | 44,656 | 55,741 |
| 79 | 38,400 | 51,436 |
| 80 | 32,597 | 45,930 |
| 81 | 27,468 | 39,853 |
| 82 | 23,179 | 34,873 |
| 83 | 19,729 | 31,367 |
| 84 | 16,450 | 27,468 |
| 85 | 13,132 | 22,369 |
| 86 | 10,334 | 17,925 |
| 87 | 8,258 | 14,831 |
| 88 | 6,524 | 12,174 |
| 89 | 4,910 | 9,464 |
| 90 | 3,571 | 7,092 |
| 91 | 2,566 | 5,336 |
| 92 | 1,805 | 3,994 |
| 93 | 1,230 | 2,904 |
| 94 | 812 | 2,043 |
| 95 | 518 | 1,390 |
| 96 | 318 | 908 |
| 97 | 188 | 573 |
| 98 | 106 | 348 |
| 99 | 55 | 200 |
| 100+ | 53 | 216 |
MAR · 1950–2100 · every age, every year
Morocco, every age in every year
Each column is a year and each row an age; the denser the ink in a cell, the more people. Everyone born in the same year climbs one 45° diagonal, so famines, baby booms and migration show up as streaks. Select a cell to follow its generation.
MAR · ages 15–64
Who does the work in Morocco
On the UN's projection, Morocco will have the most working-age people it ever has in 2045: 28,274,100 people aged 15–64. In 2023 it had 24,942,700.
aged 15–64 children under 15 aged 65 and over
How to read this: one orange square for each of 100 people aged 15–64 in 2023. Beneath them, teal for the children living alongside those 100 and violet for the people aged 65 or older.
Fewer than 50 dependants live alongside every 100 people aged 15–64 in 12 years: 2029–2040.
fewer than 50 dependants per 100 the same, projected 50 or more
How to read this: one stripe a year from 1950 to 2100. A stripe takes colour in a year when fewer than 50 dependants live alongside every 100 people of working age, and stays grey otherwise; hatching means the year is projected.
MAR · arrivals minus departures
Who arrives in Morocco, and who leaves
In 2020–2025 Morocco loses 43,764 people a year: everyone who arrives, minus everyone who leaves. The age at which that happens most is 20–24, at 11,379 a year more leaving than arriving.
more arrive than leave more leave than arrive
How to read this: each column is one age, youngest on the left. Above the line, in blue, are the ages gaining people; below it, in orange, the ages losing them. This is the UN's projection for 2020–2025 — the record of migration by age does not go back beyond 2020.
Across the counted years, 1950 to 2023, its biggest single-year gain was 5,407 (1950); its biggest loss, 130,717 (1991).
In 2024, 111,069 people living in Morocco had been born in another country, fewer than 1 of every 100 people there, against fewer than 1 in 1990.
MAR · births by the mother's age · 1950–2100
Who has the babies in Morocco
Of every 100 babies born in Morocco in 2023, 6 had a mother under 20, 71 a mother aged 20 to 34 and 23 a mother aged 35 or older. In 1950 it was 21 under 20 and 12 aged 35 or older.
21 · 67 · 12
6 · 71 · 23
5 · 71 · 24
The mother's age: under 20 20 to 34 35 or older projected
How to read this: shrink a year's babies to 100 and colour each one by the age of its mother — that is a block. Under it, the same three groups as numbers, starting with the youngest mothers.
- Babies born, 2023
- 629,832
- Average age when women have a baby
- 29.9 years
- 28.5 in 1950
- Babies a year per 1,000 girls aged 15–19
- 25
- 159 in 1950
Babies by the mother's age, 1950–2100
| Mother's age | 1950 | 1975 | 2000 | 2023 | 2050 projected | 2100 projected |
|---|---|---|---|---|---|---|
| 10–14 | 11,807 | 3,966 | 388 | 211 | 132 | 56 |
| 15–19 | 80,380 | 85,213 | 55,947 | 38,450 | 24,678 | 8,687 |
| 20–24 | 130,229 | 192,802 | 157,319 | 128,401 | 95,702 | 44,991 |
| 25–29 | 101,231 | 172,127 | 168,479 | 162,963 | 140,187 | 93,275 |
| 30–34 | 58,754 | 122,161 | 139,632 | 155,754 | 143,558 | 106,453 |
| 35–39 | 32,529 | 88,427 | 84,551 | 99,349 | 89,937 | 61,424 |
| 40–44 | 15,799 | 45,140 | 31,270 | 38,930 | 31,186 | 16,625 |
| 45–49 | 4,635 | 12,113 | 6,978 | 5,560 | 4,896 | 2,145 |
| 50–54 | 259 | 595 | 329 | 214 | 210 | 57 |
| All babies | 435,623 | 722,544 | 644,893 | 629,832 | 530,486 | 333,713 |
The UN's births for each year, split by the mother's age in the UN's own proportions.
MAR · healthy years · 2021
Years in good health in Morocco
Of the 72.6 years a baby born in Morocco in 2021 could expect, about 62.3 would be lived in full health (95% range 61.6–63.3). The years in less than full health come to 10.3, above the world's 9.5.
61.8 in full health, 11.9 not: 73.7 years
62.8 in full health, 8.7 not: 71.5 years
a year in full health a year in less than full health
How to read this: each square is a year of life, each row ten years; filled squares are years in full health, rounded to whole years.
Women: 61.8 healthy years of 73.7. Men: 62.8 of 71.5. In 2019, before the pandemic, the healthy years were 63.6.
MAR · forced from home · end of 2025
Displacement in Morocco
At the end of 2025, Morocco was hosting 22,337 people who had crossed a border into it, about 0.6 of every 1,000 people living there.
- hosted from abroad22,337
- Morocco nationals abroad32,520
stayed inside their own country crossed a border
How to read this: one square stands for 1,000 people, so the rows can be compared with one another. The last row is people from Morocco living in another country, wherever they are.
In 2025, 5,036 people asked for asylum in Morocco for the first time; 22,266 people from Morocco asked for asylum in another country. Of every 100 people from Morocco whose claims were decided that year, 7 were given protection. Who asks for asylum, and who is given it
MAR · of every 100 people
How people live in Morocco
Of every 100 people in Morocco in 2025, 52 lived in a city, 26 in a town or suburb and 22 in the countryside.
cities towns and suburbs rural areas
Nearly everyone has electricity at home (2024). 8.8 of every 100 do not use the internet (2024).
How to read this: one square for every hundredth person, coloured as the key shows. Because the rule behind the colours is the same everywhere, two countries' squares can be compared directly.
MAR · adults 25 and over · 2020
How far people in Morocco went in school
Of every 100 adults in Morocco in 2020, 40 never went to school and 19 finished upper secondary or went further.
40 never went to school 12 some primary 17 finished primary 12 finished lower secondary 10 finished upper secondary 9 studied after school
Among women, 16.5 of every 100 aged 25–29 never went to school, against 71.6 of every 100 aged 60–64; among men, 8.6 against 47.
Its people aged 15 to 64 are projected to be most numerous in 2050; the ones who finished upper secondary are most numerous later, in 2075.
How to read this: the row is the adults (25 and over) shrunk to 100 people, coloured by how far each went in school, least schooling on the left. The Wittgenstein Centre's count, 2020.
MAR · cities · 2025
Cities in Morocco
Morocco had 73 cities in 2025, home to 20.0 million people. The largest, Casablanca, holds 12 of every 100 people in Morocco.
- Casablanca4,457,471
- Rabat2,069,287
- Fez1,359,989
- Tangier1,217,976
- Marrakesh1,021,530
- Agadir869,990
- Meknes722,852
- Oujda583,116
- Kenitra566,802
- Tétouan469,642
All 11 cities in Morocco that reach 300,000 people
How to read this: one bar for each of the 10 largest cities, 2025, all on the same scale. "City" here means the built-up area the UN measures, not the boundary the city draws itself.
Apparatus
Sources and method
Every figure on this page comes from the UN's World Population Prospects 2024: the annual country tables (estimates to 2023, projections with 95% intervals from 2024), and the population by single year of age and sex for the pyramid.
The censuses, surveys and registers behind the UN's estimates for Morocco are listed, source by source, on the UN's own data sources page.
Sources: UN WPP 2024 · World Bank · UNHCR · country code lists · UN WUP 2025 · Wittgenstein Centre · WHO GHO · flag-icons · Natural Earth. Every source, its licence and how to cite it →
Checked before it was drawn
Verified 2026-09-30 · 73 canaries The pyramid for every year was checked against the published total. What that stamp counts, and what every page here has to pass before it can be built: how this site checks its figures.