Regional commanders agreed to halt gunfire and troop movements as displaced residents began a wary trek home.
Video: Thailand and Cambodia agree to ceasefire
The deal to end five days of fighting came at a meeting in Malaysia and amid pressure from U.S. President Trump.
U.N. Security Council calls for de-escalation and urges ASEAN to mediate a peaceful solution.
Video: Fighting and evacuations continue in Thailand Cambodia conflict
Many thousands pour into shelters amid fresh shelling, while officials mull a peace deal and warn of wider war.
Video: U.S and China reactions, voices from Thailand and Cambodia on border clash
Video: Deadly clashes erupt along border of Cambodia, Thailand
The neighboring countries trade blame after skirmishes in disputed areas kill at least 12 people and injure dozens.
Thai officials accuse Cambodia of laying new landmines in a disputed border area, which Phnom Penh has denied.