The qualification for the final tournament took place between January 2019 and May 2021. The two host teams, Hungary and Slovakia, and the two best placed teams from the previous championship, Spain and Croatia, were automatically qualified, leaving a total of 44 national teams to compete for the remaining 20 places in the final tournament.