Our findings provide preliminary evidence of an inverse association between both exposures and the risk of breast cancer, particularly among BRCA1 mutation carriers. Here, BRCA1 is linked to breast cancer.