Around 10% of people with melanoma have a family history of the disease.  This can be because of shared genetics or shared lifestyle habits of frequent sun exposure without adequate protection.