A man has been found guilty of sexually violating his male accomplice as punishment for botching a burglary.

Alister Reid, 47, raped the other man in November 2013 after the pair had unsuccessfully attempted to burgle a property in Hastings.

On Tuesday, Reid was found guilty of sexual violation after a one-and-a-half day jury trial in the Napier District Court. The jury acquitted him on a charge of attempted sexual violation.

STUFF Judge Tony Adeane thanked the jury for their work on the "thoroughly distasteful case".

Crown prosecutor Jo Rielly told the jury Reid had known his victim for about 10 years and would regularly stay with him and his partner and their young children.

On the night of November 3, 2013, Reid made his victim accompany him on the burglary of a house in Hastings. The burglary was unsuccessful when an occupant of the house became aware of them and bolted his door.

The pair ran away, got into a car and drove away. On the trip back to their Hastings house Reid drove into an orchard near Clive.

Rielly said Reid blamed his accomplice for the burglary failing. She said Reid punched the man in the face then told him "there had to be payback". It was here that he allegedly tried to force the victim to perform a sexual act but was unsuccessful.

They drove home, where Reid made the victim help him put methamphetamine in bags. They then both injected themselves with methamphetamine.

The victim had a shower. When he came out of the shower Reid forced him onto a bed and raped him.

The victim told the jury he had initially thought Reid was joking when they were in the car on the orchard.

"He acts like that sometimes ... I thought it was a normal bully thing he does ... But then I started getting worried. I wanted to get out of that orchard," the victim told the jury.

He described Reid lunging at him before the rape, and said it felt horrible.

"I was thinking 'how did that happen? Did I give him an indication of wanting it?'" he said.

The pair never mentioned the matter again, but the victim said if he ever did anything that irritated Reid, Reid would say "you know what I can do to you".

"I basically buried it. It's not something I wanted anyone to know ... Doing this right now is hard for me. It's embarrassing, makes me out to be a weak person ... People could think I let it happen to me," the victim said.

Two years later, in December 2015, a detective was speaking to him about an unrelated matter when he told her what had happened that night.

"I just felt comfortable with her," he said.

Reid denied everything.

He told the court he had never attempted the burglary with the man, had not been in the car with him, and had not made any sexual advance on him. He said the victim wanted him jailed to avoid paying a drug debt.

"It's garbage. Utter lies ... I simply didn't do it and I wasn't there," Reid said.

The jury took three hours to return their guilty verdicts, and Reid will be sentenced next month.

Reid was also found guilty of a raft of other matters last month. Rielly indicated the Crown would apply to have all matters moved to the High Court for consideration of preventive detention.

Judge Adeane thanked the jurors for their work on the "thoroughly distasteful case".