Three inmates working at the bakery department in Mysuru Jail died of medical complications that arose after consuming cake essence, said the police.