The 32-year-old suffered a knee ligaments injury while playing for Eintracht Frankfurt last month.
The veteran will be joining Swiss side Young Boys this summer.
“It is not clear at this moment when I can start training fully again,” he told the Swiss federation’s official website.
“So after consultation with the doctors and physios I had no other choice but to inform the coach that he must plan without me.
“I have taken this decision after careful consideration,” the 47-cap man said on hanging up his international boots.
“I have had a great time with the national team but that’s over now. I can now concentrate fully on Young Boys.”