A pharmaceutical composition for inhibiting tumor metastasis is disclosed. The pharmaceutical composition includes a therapeutically effective amount of 7,7″-Dimethoxyagastisflavone (DMGF) and a pharmaceutically acceptable carrier. The present invention also discloses a use of DMGF for manufacturing a pharmaceutical composition applied to inhibit tumor metastasis. The application of the pharmaceutical composition and the use of the present invention are advantageous for inhibiting tumor metastasis efficiently.