M Shyamala, who was alone in the house, poured kerosene and set herself ablaze, said police.
Her parents have alleged that she took the extreme step due to the harassment by a police constable who was pestering her with his love proposal.
On hearing her cries, the neighbours tried to rescue her and immediately shifted her to a nearby private hospital where she was declared brought dead by the doctors, they said.
Her parents and family members in a complaint lodged with Yacharam Police station alleged that she resorted to the extreme step unable to bear harassment from a police constable identified as S Narsimha, inspector J Madan Mohan Reddy said.
A case was registered and further probe is on.