The man is suing the police minister for pain and suffering and future psychological treatment for R520000.
The case got under way on Thursday before Judge Rosheni Allie who ordered the victim’s name not be revealed.
The police minister is opposing the action and a legal representative will call police officers to the stand.
The man told the court that on November 30, 2012 he was arrested for theft and locked up at Goodwood police cells. At that time he was 29-years-old. He shared a cell with a person known as Freddy. According to the victim, the alleged rape happened in the early hours of December 1.