A product of Real Madrid's youth academies, he eventually joined the first team but proved unable to establish himself there, being loaned out twice. He moved to Valencia in 1998, appearing in 418 official matches over the next decade and winning several major titles, including two La Liga championships and the 2004 UEFA Cup.