Sex Country of birth Level of education Periodo Total Both genders Total Total 2021 299.179 Both genders Total Total 2020 192.506 Both genders Total Total 2019 231.616 Both genders Total Primary education or lower 2021 110.073 Both genders Total Primary education or lower 2020 60.833 Both genders Total Primary education or lower 2019 68.838 Both genders Total First stage of secondary education and the like 2021 42.195 Both genders Total First stage of secondary education and the like 2020 32.972 Both genders Total First stage of secondary education and the like 2019 40.401 Both genders Total Second stage of secondary education and non-upper post-secondary education. 2021 55.867 Both genders Total Second stage of secondary education and non-upper post-secondary education. 2020 36.574 Both genders Total Second stage of secondary education and non-upper post-secondary education. 2019 43.361 Both genders Total Higher education 2021 88.338 Both genders Total Higher education 2020 61.470 Both genders Total Higher education 2019 78.101 Both genders Total No data recorded 2021 2.706 Both genders Total No data recorded 2020 657 Both genders Total No data recorded 2019 915 Both genders Spain Total 2021 32.556 Both genders Spain Total 2020 28.384 Both genders Spain Total 2019 34.963 Both genders Spain Primary education or lower 2021 2.553 Both genders Spain Primary education or lower 2020 1.899 Both genders Spain Primary education or lower 2019 2.345 Both genders Spain First stage of secondary education and the like 2021 4.791 Both genders Spain First stage of secondary education and the like 2020 3.945 Both genders Spain First stage of secondary education and the like 2019 4.559 Both genders Spain Second stage of secondary education and non-upper post-secondary education. 2021 5.344 Both genders Spain Second stage of secondary education and non-upper post-secondary education. 2020 4.385 Both genders Spain Second stage of secondary education and non-upper post-secondary education. 2019 5.000 Both genders Spain Higher education 2021 19.605 Both genders Spain Higher education 2020 18.041 Both genders Spain Higher education 2019 22.922 Both genders Spain No data recorded 2021 263 Both genders Spain No data recorded 2020 114 Both genders Spain No data recorded 2019 137 Both genders Extranjero Total 2021 266.623 Both genders Extranjero Total 2020 164.122 Both genders Extranjero Total 2019 196.653 Both genders Extranjero Primary education or lower 2021 107.520 Both genders Extranjero Primary education or lower 2020 58.934 Both genders Extranjero Primary education or lower 2019 66.493 Both genders Extranjero First stage of secondary education and the like 2021 37.404 Both genders Extranjero First stage of secondary education and the like 2020 29.027 Both genders Extranjero First stage of secondary education and the like 2019 35.842 Both genders Extranjero Second stage of secondary education and non-upper post-secondary education. 2021 50.523 Both genders Extranjero Second stage of secondary education and non-upper post-secondary education. 2020 32.189 Both genders Extranjero Second stage of secondary education and non-upper post-secondary education. 2019 38.361 Both genders Extranjero Higher education 2021 68.733 Both genders Extranjero Higher education 2020 43.429 Both genders Extranjero Higher education 2019 55.179 Both genders Extranjero No data recorded 2021 2.443 Both genders Extranjero No data recorded 2020 543 Both genders Extranjero No data recorded 2019 778 Males Total Total 2021 163.028 Males Total Total 2020 104.361 Males Total Total 2019 125.935 Males Total Primary education or lower 2021 60.078 Males Total Primary education or lower 2020 32.771 Males Total Primary education or lower 2019 36.799 Males Total First stage of secondary education and the like 2021 27.730 Males Total First stage of secondary education and the like 2020 21.140 Males Total First stage of secondary education and the like 2019 26.287 Males Total Second stage of secondary education and non-upper post-secondary education. 2021 30.392 Males Total Second stage of secondary education and non-upper post-secondary education. 2020 19.835 Males Total Second stage of secondary education and non-upper post-secondary education. 2019 23.709 Males Total Higher education 2021 43.262 Males Total Higher education 2020 30.175 Males Total Higher education 2019 38.523 Males Total No data recorded 2021 1.566 Males Total No data recorded 2020 440 Males Total No data recorded 2019 617 Males Spain Total 2021 17.867 Males Spain Total 2020 15.495 Males Spain Total 2019 19.012 Males Spain Primary education or lower 2021 1.236 Males Spain Primary education or lower 2020 970 Males Spain Primary education or lower 2019 1.227 Males Spain First stage of secondary education and the like 2021 3.271 Males Spain First stage of secondary education and the like 2020 2.653 Males Spain First stage of secondary education and the like 2019 3.128 Males Spain Second stage of secondary education and non-upper post-secondary education. 2021 3.145 Males Spain Second stage of secondary education and non-upper post-secondary education. 2020 2.634 Males Spain Second stage of secondary education and non-upper post-secondary education. 2019 2.916 Males Spain Higher education 2021 10.066 Males Spain Higher education 2020 9.174 Males Spain Higher education 2019 11.663 Males Spain No data recorded 2021 149 Males Spain No data recorded 2020 64 Males Spain No data recorded 2019 78 Males Extranjero Total 2021 145.161 Males Extranjero Total 2020 88.866 Males Extranjero Total 2019 106.923 Males Extranjero Primary education or lower 2021 58.842 Males Extranjero Primary education or lower 2020 31.801 Males Extranjero Primary education or lower 2019 35.572 Males Extranjero First stage of secondary education and the like 2021 24.459 Males Extranjero First stage of secondary education and the like 2020 18.487 Males Extranjero First stage of secondary education and the like 2019 23.159 Males Extranjero Second stage of secondary education and non-upper post-secondary education. 2021 27.247 Males Extranjero Second stage of secondary education and non-upper post-secondary education. 2020 17.201 Males Extranjero Second stage of secondary education and non-upper post-secondary education. 2019 20.793 Males Extranjero Higher education 2021 33.196 Males Extranjero Higher education 2020 21.001 Males Extranjero Higher education 2019 26.860 Males Extranjero No data recorded 2021 1.417 Males Extranjero No data recorded 2020 376 Males Extranjero No data recorded 2019 539 Females Total Total 2021 136.151 Females Total Total 2020 88.145 Females Total Total 2019 105.681 Females Total Primary education or lower 2021 49.995 Females Total Primary education or lower 2020 28.062 Females Total Primary education or lower 2019 32.039 Females Total First stage of secondary education and the like 2021 14.465 Females Total First stage of secondary education and the like 2020 11.832 Females Total First stage of secondary education and the like 2019 14.114 Females Total Second stage of secondary education and non-upper post-secondary education. 2021 25.475 Females Total Second stage of secondary education and non-upper post-secondary education. 2020 16.739 Females Total Second stage of secondary education and non-upper post-secondary education. 2019 19.652 Females Total Higher education 2021 45.076 Females Total Higher education 2020 31.295 Females Total Higher education 2019 39.578 Females Total No data recorded 2021 1.140 Females Total No data recorded 2020 217 Females Total No data recorded 2019 298 Females Spain Total 2021 14.689 Females Spain Total 2020 12.889 Females Spain Total 2019 15.951 Females Spain Primary education or lower 2021 1.317 Females Spain Primary education or lower 2020 929 Females Spain Primary education or lower 2019 1.118 Females Spain First stage of secondary education and the like 2021 1.520 Females Spain First stage of secondary education and the like 2020 1.292 Females Spain First stage of secondary education and the like 2019 1.431 Females Spain Second stage of secondary education and non-upper post-secondary education. 2021 2.199 Females Spain Second stage of secondary education and non-upper post-secondary education. 2020 1.751 Females Spain Second stage of secondary education and non-upper post-secondary education. 2019 2.084 Females Spain Higher education 2021 9.539 Females Spain Higher education 2020 8.867 Females Spain Higher education 2019 11.259 Females Spain No data recorded 2021 114 Females Spain No data recorded 2020 50 Females Spain No data recorded 2019 59 Females Extranjero Total 2021 121.462 Females Extranjero Total 2020 75.256 Females Extranjero Total 2019 89.730 Females Extranjero Primary education or lower 2021 48.678 Females Extranjero Primary education or lower 2020 27.133 Females Extranjero Primary education or lower 2019 30.921 Females Extranjero First stage of secondary education and the like 2021 12.945 Females Extranjero First stage of secondary education and the like 2020 10.540 Females Extranjero First stage of secondary education and the like 2019 12.683 Females Extranjero Second stage of secondary education and non-upper post-secondary education. 2021 23.276 Females Extranjero Second stage of secondary education and non-upper post-secondary education. 2020 14.988 Females Extranjero Second stage of secondary education and non-upper post-secondary education. 2019 17.568 Females Extranjero Higher education 2021 35.537 Females Extranjero Higher education 2020 22.428 Females Extranjero Higher education 2019 28.319 Females Extranjero No data recorded 2021 1.026 Females Extranjero No data recorded 2020 167 Females Extranjero No data recorded 2019 239