Thailand's military says its troops have killed 16 militants who stormed a base in the violence-hit south of the country.
The attack took place before dawn on Wednesday in Narathiwat province, near the border with Malaysia.
No military casualties were reported in the attack, which the Thai army said had involved dozens of militants.
Thailand's three southernmost provinces have been plagued by unrest in recent years.
More than 5,000 people have been killed since a decades-old separatist campaign reignited in the Muslim-majority region in 2004.