Violence between ethnic groups forced people from Kazakhstan to take refuge into neighbouring Kyrgyzstan to get away from the bloodshed.
Rioting in the Jambyl region on Friday have resulted in at least 10 people killed and another 39 injured.
It is not yet known what sparked the violence, which pitted Kazakhs against Dungans, a Muslim group of Chinese origin.
Authorities said dozens of people were initially involved in the clashes, but that number rose to 300 after calls were said to have gone out on social media.
Images from the area show several buildings and cars on fire.
An eyewitness in Kyrgyzstan told Reuters news agency he saw many people cross the border to meet relatives on the other side.
“They meet those who cross the border and take them to their homes. It’s mostly women, children and the elderly,” they said.
On Saturday, President Kassym-Jomart Tokayev said the violence had ended.
The village of Masanchi which is thought to be the epicentre of the clash, is still under armed guard.
An AFP reporter in Masanchi said there were few people out on the streets.
Deputy Interior Minister Aleksei Kalaichidi said the incident escalated due to “provocateurs and eyewitnesses who filmed the incident on video and then sent it with various comments via social networks”.
Five police officers were injured in the clashes, including three from gunshot wounds, he added.
The authorities closed a large market in the city of Almaty due to a risk of further violence, Information Minister Dauren Abayev said.
Kazakhstan’s foreign ministry says “over 100 ethnic groups are living in peace” in the country. (Source: BBC)