Joyce played a total of 78 one day internationals -- 17 for his adopted country of England -- and 18 Twenty20 internationals, two for England.

He returned to the Irish fold in time for the 2011 World Cup and became the side’s senior player as well as one of the most reliable batsmen.

Joyce, who last year ended a county career that began in 1999, will take up a backroom position with Cricket Ireland as a batting and leadership coach.

“I feel now is the right time to stop playing and get started on a new chapter,” he said. “The recent Test match against Pakistan was such an incredible few days and was the perfect game for me to say was my last in professional cricket.”

William Porterfield, Joyce’s long-time team-mate and Ireland skipper, said: “He has had such an amazing career that he can be so proud of over the past 20 or so years. For it to culminate in taking the field for Ireland’s first ever Test match was the icing on the cake, I’m sure.”