A combined force of provincial officials, immigration and provincial and border patrol police searched the nearby area. Two men were apprehended shortly after their escape and 27 others captured in the afternoon.
Police said another group of 30 Rohingya migrants fled from Sadao immigration centre on August 9. Twenty-four of them were arrested and six remain at large.
In Ranong province opposite the Myanmar border, 118 Rohingya migrants have been detained at the provincial immigration centre.
Police said they have allowed the migrants to do outdoor activities and exercise to alleviate their tension.