The data is contained in the report "State of Education 2022", released by the National Education Council (CNE), which provides a portrait of education in Portugal.

In 2021/2022, 1.2 million students were enrolled in primary and secondary education. In mainland Portugal, schools were attended by 105,855 children and young people of foreign nationality, from more than 200 countries.

With an increase of almost 14,000 compared to the previous academic year, the 79,796 foreigners between the 1st and 3rd cycle represented 9.3% of the total number of students and close to half belonged to the Brazilian community (44.6%).

Among the nationalities most represented in basic education are Angolans, with 6,613 students, and Ukrainians (5,019), which more than doubled in one year, as a result of the war in Ukraine.

Coming from 246 countries, there were 26,059 foreign students in secondary education, 3,502 more than in the previous year and equivalent to 7.9%.

Similar to basic education, the largest community was Brazilian (40.3%), followed by Angolan (10.0%).

Comparatively, the proportion of Ukrainian students is much lower, representing only 3.5% (924 in total).

The Lisbon Metropolitan Area concentrates almost half of the students of foreign nationality and, in the opposite direction, only 5% were found in Alentejo.

Among the different nationalities, Indians were the most represented in Portuguese as a Non-Mother Language class in basic education (9.6%), followed by Guineans (9.2%) and Ukrainians (8.6%).

In secondary education, students from Nepal represented 11.9% of all foreigners taking the subject, followed by students from India and Guinea-Bissau with 7.9% and 7.8%, respectively.