The body of a Jomo Kenyatta University of Agriculture Technology (JKUAT) has been found at an apartment in Juja, Kiambu County.
Preliminary reports indicate the female student who was a fourth year student in the school of business computing committed suicide.
Irene Monica Mwangi, 26, is reported to have hanged herself after failing to graduate.
Her body was found in her bathroom's door frame at the apartment.
A piece of cloth found around her neck is subject to forensic analysis.
Irene's colleagues completed their studies and graduated on June 28.
She had complained to her friends that she was frustrated over failure to graduate.
Police said they were called to the scene on the same day the graduation was happening and discovered the body.
A suicide note was found in the room. The contents were shared with the family.
The incident happened barely a week after the body of the fourth-year student Lenny Jessy Masiaga, 22, was found hanging in his room in Juja, Kiambu County.
The body was discovered by his girlfriend who had gone to visit him on June 25
Police said they discovered the deceased had a stab wound in the chest and he used a laptop cable to hang himself.
Police handling the issue said they want to establish if the student committed suicide or was killed.
The girlfriend told police the deceased was scheduled to graduate on June 28, but when he failed to get all his marks, he was upset.
The incidents are under probe.