section_path: Demographics/Population
section_name: Population
paragraph_text: Population
  
  Morocco has a population of around 37,076,584 inhabitants (2021 estimate). Morocco's population was 11.6 million in 1960. In 2024, 49.7% of the population is female, while 50.3% of it is male. According to the 2014 Morocco population census, there were around 84,000 immigrants in the country. Of these foreign-born residents, most were of French origin, followed by individuals mainly from various nations in West Africa and Algeria. There are also a number of foreign residents of Spanish origin. Some of them are descendants of colonial settlers, who primarily work for European multinational companies, while others are married to Moroccans or are retirees. Prior to independence, Morocco was home to half a million Europeans, most of whom were Christians. Also, prior to independence, Morocco was home to 250,000 Spaniards. Morocco's once prominent Jewish minority has decreased significantly since its peak of 265,000 in 1948, declining to around 3,500 in 2022.
  
  Morocco has a large diaspora, most of which is located in France, which has reportedly over one million Moroccans of up to the third generation. There are also large Moroccan communities in Spain (about 700,000 Moroccans), the Netherlands (360,000), and Belgium (300,000). Other large communities can be found in Italy, Canada, the United States and Israel, where Moroccan Jews are thought to constitute the second biggest Jewish ethnic subgroup. Morocco is also the country with the largest Berber population in the world, with estimates typically ranging between 40–60% of the population.