Bolt, 29, has said the Rio Games will be his final Olympics as he plans to retire from the sport after the 2017 World Championships.
He signs off having won all nine Olympic finals in which he has appeared.
Bolt has claimed gold in the 100m, 200m and 4x100m relay at Beijing 2008, London 2012 and Rio 2016.
“There you go, I’m the greatest,” he said afterwards.
Former Olympic 1500m silver medallist Steve Cram, who was commentating for BBC Sport, agreed Bolt was the “greatest ever”.
“We are all privileged to have been here throughout his career and watched his Olympic performances,” added the the Briton.
Sprinter Allyson Felix also created history by becoming the first woman to collect five gold medals in athletics.
She was part of the USA’s victorious 4x100m relay team after winning silver in the 400m earlier in the Games.
The 30-year-old can make it six golds in the 4x400m relay final on Saturday.