According to medieval Armenian sources, the settlement was first mentioned as '''Vararakn''' (Վարարակն, meaning "rapid spring" in Armenian), a name that remained in use until 1847, when it was renamed '''Khankendi'''.