The 31-year-old right back, who has won 27 caps, said on Instagram that it was a "very carefully considered" personal decision.
Spain remain confident of winning the World Cup, defender Marcos Llorente said, despite a series of injuries that have ravaged La Roja's options in wide areas.