Skin cancers do occur more commonly in some families, but rather than being genetic as such, it can be that these families all experienced more sunburns due to habitual exposure to the sun through sport or other outdoor activities. There are rare genetic mutations that can lead to a very high risk of skin cancer, including Gorlin’s syndrome, which can lead to a high risk of BCC formation. Melanoma appears to be genetic in a small proportion of patients, but there is no genetic testing available as yet to quantify your risk of melanoma. If you have a family history of skin cancer including melanoma, you may be at increased risk of skin cancer, and it may be worthwhile having annual skin checks, especially if you have risk factors for skin cancer yourself.