The invention provides an octahydro-1H-pyrrolo[2, 3-c]
pyridine derivative shown as formula (I), an octahydro-1H-pyrrolo[3, 2-c]
pyridine derivative shown as formula (II) and preparation methods thereof. Specifically, R1 is
hydrogen,
alkyl of C1-C9, benzyl, or R4C(O)-, R4 is
alkyl of C1-C9, R5O-,
aryl, benzyl or substituted benzyl, R5 is
alkyl of C1-C9,
aryl, benzyl or substituted benzyl; R2 is
hydrogen, alkyl of C1-C9, benzyl or R6C(O)-, R6 is alkyl of C1-C9, R7O-,
aryl, benzyl or substituted benzyl, R7 is alkyl of C1-C9, aryl, benzyl or substituted benzyl, R3 is COOR8, and R8 is
hydrogen, alkyl of C1-C9, benzyl or substituted benzyl. The preparation method is novel, and especially realizes the efficient conversion process from the cyano group to a
pyrrolidine structure in one step. The raw materials and ragenets are easily available and cheap, the
reaction conditions are mild, the operation is simple, and the generated octahydro-1H-pyrrolo[2, 3-c]
pyridine derivative and the octahydro-1H-pyrrolo[3, 2-c]pyridine derivative, especially derivatives with carboxyl or ester, can be used as an important intermediate of new
drug research and development due to a rigid-cyclo structure of a trifunctional group. (formula (I) and formula (II)).