top of page
Siam Dermatology logo

Can Nails Show Cancer? Which Black Lines on a Nail Need Prompt Checking

32 minutes ago
16 min read

Nail cancer (nail unit cancer) is cancer that arises from the tissue around and beneath the nail plate. The most important type is subungual melanoma, which often starts as a brown or black lengthwise streak on a single nail, and nail squamous cell carcinoma, which often looks like a wart or a long-standing inflamed nail fold. Nails that "signal cancer" elsewhere in the body, such as clubbing seen with lung cancer, are a separate group that must be told apart.

Most black lines on nails are not cancer. Many Thai people have pigment lines on several nails from birth, and black nails after a knock are several times more common than cancer. But nail cancer is often diagnosed late because it is mistaken for a bruise, a fungal infection or a wart. This article separates the nail changes that raise suspicion of cancer into types, with their appearance, causes, urgency, when to see a doctor, how they are examined and how doctors actually treat them.

Can nails really signal cancer? A short answer from a dermatologist

  • Yes, but only in a minority of cases: most abnormal nails are caused by a knock, a fungal infection, psoriasis or nail cosmetics, not cancer.

  • The most important sign: a brown or black lengthwise streak on one nail, especially the thumb or big toe, that is 3 mm or wider, keeps getting wider, has uneven color, or spreads onto the skin around the nail.

  • A frequently overlooked sign: a single nail with a sore, flaking, cracking, oozing blood, or an inflamed nail fold lasting longer than 6–8 weeks despite treatment may be squamous cell carcinoma, not just a wart or an ingrown nail.

  • Nails that point to cancer in another organ: rounded, bulbous fingertips and nails curved like a watch glass that newly appear in an adult, especially a smoker, call for a lung check.

  • The good news: nail cancer found early, before it has grown deep, can usually be removed surgically while saving the finger.

What causes black lines on nails, before thinking of cancer

A brown or black lengthwise streak running from the base of the nail to the tip is medically called longitudinal melanonychia. It happens when pigment cells in the nail matrix release melanin into the nail plate as it grows, so the line runs the full length of the nail. The causes fall into 2 groups.

  1. Pigment cells that are more active but not more numerous: the most common group, for example ethnic pigment lines in people with darker skin, friction from shoes, nail biting, pregnancy, certain medicines and skin diseases at the nail base.

  2. Pigment cells that have multiplied: this may be a nail matrix nevus (a mole at the nail base), which is harmless, or melanoma, which is the cause that must be ruled out.

There are also dark discolorations that do not come from pigment, such as blood trapped under the nail after a knock and certain fungi that produce a black color. Both can be told apart from a pigment line with a skin microscope (dermoscopy) examination.

Check a black nail line with the ABCDEF rule

Dermatologists use the ABCDEF rule to help screen which black lines should be biopsied. The more items that match, the sooner it should be examined.

  • A – Age: most common between 50 and 70 years, and seen in Asians more often than many people think.

  • B – Band: brown to black, 3 mm or wider, with a blurred, poorly defined edge.

  • C – Change: the line gets wider or darker, the color is uneven within one line, or the nail plate starts to crack or become misshapen.

  • D – Digit: the thumb, big toe and index finger are most often affected, and usually only one digit.

  • E – Extension: dark color spreading onto the skin at the base or side of the nail, called Hutchinson's sign, is a very important warning sign.

  • F – Family: a personal or family history of melanoma.

This rule is a screening tool, not a diagnosis. A black line that matches none of the items should still be photographed and compared every 3–6 months, and a line that matches even one item in an adult should be examined by a dermatologist.

Type 1: Subungual melanoma

Appearance: it starts as a brown or black line on a single nail that slowly widens over several months, with uneven color, several shades and a blurred edge. Later the nail plate cracks, flakes or falls off, a lump or a bleeding sore appears under the nail, and the color spreads onto the skin around the nail. About 1 in 5 to 1 in 4 patients have almost no black color at all (amelanotic melanoma) and instead present with a pink lump or a sore that does not heal.

Cause: pigment-producing cells at the nail base mutate into cancer. Unlike skin cancers on the face, it is not related to sun exposure. It is most often found on the thumb and big toe. Some patients have a prior knock to the nail, which leads to it being mistaken for a bruise and diagnosed late. In Asians, melanoma of the palms, soles and nails (acral melanoma) is the most common type of melanoma.

Severity/urgency: high. The thickness of the cancer at diagnosis (Breslow thickness) is the biggest factor in treatment outcome. The later it is found, the thicker the cancer and the greater the risk of spread to lymph nodes.

When to see a doctor: within 1–2 weeks if an adult has a new black line on one nail, or one that is widening or has color spreading beyond the nail, and sooner if the nail splits, a lump appears or there is a bleeding sore.

Type 2: Nail squamous cell carcinoma that looks like a wart

Appearance: the skin at the nail fold or under the nail becomes thick and rough like a wart, the nail plate lifts away from the nail bed, the nail fold is swollen and red for a long time, with fluid or blood oozing. Some people see a red or white lengthwise line on a single nail, or a sore that will not heal.

Cause: squamous cell carcinoma is the most common cancer of nail tissue. It usually affects men aged 50–70, on the fingers, especially the thumb, index and middle fingers. An important factor is infection with high-risk HPV, especially HPV 16. It is also linked to radiation, arsenic and a weakened immune system. The early stage that is still confined to the surface layer is called Bowen's disease of the nail.

Severity/urgency: moderate to high. It grows slowly and rarely spreads elsewhere, but if left for a long time it invades the bone at the fingertip and the finger may need to be amputated. The main problem is that it is often treated as a wart or an inflamed nail fold for years.

When to see a doctor: a middle-aged person with a wart around one nail that does not go away after burning or applying medicine, comes back in the same place, or an inflamed nail fold lasting longer than 6–8 weeks despite treatment, should have a dermatologist consider a biopsy.

Type 3: Clubbing, rounded fingertips and curved nails, a sign from the lungs

Appearance: the fingertips become rounded like drumsticks, the nail plate curves like a watch glass, the nail base feels spongy when pressed, and the angle between the nail base and the skin exceeds 180 degrees. Try placing the backs of the nails of the same finger on both hands together. Normally a diamond-shaped gap can be seen; if that gap disappears, clubbing may be present (Schamroth's window sign).

Cause: lung cancer is the most common cancer-related cause. Other causes include bronchiectasis, pulmonary fibrosis, cyanotic congenital heart disease, chronic inflammatory bowel disease and cirrhosis. Some people have clubbing as an inherited trait since childhood without any disease.

Severity/urgency: depends on the cause. Clubbing present since childhood that runs in the family is usually harmless, but clubbing that newly appears in an adult is a sign that needs a cause looked for in every case.

When to see a doctor: fingertips that begin to swell over a few months, together with a cough lasting more than 3 weeks, coughing up blood, tiring easily, weight loss, or long-term smoking, should see an internal medicine doctor for a chest X-ray.

Type 4: A red lengthwise line on a single nail

Appearance: a red or pink line about 1–3 mm wide running from the nail base to the tip. The nail tip along the line is often thin and splits into a V-shaped notch. Some have tiny spots of bleeding within the line. This is called longitudinal erythronychia.

Cause: when it affects a single nail, it is mostly a benign tumor under the nail (onychopapilloma), but in a minority it is Bowen's disease or early squamous cell carcinoma. When it affects several nails at once, it is usually linked to a skin disease that involves the whole body, such as lichen planus, not cancer.

Severity/urgency: low to moderate. A line that has stayed stable for many years is usually a benign tumor, but a line that widens, has a lump or has a sore needs a biopsy.

When to see a doctor: a newly appeared red line on a single nail in an adult that widens, hurts, or repeatedly splits the nail tip should be seen by a dermatologist within 1–2 months.

Type 5: A lump or sore under the nail that does not heal

Appearance: a lump pushing the nail plate up or out of shape, an easily bleeding sore under or beside the nail, red tissue resembling a vascular tumor, or a nail plate destroyed until it falls off.

Cause: most causes are benign, such as pyogenic granuloma, a fast-growing vascular growth after an injury that is common with ingrown nails and after certain cancer drugs, cysts, or bone spurs under the nail (subungual exostosis). However, the same kind of lump can be amelanotic melanoma or squamous cell carcinoma, and in some lung cancer patients the cancer can spread to the fingertip, which is rare.

Severity/urgency: moderate to high, because it cannot be judged by eye whether it is malignant or benign.

When to see a doctor: a lump or sore under the nail that does not heal within 4 weeks, bleeds repeatedly or grows quickly. It should be biopsied every time, and should never be burned or cut off without being sent for testing.

Nail changes from cancer treatment are not the cancer itself

People undergoing cancer treatment often notice nail changes. Most are caused by the drugs and do not mean the cancer has spread to the nail.

  • Dark bands or a fully darkened nail: caused by several groups of chemotherapy drugs, such as doxorubicin, cyclophosphamide and hydroxyurea. It usually affects several nails at once and fades 6–12 months after stopping the drug.

  • Transverse grooves (Beau's lines): appear with each chemotherapy cycle, seen as grooves matching the number of cycles received.

  • Nail lifting, separation from the nail bed, pus under the nail: common with taxane drugs such as docetaxel.

  • Inflamed nail folds and red tissue growing beside the nail: seen with targeted drugs that inhibit EGFR.

These changes should be reported to the treating oncologist, and a dermatologist can help with care alongside them, without stopping cancer treatment on your own first.

Black nails that are NOT cancer and are far more common

Blood under the nail (subungual hematoma)

A history of a knock, tight shoes or long-distance running. The color is red-purple to black, a round patch rather than a straight line, with a clear edge, and it moves toward the nail tip as the nail grows. Fingernails grow about 3 mm per month and toenails about 1 mm per month. If the color has not moved away from the nail base after 4–8 weeks, further examination is needed.

Ethnic pigment lines (ethnic melanonychia)

Present on several nails at once, an even light brown color, neat parallel lines, stable for many years. Common in people with darker skin and increases with age.

Fungal black nails (fungal melanonychia)

Usually a toenail, with a thick, cloudy, flaking nail plate and broad black color at the tip rather than the base. A nail scraping can be tested for fungus.

Black lines in children

Black lines on nails in children are mostly moles at the nail base, even when wide or dark. Melanoma of the nail in children is very rare. Doctors usually schedule follow-up with photographs and dermoscopy rather than immediate surgery.

What a dermatologist checks when nail cancer is suspected

  1. History: when it started, how fast it changed, any knock to the nail, medicines used, and personal and family history of cancer.

  2. Examination of all 20 nails: to see whether one nail or several are involved, and to check the skin around the nail and the lymph nodes at the elbow, armpit and groin.

  3. Skin microscope examination of the nail (onychoscopy or dermoscopy): to see whether the line is pigment or blood, whether the fine lines within the band are evenly arranged, and whether color spreads onto the skin around the nail that the naked eye cannot see.

  4. Nail scraping for fungus: when the nail is also thick and cloudy.

  5. Biopsy from the nail base (nail matrix biopsy): the only way to confirm cancer. It is done under local anesthesia at the base of the finger and takes about 30–60 minutes. The wound heals in 2–4 weeks, but the new nail may have a groove or split along the line of the cut.

  6. X-ray or other imaging: when cancer is suspected to have reached the bone, or to assess spread for staging.

Treatment of subungual melanoma

The main treatment is surgery. Medicines are an additional treatment for advanced stages. The choice of method depends on the thickness of the cancer from the biopsy result.

  • Not yet invasive (melanoma in situ): surgery removes all the nail tissue of that finger together with a safety margin, keeping the bone and the finger (functional surgery), then the wound is covered with a skin graft. The finger can still be used but will have no nail.

  • Invasive melanoma: amputation at the fingertip joint or the next joint is often needed to obtain a safety margin according to the thickness of the cancer.

  • Sentinel lymph node biopsy: doctors usually consider it when the cancer is 0.8 mm thick or more, or when the surface of the cancer is ulcerated.

  • Immunotherapy: for cancer that has spread to lymph nodes or other organs, or after surgery in people at high risk of recurrence. PD-1 inhibitor drugs such as pembrolizumab or nivolumab are given intravenously every 2–6 weeks depending on the drug. After surgery they are usually given for about 1 year. Choosing the drug and monitoring side effects is done by an oncologist.

  • Follow-up after treatment: examination of the finger, the whole skin and the lymph nodes every 3–6 months for the first 2–3 years.

Treatment of nail squamous cell carcinoma

  • Margin-controlled surgery (Mohs micrographic surgery): the cancer is removed layer by layer with the margins examined immediately, preserving as much of the finger as possible with a low recurrence rate. It is the main option when the cancer has not reached the bone.

  • Removal of all nail tissue: for Bowen's disease or early cancer that covers a wide area.

  • Amputation at the fingertip joint: when the cancer has reached the bone of the fingertip.

  • Topical medicine: imiquimod 5% cream or 5-fluorouracil 5% cream can be used only in some people with early Bowen's disease who cannot have surgery. It is applied on the schedule set by the doctor for 6–12 weeks. A repeat biopsy is needed after treatment, because disease under the nail that the medicine does not reach often recurs.

  • Check other fingers and the genital area: because the same HPV type can cause lesions in other locations too.

Treatment when a black line is NOT cancer

  • Blood under the nail: no medicine needed. If there is severe pain and blood covers more than half the nail within the first 24–48 hours, a doctor may drain the blood to relieve pain, then wait for the nail to grow the color out. This takes about 4–6 months for a fingernail and 12–18 months for a toenail.

  • Fungal black nails: oral terbinafine 250 mg once daily for 6 weeks for fingernails and 12 weeks for toenails. Liver function must be checked before starting. In mild cases, ciclopirox 8% nail lacquer applied daily for 6–12 months may be used. Whether it works is judged from the clearer new nail growth, not from the old nail that is still black.

  • Moles at the nail base and ethnic pigment lines: no treatment needed. Photographs with a ruler for comparison every 3–6 months, and dermoscopy at follow-up visits. If the line widens or changes color, a biopsy is then considered.

  • Black lines from medicines: they usually fade on their own after the drug is stopped or changed. Do not stop a medicine on your own without consulting the prescribing doctor.

The choice of medicine, dose and length of treatment is a decision made by the doctor after the cause has been confirmed.

How to photograph a black nail line yourself to track it

  1. Take photos in natural light, from the same distance and angle, with a ruler or coin placed beside the finger for size comparison.

  2. Photograph both the whole nail plate and the skin around the nail to see whether color spreads beyond the nail.

  3. Measure the width of the line at the nail base and note the date.

  4. Repeat every 1–3 months if the line is newly found, and every 6 months if it has been stable for a long time.

  5. Compare old and new photos. If the line has widened, darkened, has uneven color, or there is color on the skin around the nail, bring all the photos to a doctor.

Do not: do not paint the nail or cover a nail with a black line with gel extensions, because this hides changes, and do not file or scratch the nail to "scrape the color off".

Signs that need prompt medical attention

  • A new black line on one nail in an adult, or a line 3 mm or wider

  • A black line that widens, darkens or has several colors within one line over a few months

  • Dark color spreading onto the skin at the base or side of the nail

  • The nail plate cracks, flakes, falls off or becomes misshapen only on the finger with the black line

  • A lump or sore under the nail that bleeds easily and does not heal within 4 weeks

  • A "wart" or "inflamed nail fold" on one finger that does not heal within 6–8 weeks of treatment

  • Blood under the nail that does not move toward the nail tip after 4–8 weeks

  • Fingertips beginning to swell together with a chronic cough, breathlessness or weight loss

Preventing and lowering the risk of nail cancer

Subungual melanoma cannot be prevented with sunscreen because it is not caused by sun exposure. What really helps is early detection: check all your fingernails and toenails once a month, and have any changing black line examined. For nail squamous cell carcinoma, risk can be lowered by not leaving warts around the nail untreated for long, not smoking, and getting screened for HPV-related disease as your doctor advises. For clubbing, quitting smoking and having your lungs checked when symptoms appear are the most direct steps.

In brief

  • Nails can indeed signal cancer, but most abnormal nails are not cancer.

  • The important cancers are subungual melanoma, which starts as a black line on one nail, and squamous cell carcinoma, which looks like a wart or a chronic inflamed nail fold.

  • Use the ABCDEF rule to screen, especially for lines 3 mm or wider, lines that are widening, and color that spreads beyond the nail.

  • Blood under the nail moves outward as the nail grows, while a pigment line does not move because it arises at the nail base.

  • Clubbing that newly appears in an adult calls for a lung check.

  • Confirming nail cancer requires a biopsy from the nail base, and cancer found early can usually be removed surgically while saving the finger.

Frequently asked questions about nails and cancer

What kind of nail suggests cancer?

The nail most suspected of cancer is one with a brown or black lengthwise line on a single nail, especially the thumb or big toe, 3 mm or wider, getting wider or darker, with uneven color in the line, or with color spreading onto the skin around the nail. Another type is a single nail with a lump, sore, oozing blood, or thick rough tissue like a wart that does not heal with treatment. Nail abnormalities on several fingers at once are more often caused by other things, such as fungus, psoriasis or medicines, than by cancer.

What does cancer of the nail look like, and does it hurt?

Early nail cancer usually does not hurt, which is why it is often left for a long time. Subungual melanoma starts as a black line that slowly widens over several months, then the nail cracks, flakes or develops a lump that bleeds easily. Squamous cell carcinoma is usually rough thick skin like a wart at the nail fold, a nail lifting away from the nail bed, or a nail fold that stays swollen and red. Pain usually appears only when there is a sore, a repeat infection or the cancer has reached the bone, so no pain does not mean no danger.

Is a black line on a nail dangerous?

Mostly not. A black line on several nails, an even light brown, stable for many years, is usually an ethnic pigment line, which is common in Thai people. A black nail after a knock is a patch that gradually moves toward the nail tip. But a line on a single nail in an adult that is new, widening, darkening, or has color spreading beyond the nail should be examined by a dermatologist with a skin microscope within 1–2 weeks, and a biopsy may be needed to confirm.

Is a vertical line on a nail cancer?

Raised vertical ridges the same color as the nail are common with age and with dry nails, and are not cancer. What to watch for is a vertical "colored line" on a single nail, such as a black or brown line that may be melanoma, and a red line that in some people is Bowen's disease or early squamous cell carcinoma, especially if the nail tip along the line repeatedly splits or the line widens. If you are not sure whether it is a ridge or a colored line, photograph it for comparison and see a dermatologist.

How do you tell a black nail from a knock apart from nail cancer?

A black nail from a knock usually comes with a history of a bump or tight shoes, is a red-purple to black patch with a clear edge, and gradually moves toward the nail tip, because fingernails grow about 3 mm per month. Melanoma is a line that starts at the nail base and does not move outward, and it usually keeps widening. An easy way is to take a photo and look again after 4–8 weeks. If the color at the nail base is still there or has widened, further examination is needed. A dermatologist can tell blood from pigment with a dermoscope within a few minutes.

Can nail cancer be cured, and does the finger have to be amputated?

Nail cancer found at an early stage can usually be cured with surgery, and many people keep the finger. For example, melanoma that is not yet invasive is treated by removing all the nail tissue and grafting skin, and squamous cell carcinoma that has not reached the bone is treated with margin-controlled surgery. Amputation is needed when the cancer has grown deep or reached the bone. The outcome depends most on the thickness of the cancer at diagnosis, so you should not wait and watch for long when there are warning signs.

This article gives general medical information and is not a substitute for diagnosis by a doctor. The choice of treatment, medicines, doses and length of medicine use is a decision for the examining doctor.

Written by Dr. Patara Voravutinon, Dermatologist · Last reviewed December 4, 2026

 
 
 

Recent Posts

See All

Comments


bottom of page