The invention relates to the field of drug synthesis, in particular to a preparation method of olopatadine hydrochloride, which comprises the following steps: adding [3-(dimethylamino) propyl] triphenylphosphonium bromide hydrobromide into tetrahydrofuran, sodium hydride and dimethyl sulfoxide, keeping the temperature, stirring, adding 11-oxo-6, 11-dihydrodibenzo [b, e] oxepin-2-acetic acid, stirring until a reaction system becomes black brown turbid liquid, and ending the reaction; quenching the reaction liquid by using a mixed solution of purified water and tetrahydrofuran, post-treating a water phase by using a mixed solvent of hydrochloric acid and n-butyl alcohol, carrying out vacuum concentration on a post-treated aqueous solution, crystallizing a concentrated solution by using n-butyl alcohol, filtering and drying to obtain a crude olopatadine hydrochloride product, separating out a solid in water and a sodium hydroxide solution, and filtering and drying to obtain olopatadine; and adding the olopatadine into hydrochloric acid while stirring by acetone to form white turbid liquid, continuously stirring, filtering and drying to obtain the olopatadine hydrochloride. The prepared olopatadine hydrochloride is high in yield, and short in reaction path.