On 20 May 2010, Pedro was included by Vicente del Bosque in Spain’s 23-man squad for the 2010 FIFA World Cup. Nine days later, he made his debut in a 3–2 friendly win against Saudi Arabia, replacing David Silva for the final 30 minutes in Innsbruck, Austria. On 8 June, in the last exhibition game prior to the finals in South Africa, with Poland, Pedro scored his first international goal, and also assisted Fernando Torres in a 6–0 victory at Murcia’s Estadio Nueva Condomina. In the final stages, he appeared in five matches (three as a late substitute): on 7 July, in the semi-final against Germany, he started in place of Torres, who had been performing poorly in earlier matches. In the 82nd minute, with Spain leading 1–0, he attempted to score a goal himself rather than set up an unmarked Torres, although he performed well in the game. Despite this error, he was selected to start in the final, with the national team winning 1–0 against the Netherlands; at the hour-mark, he was replaced by Jesús Navas. Pedro was part of the Spanish squad which successfully defended their continental crown at UEFA Euro 2012, coming on as a substitute in each of their knockout round matches, including the final where he replaced Silva in the 59th minute of an eventual 4–0 win over Italy. Pedro scored the first hat-trick of his professional career on 12 October 2012, netting after a Jordi Alba strike in an eventual 4–0 away win over Belarus for the 2014 World Cup qualifiers.