Liverpool captain Steven Gerrard called his decision to leave at the end of the season "the toughest" of his life.
The 34-year-old, out of contract this summer, joined the Reds aged nine and has scored 180 goals in 695 games.
"This has been the toughest decision of my life, one both me and my family have agonised over for a good deal of time," said the ex-England midfielder.
He added he would continue to play but not for a potential rival as he could "never contemplate" facing Liverpool.
Gerrard is being linked with a move to Major League Soccer in the United States once the English season ends.
He stressed: "I won't be playing for a competing club and will not therefore be lining up against Liverpool.
"My decision is completely based on my wish to experience something different in my career and life and I also want to make sure that I have no regrets when my playing career is eventually over.
"From now until the last kick of the last game of the season, I will be as fully committed to the team as I ever have been and giving everything I have to help Liverpool win games."
Gerrard, born in the Merseyside village of Whiston, joined Liverpool's academy when he was nine years old, making his first-team debut as a substitute against Blackburn Rovers in November 1998.
He led the club to the Champions League title in 2005, scoring his side's first goal as they came from three down to draw 3-3 against AC Milan and then win on penalties.
He has also won the Uefa Cup, two FA Cups, three League Cups, one Community Shield and two Uefa Super Cups, and earned 114 England caps before retiring after the World Cup.
Liverpool manager Brendan Rodgers said: "It is almost an impossible task to find the words to appropriately sum up Steven Gerrard and his importance to Liverpool.
"This is an era where the word 'legend' is vastly overused, but in his case it actually doesn't do him justice."