The victims suffocated after inmates set bedding alight at the jail in Sanliurfa province.
The fire was brought under control before it spread to the rest of the jail, which houses about 1,000 inmates.
Turkish media said the blaze took place during a mutiny, but the local governor denied the claim.
Governor Celalettin Guvenc told Reuters that the blaze took place following a row between the inmates.
It took one-and-a-half hours before the blaze was extinguished, the news agency reports.
Those detained at Sanliurfa include political prisoners, reports say.
Ibrahim Ayhan, a member of parliament from the pro-Kurdish Peace and Democracy Party (BDP), was among those in the jail but was not believed to have been harmed, broadcaster NTV said.
Image source: Wikimedia Commons President-elect Donald Trump celebrated his election victory at the Ultimate Fighting…
Millions of voters across the US chose to return Donald Trump to the White House…
Donald Trump declares victory in the US election as he addresses jubilant supporters in Florida.…
Stocks around the world are rising as Donald Trump appears to be on the cusp…
Donald Trump has won Pennsylvania, North Carolina and Georgia and taken a lead over Kamala…
Quincy Jones, the celebrated musician and producer who worked with Michael Jackson, Frank Sinatra, Ray…