On 1 June 2021, Szalai was included in the final 26-man squad to represent Hungary at the rescheduled UEFA Euro 2020 tournament.