Facebook
TwitterAs of 2023, the total population of Casablanca in Morocco amounted to **** million individuals. The number of people living in Casablanca has increased gradually since 2000. In that year, in comparison, the city's population totaled **** million. Casablanca is the most populous city in Morocco, followed by Fes and Tangier.
Facebook
TwitterAttribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Historical dataset of population level and growth rate for the Casablanca, Morocco metro area from 1950 to 2025.
Facebook
TwitterThis statistic shows the biggest cities in Morocco in 2024. In 2024, approximately **** million people lived in Casablanca, making it the biggest city in Morocco.
Facebook
TwitterMorocco's urban landscape is continuously evolving, with the country's urbanization rate projected to reach 66 percent by 2024. This shift reflects a growing trend of Moroccans moving from rural areas to cities, transforming the nation's demographic makeup and presenting both opportunities and challenges for urban development and infrastructure. Population growth and urban centers As urbanization increases, Morocco's largest city, Casablanca, is expected to house approximately 3.22 million residents in 2024. This coastal metropolis serves as a prime example of the country's urban expansion. While the overall population growth rate has slowed to 1.02 percent annually, the total population is estimated to have reached 37.4 million by 2024. This combination of urbanization and population growth is reshaping Morocco's cityscapes and demanding innovative urban planning solutions. Demographic shifts and life expectancy The urbanization trend in Morocco coincides with other demographic changes. The fertility rate has decreased to 2.2 children per woman, indicating a shift in family structures and potentially influencing urban housing demands. Simultaneously, life expectancy has risen to 75.3 years, a remarkable increase of over three decades since 1960. These factors contribute to a changing urban population composition, with implications for healthcare, education, and social services in Morocco's growing cities.
Facebook
TwitterAttribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
π Exploratory Data Analysis (EDA) on Moroccan Census Data (2024)
This project aims to explore and analyze Moroccoβs 2024 Census Data, focusing on demographic and socioeconomic indicators at the municipality level. I used structured data from the Haut-Commissariat au Plan (HCP) of Morocco, obtained from their official source:
π HCP Official Data
The analysis will cover key indicators, including:
β
Municipal population distribution (total, male, female, and age groups)
β
Marital status proportions across age groups and genders
β
Fertility and marriage indicators
I have two datasets representing 1,539 municipalities across Morocco π²π¦.
mun_pop sheet)This dataset provides the total population and its breakdown by gender and age groups.
| Column | Description | Type |
|---|---|---|
mun_id | Municipality ID (Unique) | Integer |
mun | Municipality Name | String |
city | City (I limited it to Casablanca) | String |
pop_total | Total Population | Integer |
pop_total_male | Total Male Population | Integer |
pop_total_female | Total Female Population | Integer |
pop_under_15 | % of Population Under 15 | Float |
pop_under_15_male | % of Males Under 15 | Float |
pop_under_15_female | % of Females Under 15 | Float |
pop_15_59 | % of Population Aged 15-59 | Float |
pop_15_59_male | % of Males Aged 15-59 | Float |
pop_15_59_female | % of Females Aged 15-59 | Float |
pop_60 | % of Population 60+ | Float |
pop_60_male | % of Males 60+ | Float |
pop_60_female | % of Females 60+ | Float |
marital_status sheet)This dataset focuses on marital status proportions and fertility indicators.
| Column | Description | Type |
|---|---|---|
mun_id | Municipality ID (Unique) | Integer |
mun | Municipality Name | String |
single_p_15 | % of Population 15+ Who Are Single | Float |
single_p_15_male | % of Males 15+ Who Are Single | Float |
single_p_15_female | % of Females 15+ Who Are Single | Float |
married_p_15 | % of Population 15+ Who Are Married | Float |
married_p_15_male | % of Males 15+ Who Are Married | Float |
married_p_15_female | % of Females 15+ Who Are Married | Float |
divorced_p_15 | % of Population 15+ Who Are Divorced | Float |
divorced_p_15_male | % of Males 15+ Who Are Divorced | Float |
divorced_p_15_female | % of Females 15+ Who Are Divorced | Float |
widowed_p_15 | % of Population 15+ Who Are Widowed | Float |
widowed_p_15_male | % of Males 15+ Who Are Widowed | Float |
widowed_p_15_female | % of Females 15+ Who Are Widowed | Float |
avg_age_first_marriage | Average Age at First Marriage | Float |
avg_age_first_marriage_male | Average Age at First Marriage (Males) | Float |
avg_age_first_marriage_female | Average Age at First Marriage (Females) | Float |
avg_children_45_49 | Average Number of Children for Women (45-49 Years) | Float |
total_fertility_rate | Total Fertility Rate (ISF) | Float |
π Why Focus on Ages 15 and Above?
In Morocco, the average age at first marriage is 25.5 years for women and 32 years for men. However, to capture the full spectrum of marital statuses, including those who married at younger ages, demographic analyses often consider individuals aged 15 and over. This approach ensures a comprehensive understanding of marital patterns across all adults.
Demographic structure (Age and gender distributions)
π Marital status insights (Trends in marriage, divorce, widowhood)
π Fertility patterns (ISF and average children per woman)
π City (I'm focusing on Casablanca city only)
Facebook
TwitterIn 2022, inhabitants in Morocco were more concentrated in urban than rural areas. Nearly 63 percent of the total population lived in the country's urban regions. Furthermore, Casablanca-Settat was the most populated region in Morocco.
Not seeing a result you expected?
Learn how you can add new datasets to our index.
Facebook
TwitterAs of 2023, the total population of Casablanca in Morocco amounted to **** million individuals. The number of people living in Casablanca has increased gradually since 2000. In that year, in comparison, the city's population totaled **** million. Casablanca is the most populous city in Morocco, followed by Fes and Tangier.