London mayor Boris Johnson said: "At last, justice and the well-being of Mr McKinnon have prevailed.
"I have long supported Gary's right to be tried here in the UK.
"To extradite a man diagnosed with Asperger syndrome to America for trial would have been extraordinarily cruel and inhumane. I applaud the Government's stance.
"If they had approved extradition, they'd have been saying that extradition on any grounds was OK. It's not."
Melanie Riley, of campaign group Friends Extradited, said: "We are relieved and delighted for Gary and his family and his lawyers.
"A brave and correct decision has finally been made by the Home Secretary."
More top news
Darren February broke into Cowell's home as he and his family slept and his security guard used the toilet.
Pilots taking off or landing at the west London airport were targeted 151 times in 2016.
All private hire drivers must sit the test at a cost to the driver of £180 unless they can prove they have a qualification in English GCSE.