 With Las Palmas, Ayestarán had 1 draw and 6 defeats and was sacked on 30 November 2017.On 29 May 2018, Ayestarán became manager of Pachuca in Liga MX.He was sacked on 20 January 2019, nine games into the season.