series of novel tertiaryamine derivatives targeting CXCR4 were designed, synthesized, and evaluated. The central benzene ring linker and sidechains were modified and optimized to study the structure–activity relationship. Seven compounds displayed much more potent activity than the reference drug, AMD3100, in both the binding affinity assay and the blocking of Matrigel invasion functional assay. These