The Moroccan court gave a "favorable opinion" on the extradition of Sebastien Raoult, 21, but a source close to the case explained that the court "did not order" the extradition at this time.
Raoult's French lawyer, Philippe Ohayon, said the court decision "reinforces our determination" that Raoult be extradited to France, not the United States.
"We believe that Sebastien Raoult has not simply been abandoned by France but that he has been sacrificed," because a French-American operation arrested five other suspects in France the same day Raoult was detained in Morocco, the lawyer said.
French magazine L'Obs reported that the FBI suspects Raoult of belonging to the Shiny Hunters hacking group, which has allegedly targeted US companies including Microsoft.
The report said US authorities were seeking Raoult's extradition over accusations including electronic fraud and identity theft.
Raoult could face more than 100 years in prison in the United States over the charges, according to L'Obs.
A police source in Morocco had confirmed in late July that Raoult was taken in for questioning on May 31 at the Rabat-Sale airport in relation to an Interpol red notice over a cyber-piracy case.
Red notices ask member countries to provisionally detain people pending possible extradition or other legal action.
The extradition itself can only be decided by Morocco's prime minister after a proposal by a committee that also includes the justice and foreign ministers, the source said.