Judge Nyakundi said Odhiamba, 25, was unrepentant about the murder.
However, after the verdict was read out, Odhiambo caused an uproar in the courtroom by collapsing and crying.
“I have considered all the factors and found that Odhiambo was a vengeful man who committed the murder of his close friend,” the judge said.
Chiloba and Adhiamba were housemates who lived near the University of Eldoret where Chiloba was a student. There were some reports that the two men were in a relationship.
Prosecutors led by Mark Mugun told the court that Odhiamba embezzled the activist’s money after he was killed.
The prosecution also presented testimony from 23 witnesses, including DNA tests that linked Odhiambo to the crime scene.
Chiloba’s body was found with socks stuffed in her mouth and a piece of denim tied around her face.
An autopsy revealed that he died of suffocation.
Evidence also showed that the suspect sexually assaulted Chiloba before taking his life.
There was speculation that this was a case of intimate partner murder, but the court did not make any findings as to the motive for the murder.