A coronavirus surge sweeping through Thailand's prisons has thrown the spotlight on the kingdom's overcrowded penal system, where some inmates have less space to sleep than the inside of a coffin.

As of Saturday, almost 25,000 people have tested positive inside jails, where inmates living cheek by jowl have been encouraged to keep wearing their masks even while they sleep.

Authorities have floated plans to give early releases to prisoners with underlying medical conditions and have announced funding for more testing and medical care in recent days.

Health workers vaccinate inmates at Minburi Remand Prison in Bangkok. More than 22,000 people have tested positive for Covid-19 in overcrowded Thai jails
Health workers vaccinate inmates at Minburi Remand Prison in Bangkok. More than 22,000 people have tested positive for Covid-19 in overcrowded Thai jails THAILAND MINISTRY OF JUSTICE / Handout

But former inmates say those behind bars have been kept in the dark about the seriousness of the outbreak.

"Prisoners don't have the knowledge to protect themselves," said Somyot Prueksakasemsuk, a high-profile activist facing charges under Thailand's harsh royal defamation law.

Somyot was bailed last month and told AFP that he had not been tested for Covid-19 once during his 10-week stint in custody.

He was not worried about contracting the disease while in jail because he had no idea about the level of risk.

The Thai department of corrections starts vaccinating prisoners in Bangkok, after nearly half of inmates tested returned positive results for coronavirus. Justice minister Somsak Thepsuthin visited Minburi remand prison where the first among 1,500 prisone
The Thai department of corrections starts vaccinating prisoners in Bangkok, after nearly half of inmates tested returned positive results for coronavirus. Justice minister Somsak Thepsuthin visited Minburi remand prison where the first among 1,500 prisoners were vaccinated. Thai Ministry of Justice

"But after this I'm so scared (for everyone still inside) ... if you are inside the prison you are at risk, it's unavoidable," he said.

Thailand's prison outbreak has skyrocketed from just 10 publicly announced cases a month ago and sparked growing public concern after a handful of prominent activists contracted the illness.

Among them was student leader Panusaya "Rung" Sithijirawattanakul, who helped lead a series of rallies last year demanding political reforms in the kingdom, and who tested positive after she was released on bail.

The Thai prison population stood at around 311,000 earlier this year, more than two and a half times the system's official capacity
The Thai prison population stood at around 311,000 earlier this year, more than two and a half times the system's official capacity AFP / WILLIAM DAVIES

The Thai prison population stood at around 311,000 earlier this year, the International Federation for Human Rights said -- more than two and a half times the system's official capacity.

Four inmates in every five are serving time for drug charges because of harsh anti-narcotics laws that can see offenders jailed for a decade for possessing just a few methamphetamine pills.

Many cells are so packed with bodies that some inmates only have half a metre (less than two feet) of space.

"That is less room for a body than the inside of a coffin," Justice Minister Somsak Thepsutin told local media in February.

Officials have tested more than 36,000 inmates in recent weeks and begun delivering Covid vaccines to inmates and prison staff.

Somsak said he was examining ways to give early releases to prisoners with underlying medical conditions, possibly through a royal pardon.

Even if the plan goes ahead, prisoners will still have to complete a quarantine before returning home.

"For us to bail anyone or do anything, it has to be done properly," Somsak told reporters on Monday. "We can't allow them to spread infections."

"Authorities should reduce the detainee population... of those held on politically motivated charges or for minor offences," said Brad Adams of Human Rights Watch.