Martínez played once in the final stages, replacing the injured Xabi Alonso for the final 20 minutes of the group stage 2–1 win against Chile on 25 June, as Spain emerged victorious in the tournament. He returned to the under-21 setup for the 2011 European Championships in Denmark, captaining the nation to its third title in the category.