Known in ancient times as Yazhou, postal romanization: Aichow (), literally "cliff state or prefecture", Sanya's history dates to the Qin Dynasty (221-206 BCE).
During the Tang dynasty, the Buddhist monk Jianzhen accidentally landed here, using Sanya as a staging post on his missionary journey to Japan [REF].