Both body mass index (BMI) and family history of cancer are established risk factors for female breast cancer. However, few studies explored the potential interaction between both factors. We assessed the association of BMI and its interaction with family cancer history on the risk of female breast cancer in Shanghai, China. Based on a population-based prospective cohort study started from 2008 to 2012 with 15,055 Chinese female participants in Minhang district, Shanghai. Cox regression models were used to estimate the association of BMI and its interaction with a family history of cancer on breast cancer risk. The additive interaction was evaluated by the relative excess risk due to interaction (RERI) and the attributable proportion due to interaction (AP), and the multiplicative interaction was assessed by the product term (BMI* family history of cancer) in the Cox regression model. Compared with BMI of < 24 kg/m2 and no family history of cancer, women with BMI of ≥ 24 kg/m2 and a family history of cancer had a higher risk for breast cancer with HR 2.06 (95% CI 1.39, 3.06). There was an additive interaction between BMI and family history of cancer on breast cancer incidence, with the RERI being 0.29 (95% CI 0.08, 0.51) and the AP being 0.37 (95% CI 0.08, 0.66). The coexistence of obesity and cancer family history may exacerbate breast cancer incidence risk, highlighting the importance of weight management in women with a family history of cancer.