He eventually led his hometown side safe from the relegation zone in a 17th-place finish, being dismissed on 27 February 2011. After taking Córdoba to the first round in the second division promotion playoffs, Jémez was appointed at former club Rayo on 22 June 2012. After leading the team to their best-ever ranking in the top flight, eighth, he renewed his contract until June 2015.