[CH:1]#[C:2][C:3]1[CH:4]=[CH:5][CH:6]=[C:7]([NH:9][C:10]2[N:19]=[CH:18][N:17]=[C:16]3[C:11]=2[CH:12]=[C:13]2[O:29][CH2:28][CH2:27][O:26][CH2:25][CH2:24][O:23][CH2:22][CH2:21][O:20][C:14]2=[CH:15]3)[CH:8]=1.[ClH:30]>CO>[CH:1]#[C:2][C:3]1[CH:4]=[CH:5][CH:6]=[C:7]([NH:9][C:10]2[C:11]3[C:16](=[CH:15][C:14]4[O:20][CH2:21][CH2:22][O:23][CH2:24][CH2:25][O:26][CH2:27][CH2:28][O:29][C:13]=4[CH:12]=3)[N:17]=[CH:18][N:19]=2)[CH:8]=1.[ClH:30]Icotinib (700 mg) and methanol (40 mL) were added into 100 mL of reaction flask, hydrogen chloride gas or concentrated hydrochloric acid was added while stirring. After its completion, the reaction mixture was filtrated to give crude products of Icotinib hydrochloride, which was then purified by recrystallization with isopropanol to give Icotinib hydrochloride (760 mg).