At the start of the 2020–21 season, Villar was first choice under manager Óscar García, by virtue of being the club's only fit goalkeeper. On 11 August 2021, he was loaned to Segunda División side CD Leganés for one year.