Yáñez finally made his debut for Getafe on 17 December 2020 in a 2–1 win at CD Anaitasuna in the first round of the cup. Three days later he made his La Liga bow in a 2–0 win at former club Cádiz, to finally play in the top flight at the age of 26. After ten consecutive games in all competitions – including once David Soria had returned from injury – he lost his place to him in February.
