Bram van der Kolk and Mathias Ortmann have done a deal which will see them face charges in New Zealand in return for the United States dropping the extradition case against them.
The two, along with Kim Dotcom, faced extradition over the Megaupload website.
The pair say New Zealand is their home and they want to stay here.
The legal case dates back 10 years. Late last year the Supreme Court ruled that the two men were eligible for extradition.
The case was then referred to Minister of Justice Kri Faafoi.
"The continuing uncertainty associated with the extradition case has taken a heavy toll on our lives and the time has come to move on," the men said in a statement through their solicitor.
The statement said that once charges had been heard in a New Zealand court, the US would withdraw its extradition proceedings against the two men.
"While this means we will not be extradited, there is still a process ahead of us as we face charges in New Zealand. This matter being before the court, we will not be making any further comment at this time."
Kim Dotcom said after the decision was announced that he would continue fighting charges and extradition related to alleged copyright infringements by the Megaupload website.
In a series of tweets, Dotcom said he understood why the pair made the deal after 10 years.
But he will not accept the injustice he claimed they had all experienced.