Macrocycle has attracted the attention of many researchers in the field of medicinal chemistry due to its unique advantages and good prospects, but the difficulties in drug design and synthesis of macrocycle limit its applications. In this study, a series of macrocyclic derivatives designed from anaplastic lymphoma kinase (ALK) inhibitor lorlatinib were synthesized as Janus kinase 2 (JAK2) selective