Kenya’s High Court three-judge bench is set to decide whether same-sex relations are crimes in the East African nation.
Gay-rights groups supported the petition seeking to quash sections 162 and 165 of the penal code.
They argued that the state has no business regulating matters of intimacy.
However, religious groups argued that such matters should be guided by the country’s values.
The ruling is expected to be delivered at 14:30 local time (12:30 BST).
The Kenya National Human Right Commission has asked the police to provide extra security at the court premises.