The results indicate that the XPG rs17655 polymorphisms and their interaction with family history of cancer in the first‐degree relatives might well contribute to BC risk in Tanzanian women. Here, ERCC5 is linked to cancer.