Kenny risked disqualification after a false start in Rio and faced a nervy wait to discover if he would be allowed to compete.
Kenny, who had already won the men’s sprint and team sprint to add to his two golds from London in 2012 and a gold and silver in Beijing in 2008, overtook the pace bike just before it left the track.
Sarah Storey takes record 12th gold Paralympic medal
After an agonising delay, with Team GB support staff in lengthy discussions, officials ruled that all riders could take to the velodrome track again.
Incredibly, when the race restarted there was another false start with Germany’s Joachim Eilers overtaking the Derny, but he was offered a reprieve as well.
Britain's Jason Kenny (L) kisses fiancee Britain's Laura Trott after winning the Men's Keirin finals track
Image credit: AFP
And on a night when his partner Laura Trott became the most decorated British woman of all time with her fourth gold, in the omnium, Kenny finally did his job in the velodrome.
Kenny came storming through on the final lap to snatch the victory, and a record sixth gold, in a thrilling conclusion to a dramatic event.
"I turned up in a funny mood, I was happy, I don’t know what was wrong today," he told the BBC. "It felt like a dream. I was so tired I was floating through it. It was brilliant.
It is pretty mental (matching Sir Chris Hoy). I was there in Bejing and knew it was special and as the years have gone by I appreciated how amazing he was then and to do same it is amazing.
When asked about the 10 golds in his household, he replied: "Not bad is it?"
GB cycling boss defends gold-medal haul as questions are asked
Omnium glory gives Laura Trott historic fourth gold