Despite constant early inquiries from Morocco prior to his first selection, Rami chose to play for his home country of France. He was in the preliminary list to play for France at the 2010 FIFA World Cup finals but did not make the final squad. Rami made his senior debut on 11 August 2010 in a friendly match against Norway.
