He started his career with Real Madrid, appearing solely for its reserve teams. In 2010 he signed with Benfica with whom he won four titles, most notably the domestic treble in the 2013–14 season. He then spent six years at Valencia, scoring 59 goals in 220 games and winning the Copa del Rey in 2019. In 2020, he joined Leeds United.