"I am stopping," the 31-year-old told German magazine Kicker in an interview to be published on Thursday. "I realised that this moment has come."
Ribery, a 2006 World Cup finalist who was Europe's player of the year in 2013, said he wanted to make way for a younger generation of players.
"I want to focus on my family and fully concentrate on my work at Bayern Munich and make way in the national team for the many young and exciting players," he said.
The Frenchman has been playing club football at Bayern Munich since 2007 and won a treble of domestic and European titles in 2013.
"One has to know when to stop. I have experienced so much and now is the time for others to come forward. You could see at the World Cup that we should have no concerns about France's future."
Ribery, who won 81 caps and scored 16 international goals since making his debut for France in 2006, battled to be fit for the World Cup but despite intensive treatment he failed to make it to Brazil, where France lost to Germany in the quarter-finals.
"I was treated (for a back injury) around the clock and went to several doctors in Paris but at the end the pain was still too much that playing was not possible," Ribery said,
"There were highs and lows but now is the time to start a new chapter in my life," he said.
Ribery's France career was also marked by a players' revolt at the 2010 World Cup in South Africa with the winger at the forefront of the strike in support of forward Nicolas Anelka who had been kicked out of the squad for insulting then coach Raymond Domenech.
His reputation at home was tarnished with Ribery being handed a three-match ban for his involvement in the controversy after France's disappointing first-round exit.