Many refugees are crossing the Kazakhstan border into neighbouring Kyrgyzstan after clashes between two ethnic groups, reports say.
At least 10 people have died and 39 people were hospitalised following rioting in the Jambyl region on Friday.
It is not yet known what sparked the violence, which pitted Kazakhs against Dungans, a Muslim group of Chinese origin.
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.
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 torched.
On Saturday, President Kassym-Jomart Tokayev said the violence had ended.
The village of Masanchi, 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.
All images copyright.