The incident came to light after the neighbours complained to the police about a stench emanating from the house. Post mortem of the body revealed that she committed suicide on July 1, they said.
Upon receiving the neighbours' complaint, the police broke open the door and found the woman hanging, Mysuru Police Commisioner A Subrahmanyeswara Raosaid.
The woman, a resident of Kalaburagi, had joined Infosys as a trainee three months ago, he added.
The police are investigating the reason behind her taking the extreme step. Although, the neighbours said the woman was in depression over some issue, Rao said.
The software giant added that it would provide all necessary support to the family of the woman in this time of of grief.