A pharmaceutical composition for inhibiting cancer stem cells growth or carcinoma metastasis and an application thereof are disclosed. The pharmaceutical composition includes: a berberine compound and a pharmaceutically acceptable carrier. The application is the use of the berberine compound to manufacture a medicament for inhibiting cancer stem cells growth or carcinoma metastasis.