A Rohingya migrant was shot by police after he and 20 others escaped from a Thai government detention camp on Monday, local officials said.
"The Rohingyas resisted arrest and attacked one of our officers who acted in self defence. Unfortunately, the migrant was killed," said Police General Worawit Pranprung.
According to Worawit, two Rohingya were taken into custody but the rest escaped into the surrounding jungle.
"The two suspects will face charges of resisting arrest in addition to illegal entry," he said.
The migrants used a saw to cut the iron bars at the government detention camp in Phang Nga province, 760 kilometres south of Bangkok, just after midnight on Monday.
They then scaled the roof before escaping in two groups.
According to police, before the escape the detention camp held 34 Rohingya migrants all of whom have been detained for about one year.
Thousands of Rohingya migrants flee Buddhist-majority Myanmar every year saying they have suffered persecution there. If found in Thailand, they are apprehended for entering the country illegally.