The invention provides a method for preparing a retegravir intermediate (3R, 4R, 5R) 2 (4aminopyrrole [2, 1f] [1, 2, 4] triaza7yl) 3, 4dibenzyl 5benzyl methyl)
tetrahydrofuran diol (I) by using a
continuous flow reactor. The method comprises the following steps: taking a prepared negative
ion solution of an intermediate
pyrrole [2,1-f] [1, 2, 4] triaza4amine (III) as a material 1, taking a
mixed solution of (3R, 4R, 5R) 3, 4-dibenzyl-5-(benzyl methyl) dihydrofuran-2(3H)-
ketone (II), a catalyst and a
solvent as a material 2, and reacting through a
continuous flow reactor to synthesize a compound (I) at -20 to 0 DEG C for 50-150 seconds. the negative
ion solution of the intermediate
pyrrole [2,1-f] [1, 2, 4] triaza-4amine (III) is prepared by taking 7halogenated
pyrrole [2,1-f] [1, 2, 4] triaza-4-amine or pyrrole [2,1-f] [1, 2, 4] triaza-4amine (IV) as a
raw material and enabling the
raw material, a
metal reagent and the like to pass through a kettle type or
continuous flow reactor. Compared with an existing conventional tank reactor, the process is short in reaction time and small in liquid holding volume, the temperature of a low-temperature reaction is increased,
energy consumption is reduced, the safety of the reaction is also improved, and continuous
automatic control is facilitated.