Breast cancer has become the most commonly diagnosed cancer, surpassing lung cancer, with 2.26 million new breast cancers worldwide in 2020. Hence, there is an urgent need to develop effective molecularly targeted therapeutic drugs to treat breast cancer. In this paper, we designed, synthesized and screened a novel thiophene-triazine derivative, XS-2, as a potent dual PI3K/mTOR inhibitor for the treatment of breast cancer. Also, XS-2 was found to be potentially effective against triple-negative breast cancer (TNBC) in vitro during the investigation. We evaluated the in vitro inhibitory effect of XS-2 on 10 cancer cell lines by MTT and 6 kinases to investigated its in vivo antitumor activity in MCF-7 xenograft tumor-bearing BALB/c nude mice. In addition, the in vitro/in vivo toxicity to mice was also assessed by hemolytic toxicity, H&E staining and blood biochemical analysis. In order to investigate the antitumor mechanism of XS-2, a series of experiments were carried out in vitro/in vivo animal model and molecular biological levels such as the cell cycle and the apoptosis assay, real-time PCR, western blot, docking and molecular simulations analysis, etc. What’s more, wound healing assay, Transwell and Western Blot were applied to explore the ability of XS-2 to inhibit the cell invasion and migration. The results showed that XS-2 exhibited strong antitumor activity both in vitro and in vivo. The inhibitory activities of XS-2 on ten cancer cell lines were ranging from 1.07 ± 0.11 to 0.002 ± 0.001 μM, which were 1565 times better than that of the lead compound GDC-0941, inhibitory activities against PI3Kα and mTOR kinases were 291.0 and 60.8 nM, respectively. Notably, XS-2 not only showed significant in vivo antitumor activity and low toxicity, with the tumor inhibition rate of 57.0 %, but also exhibited strong inhibitory in the expression of related proteins of PI3K pathway in tumor tissues. In addition, XS-2 significantly inhibited breast cancer MCF-7 and MDA-MB-231 cells in a concentration- and time-dependent manner, and inhibited the migration and invasion ability of MDA-MB-231 and MCF-7 cells. More than that, XS-2 could inhibit the increase of the expression levels of N-cadherin and vimentin upregulated by EGF and reversed the E-cadherin expression down regulated by EGF, resulting in inhibiting EMT in MCF-7 and MDA-MB-231 cells. The results showed that XS-2 was expected to be successfully developed as a high-efficiency and low-toxicity breast cancer therapeutic drug with the potential to inhibit the invasion and migration of TNBC. This provides a new research idea for the treatment of TNBC, which is of great significance.