Yes, people can get skin cancer under their fingernails and toenails. This type of skin cancer is known as subungual melanoma. Symptoms like black or brown streaks in nails, nails separating from the nail bed, darkening skin, etc., might indicate the presence of subungual melanoma.