Tropomyosin receptor kinase (TRK) is a successful target for the treatment of various cancers caused by NTRK gene fusions. Herein, based on a rational drug design strategy, we designed and synthesized 35 aminopyrimidine derivatives that were shown to be TRKA inhibitors in the enzyme assay, among which compounds C3, C4, and C6 showed potent inhibitory activities against TRKA with IC50 values of 6.5