The actor has been ordered to stay away from Heard. She wanted the same order to apply to her dog, Pistol, but the judge wouldn't go along, saying there was "insufficient showing of need to protect the dog", reported CNN.
Heard, 30, and Depp, 52, have been married since February 2015. Earlier this week, she filed for divorce.
In her complaint, Heard alleged, "During the entirety of our relationship, Johnny has been verbally and physically abusive to me."
Heard's paperwork include a reference to photos the actress supplied to the court which she said showed injuries to her face after an alleged altercation with Depp on May 21.
More From This Section
As part of the court documents, Depp filed a "memorandum of points and authorities" in which he rejects Heard's claims of domestic violence.
"Amber is attempting to secure a premature financial resolution by alleging abuse," the legal document said.
"Her current application for a temporary restraining order along with her financial requests appears to be in response to negative media attention she received earlier this week after filing for divorce."