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
Four QPR hooligans caught on CCTV reeking havoc and attacking rival fans have been jailed.
An armed gang who had just robbed a man in his home and were caught "within seconds" by police have been jailed.
The body of a 23-year-old who was last seen at the foot of Ben Nevis has been found following a large rescue mission.