On 5 August 2010, Rami was called up to the senior team by the new manager Laurent Blanc for the team's friendly match against Norway on 11 August 2010. He earned his first senior cap in that match, starting at centre-back alongside Philippe Mexès. After appearing regularly in UEFA Euro 2012 qualifying, on 29 May 2012, Rami was named to the squad to participate in the finals of that competition. Two days earlier, he had scored his first international goal in a 3–2 friendly comeback win over Iceland. Rami made his debut in the finals of a World Cup or UEFA European Championship on 11 June in his team's Euro 2012 opening match against England. He started and played the entire match, which ended in a 1–1 draw. He also played every minute of France's last three matches of the tournament – the remaining two Group D matches against Ukraine and Sweden, and the quarter-final against defending champions – and eventual winners – Spain.