"Following recent media speculation surrounding my future I can confirm my retirement from playing professional football," Gerrard, 36, said in a statement.
"I've had an incredible career and I'm thankful for each and every moment of my time with Liverpool, England and LA Galaxy."
Gerrard spent virtually his entire career at Liverpool having made his debut as a substitute against Blackburn Rovers in 1998. He is third on the club's all-time appearances list with 710, behind only Jamie Carragher and Ian Callaghan.
He scored 120 goals in 504 Premier League games.