On 23 June 2020, Fernández returned to Spain and joined Segunda División side Cádiz CF for the remainder of the season. He signed an extension for the following season later, with the club achieving promotion to the La Liga. On 21 May 2021, after securing first division football for the upcoming season, Fernández announced his retirement from football.