Both in vitro and in vivo experimental results indicate that the as-prepared anti-CXCR4-NaGdF4 NDs exhibit high MRI enhancing performance, good MDA-MB-231 tumor suppression capacity and low toxicity in vivo. Here, CXCR4 is linked to neoplasm.