The present invention relates to a crystal form of a pyrazoloheteroaryl derivative hydrochloride and a preparation method thereof. Specifically, the present invention relates to a crystal form I and a crystal form II of a dihydrochloride salt of a compound of formula (I), a crystal form A, a crystal form B, a crystal form C of a monohydrochloride salt of a compound of formula (I), and preparation methods thereof. The crystal forms of the compound of the formula (I) of the present invention have good crystal form stability and can be better used for clinical treatment.本發明涉及一種吡唑并雜芳基類衍生物鹽酸鹽的晶型及製備方法。具體地,本發明涉及式(I)所示化合物的二鹽酸鹽的I晶型、Ⅱ晶型、式(I)所示化合物的單鹽酸鹽的A晶型、B晶型、C晶型及其製備方法。本發明式(I)化合物的晶型具備良好的晶型穩定性,可更好地用於臨床治療。