The invention provides a preparation route for a vilazodone hydrochloride crystal form XI: vilazodone hydrochloride with the crystal form XI is obtained by a series of operations such as dilution, pHregulation, crystallization and drying, and the problem that the crystal form XI cannot be obtained by the route of the prior patent. The drug is used for treating or preventing depression, anxiety, bipolar disorder, mania, dementia, mental disorders associated with psychoactive substances, sexual dysfunction, eating disorder, obesity, fibromyalgia, sleep disorder, psychosis-like mental disorders,cerebral infarction, tension, side effects in hypertension treatment, brain diseases, chronic pain, acromegaly, hypogonadism, secondary amenorrhea and premenstrual syndrome.