The defending Olympic and world champion, who overtakes Sir Steve Redgrave with a record-breaking sixth gold, beat Maximilian Levy in second and Simon van Velthooven and Teun Mulder who finished equal third.
The 36-year-old, who was already Scotland’s most successful Olympian after a hat-trick of golds in Beijing, was delighted to end his Olympic career with yet another gold medal.
“I’m in shock,” said Hoy. “You try and compose yourself and try and take it all in but this is just surreal.
“This is what I always wanted, I wanted to win gold in front of my home crowd and we did that in the team sprint and so did Jason, the team pursuit boys and team pursuit girls – everyone has been stepping up to the plate.
“And Laura today and I just wanted to do my bit for the team as well and thankfully it worked out.
“The thing with the keirin is it’s very much a lottery – you can make one little mistake and its gone. You never take anything for granted and I just can’t express the feelings I’m having right now. It’s just unbelievable it’s an amazing feeling.
“We already call Jason Queally, Lord Queally so I think that title is already for him. This is enough for me.
“It’s the perfect end to my Olympic career and I look back four Games ago to Sydney and I was just over the moon to have a silver medal and if I’d stopped then I would have been a happy boy but to have gone on to Athens, Beijing and here I can’t put it into words what it means.
“There is no way I could have done without the support team here. This is very much a team effort and I’m just the one person you see at the top of the pile. There are a hundred guys working away in the background who don’t get the credit.
“I’m 99.9 per cent sure I won’t be competing in Rio – how can I top this, it’s phenomenal. Glasgow is another question, if I can keep going to Glasgow that would be dream ending for me.
“But when you get to my age you can’t look too far ahead past the here and now so the next thing I’m going to do after celebrating is have a little holiday with Sara.
“I have to thank Sara for all her support, she’s been incredible. She’s been with me 100 percent of the way and it gets tough at times everybody sees the final polished product and they think we must be super confident and win all the time and it must be easy for us.
“But it’s been anything but, there have been some really tough moments and to get through them all and succeed here is just one of the greatest feelings I’ve ever had.”
The final race in the velodrome of London 2012 could well be Hoy’s final Olympic race as he is expected to continue only to the 2014 Commonwealth Games in Glasgow, where the track cycling will be held in the Sir Chris Hoy velodrome.
© Sportsbeat 2012
MORE: The latest football news
MORE: The latest tennis news