Matthew Perry, best known as playing Chandler Bing in Friends, will write an "unflinchingly honest" autobiography exploring his addiction issues.

The book will be published in the autumn of 2022, taking readers "behind-the-scenes" on era-defining sitcom Friends, according to publishers Flatiron Books.

The whole Friends cast with Marcel

Perry, who played Chandler Bing on the show, will also explore the substance abuse and alcohol issues that have dogged his career.

The publisher said it won the rights to the book "in a major overnight pre-empt" – essentially securing it ahead of an auction.

Reports in the US suggested the deal was in the "mid-seven figure range".

Matthew Perry second from left at Friends Reunion

The memoir is "the book that Friends fans have been waiting for but will also shed a powerful light for anyone who is in their own battle for themselves or a loved one", Flatiron, a division of Macmillan, said.

Flatiron Books' Megan Lynch said: "We need humour, we need catharsis, and we need to agree on something – and Matthew's extraordinary story, told in his inimitable voice, is that thing.

"Matthew’s book has unrivalled potential to bring people together, which feels especially galvanising right now, a time of isolation and division."

Matthew Perry on The Good Wife

The 52-year-old The Whole Nine Yards actor, was one of the best-known and best-paid television stars during the 10-year run of Friends from 1994 but he struggled to overcome addiction.

His appearance on the show changed as his weight fluctuated drastically due to his drug problems.

In 2016 the 17 Again actor told the BBC his drug use was so bad he cannot remember roughly three years of his time on Friends, from seasons three to six.

Perry joined his former co-stars for the highly awaited Friends reunion special in May. Some fans expressed concern at his appearance on the programme.

The untitled book will be released in autumn 2022.