Gawker sued the FBI after it refused a Freedom of Information Act request for the evidence, which could find its way into Hogan's invasion of privacy suit against the gossip site.
Hogan sued Gawker after it published parts of the sex tape in 2012.
According to documents, Hogan's lawyer contacted the FBI. The U.S. attorney's office decided not to prosecute anyone, but the FBI accumulated lots of evidence related to the tape.
In 2013, Gawker filed a FOIA request with the FBI for the evidence and planned to use it in its defence against Hogan.
The judge in Tampa on Wednesday ordered the bureau to release that evidence.