The invention belongs to the field of medicine, and discloses (1R,4R,7R)-7-amino-2-azabicyclo[2,2,1]heptane derivatives and preparation methods, including: (S1) compound I-1 and I-2 undergoes nucleophilic aromatic substitution reaction to obtain compound A-1; (S2) compound A-1 is deprotected with hydrochloric acid or trifluoroacetic acid to obtain compound A-2; (S3) compound A-2 and organic acid or acid chloride Coupling reaction, or reaction with amine and solid phosgene, or reaction with amine and carbonyldiimidazole to obtain (1R,4R,7R)-7-amino-2-azabicyclo[2,2,1]heptane derivative . The (1R,4R,7R)-7-amino-2-azabicyclo[2,2,1]heptane derivative developed by the present invention can avoid inhibiting JAK2, and selectively inhibit JAK1 or JAK1 / Tyk2, which has The treatment of autoimmune diseases is of great significance.