AbstractPurposeLung cancer (LC) and breast cancer (BC) are the most common causes of brain metastases (BMs). Time from primary diagnosis to BM (TPDBM) refers to the time interval between initial LC or BC diagnosis and development of BM. This research aims to identify clinical, molecular, and therapeutic risk factors associated with shorter TPDBM.MethodsWe retrospectively reviewed all diagnosed LC and BC patients with BM at Harbin Medical University Cancer Hospital from 2016 to 2020. A total of 570 patients with LC brain metastasis (LCBM) and 173 patients with breast cancer brain metastasis (BCBM) patients who met the inclusion criteria were enrolled for further analysis. BM free survival time curves were generated using Kaplan–Meier analyses. Univariate and multivariate Cox regression analyses were applied to identify risk factors associated with earlier development of BM in LC and BC, respectively.ResultsThe median TPDBM was 5.3 months in LC and 44.4 months in BC. In multivariate analysis, clinical stage IV and M1 stage were independent risk factors for early development of LCBM. LC patients who received chemotherapy, targeted therapy, pulmonary radiotherapy, and pulmonary surgery had longer TPDBM. For BC patients, age ≥ 50 years, Ki67 ≥ 0.3, HER2 positive or triple‐negative breast cancer subtype, advanced N stage, and no mastectomy were correlated with shorter TPDBM.ConclusionsThis single‐institutional study helps identify patients who have a high risk of developing BM early. For these patients, early detection and intervention could have clinical benefits.