After starting out at Real Madrid, he first made a name in La Liga with Getafe. Transferring to Valencia in 2011, he went on to appear in 383 official matches for the latter club and win the 2019 Copa del Rey. He also spent four months in England, with Queens Park Rangers.