Surfing legend Slater won't compete at Tokyo Olympics

American surfing legend Kelly Slater, pictured here competing at the Pipeline Masters event in Hawaii, missed out on qualifying for the 2020 Tokyo Olympics, where the sport will make its Games debut

Surfing legend Kelly Slater, seen by many as the greatest of all time, won't be competing at the Tokyo Olympics.

The 47-year-old American was edged for a spot on the US squad for the sport's Olympic debut next July, with John John Florence returning from knee surgery to edge Slater for the final spot at an event in Hawaii on Thursday.

Slater, an 11-time world champion who became the youngest and oldest to win the crown, inspired a generation of surfing stars with videos of his amazing efforts becoming must-see viewing for fans and competitors.

Competing as an Olympian would have been an epic farewell for a 40-year career than began at age eight in a youth event but instead he will be watching the event.

"I'm going to enjoy it as a spectator," Slater told the New York Times, dismissing any notion he would end his career early after missing out on the Olympics.

"Be sure that in 2020, they will continue to see me at the top of a wave," he added.

Slater needed a victory at the Pipeline Masters on Oahu's North Shore to secure the title but lost in the semi-finals, leaving him ranked eighth in the world but one spot behind 2016 and 2017 world champion Florence, who took the second US men's team spot behind already qualified Kolohe Andino.

Florence, an Oahu North Shore native 20 years younger than Slater, was a former protege of the surf icon.

"He has been my idol since I was a child," Florence said. "He's like a member of my family, like an uncle."

Florence, who missed five of 11 tour events this year with a knee injury, returned for the season finale but was eliminated in the Pipeline quarter-finals. He sealed his Olympic spot when Slater lost to Brazil's Italo Ferreira in the semis.

American surfing legend Kelly Slater, pictured here competing at the Pipeline Masters event in Hawaii, missed out on qualifying for the 2020 Tokyo Olympics, where the sport will make its Games debut