An undertrial prisoner, lodged in the district jail here, died due to some illness, a senior jail official said.