In conclusion, DPP-4 inhibitor therapy was not associated with significant risk of cancer metastasis relative to no-AD therapy, irrespective of patient age and sex, except after thyroid cancer, while metastatic risk was decreased with metformin treatment among type 2 diabetes patients with preexisting cancer.