Afridi told Geo News television he could no longer perform for a cricket board that did not respect its senior players.

"I have decided to retire from international cricket because I am not in a mental frame of mind to continue playing under this board," the 31-year-old said.

Afridi, who retired from tests last year but continued to lead the team in limited-over cricket, was removed as captain earlier this month by the Pakistan Cricket Board.

His replacement, Misbah-ul-Haq, led the team in a 2-0 series win in Ireland.

After returning from this year's 3-2 one-day series win in West Indies, Afridi complained of interference in his work.

The hard-hitting batsman and leg-spin bowler played in 27 tests, 325 one-day games and 43 Twenty20s for his country.