Tests for Melanoma Skin Cancer

Most melanomas are brought to a doctor’s attention because of signs or symptoms a person is having.

If you have an abnormal area on your skin that might be cancer, your doctor will examine it and might do tests to find out whether it is melanoma, another type of skin cancer, or some other skin condition.

If melanoma is found, other tests might then be done to learn more about it, such as whether it has spread to other areas of the body.

Medical history and physical exam

If your primary doctor suspects melanoma, you might be referred to a dermatologist, a doctor who specializes in skin diseases, who will look at the area more closely.

First, your doctor usually will ask about your symptoms, such as when the mark first appeared, whether it has changed in size or appearance, and whether it has been painful, itchy, or bleeding. You might also be asked about your possible risk factors for melanoma skin cancer, such as your history of tanning and sunburns, and whether you or anyone in your family has had melanoma or other skin cancers.

During the physical exam, your doctor will note the size, shape, color, and texture of the area(s) in question, and whether it is bleeding, oozing, or crusting. The rest of your body might be checked for moles and other spots that could be related to skin cancer or other skin conditions.

The doctor might also feel the lymph nodes (small bean-sized collections of immune cells) under the skin near the abnormal area. When melanoma spreads, it often goes to nearby lymph nodes first, making them larger.

Special techniques to look at the skin

It can be hard to tell whether some moles or other abnormal areas on the skin are melanomas based on how they look.

Dermatologists sometimes use special techniques that can look more closely at the skin. This helps them decide if an abnormal area should be biopsied to determine whether it’s a melanoma.

Dermatologists often use dermoscopy, also known as dermatoscopy, epiluminescence microscopy, or surface microscopy, to get a closer look at abnormal spots on the skin. It even gives them the ability to see some structures below the surface of the skin that can’t be seen with the naked eye.

In this technique, the doctor uses a dermatoscope, which is a special magnifying lens and light source held near the skin. Sometimes a thin layer of alcohol or oil is put on the skin beforehand.

Digital images of the area can also be taken, which can be used to see if an area changes over time. In some systems, the images can be analyzed by a computer, which can help the doctor determine whether the area might be a melanoma.

RCM is another technique dermatologists can use to look closely at an abnormal area of skin. In this technique, a low-powered laser is aimed at the suspicious area. The light from the laser enters the upper layers of the skin and reflects off the structures there. A special microscope detects the light as it bounces back, which is used to create a detailed, three-dimensional image of the area. This can help the doctor determine if the area needs to be biopsied.

RCM might be especially useful for people with many unusual moles, as it can lower the number of skin biopsies these people might need. RCM might also be helpful in determining the edges of a melanoma, which could help during surgery.

Some newer handheld devices can be placed over the skin to help healthcare providers get a better idea if an abnormal area is likely to be a melanoma, without needing to remove it.

These devices might be especially helpful for primary care providers and other health professionals who don’t usually see as many skin cancers as dermatologists do.

These types of devices are placed on the skin. The tip of the device sends out beams of light or electrical signals, which bounce back off the skin cells.

The device analyzes the pattern of signals coming from the area and lets the provider know if a biopsy should be done to test for melanoma.

In this approach, a sticky patch is placed on the suspicious area. When the patch is removed it takes some of the top layers of skin with it, which can then be tested for certain gene changes that are often linked with melanoma.

If a gene change is found, a biopsy of the area can be done. If no gene changes are found, a biopsy isn’t needed, and the area can be watched instead.


Skin biopsy

If the doctor thinks a spot might be a melanoma, the suspicious area will be removed and sent to a lab to be looked at under a microscope. This is called a skin biopsy.

There are many ways to do a skin biopsy. The doctor will choose which type of biopsy is best based on the size of the affected area, where it is on your body, and other factors. No matter which type of biopsy is done, it needs to remove enough of the suspected area so that an accurate diagnosis can be made.

Skin biopsies are done using a local anesthetic (numbing medicine), which is injected into the area with a very small needle. You will likely feel a small prick and a little stinging as the medicine is injected, but you should not feel any pain during the biopsy.

Any biopsy is likely to leave at least a small scar. Different methods can result in different types of scars, so ask your doctor about scarring before the biopsy.

For a shave biopsy, the doctor shaves off the top layers of the skin with a small surgical blade. Bleeding from the biopsy site is stopped by applying an ointment, a chemical that stops bleeding, or a small electrical current to cauterize the wound.

  • A superficial shave biopsy (tangential biopsy) removes only the top layers of skin. It is useful in diagnosing many types of skin diseases and in sampling moles when the risk of melanoma is very low.
  • A deep shave biopsy (saucerization) removes deeper layers of skin as well. This is the preferred type of shave biopsy if the chances of melanoma are higher.

If a shave biopsy is used for a suspected melanoma, it’s important that the biopsy blade goes deep enough to get below the suspicious area. Otherwise, if it is a melanoma, the biopsy sample might not be thick enough to measure how deeply the cancer has invaded the skin.

For a punch biopsy, the doctor uses a tool that looks like a tiny, round cookie cutter to remove a deeper sample of skin. The doctor rotates the punch biopsy tool on the skin until it cuts through all the layers of the skin. The sample is then removed, and the edges of the biopsy site are often stitched together.

To examine a tumor that might have grown into deeper layers of the skin, the doctor might use an excisional or, less often, an incisional biopsy.

  • An excisional biopsy removes the entire abnormal area, along with a small margin of normal skin around it. This is usually the preferred method of biopsy for suspected melanomas.
  • An incisional biopsy removes only a portion of the tumor. This might be done if the whole suspicious area can’t be removed easily.

For these types of biopsies, a surgical knife is used to make an elliptical (oval-shaped) cut through the full thickness of skin. The skin is then removed for examination, and the edges are usually stitched together.


Lymph node biopsies

If melanoma has already been diagnosed on the skin, nearby lymph nodes might be biopsied to see if the cancer has spread to them.

FNA might be used to biopsy large lymph nodes near a melanoma to find out if the melanoma has spread to them.

For an FNA, the doctor uses a syringe with a thin, hollow needle to remove very small pieces of a lymph node or tumor. A local anesthetic is sometimes used to numb the area first. This test rarely causes much discomfort and does not leave a scar.

If the lymph node is just under the skin, the doctor can often feel it well enough to guide the needle into it. For a suspicious lymph node deeper in the body, an imaging test, such as ultrasound or a CT scan, is often used to help guide the needle into place.

An FNA is not as invasive as some other types of biopsies, but it might not always collect enough of a sample to tell if a suspicious area is melanoma. In these cases, a more invasive type of biopsy might be needed.

This procedure can be used to remove an enlarged lymph node through a small cut in the skin. A local anesthetic (numbing medicine) is generally used if the lymph node is just under the skin. If the lymph node is deeper in the body, you might need to be sedated or even in a deep sleep (under general anesthesia).

This type of biopsy is often done if a lymph node’s size suggests the melanoma has spread there but an FNA of the node wasn’t done or didn’t find any melanoma cells.

If melanoma has been diagnosed and has any higher-risk features, such as being at least a certain thickness, a sentinel lymph node biopsy (SLNB) is often done to see if the cancer has spread to nearby lymph nodes, which might affect treatment options.

An SLNB can be used to find the lymph nodes that are likely to be the first place the melanoma would go if it has spread. These lymph nodes are called sentinel nodes.

If a lymph node near a melanoma is larger than normal, an SLNB probably won’t be needed because it’s clear which lymph node might be affected. The enlarged node is biopsied.

Marking the sentinel lymph nodes

To find the sentinel nodes, a doctor injects a small amount of a radioactive substance into the melanoma. After giving the substance time to travel to the lymph node areas near the tumor, a special camera or a handheld detector is used to see if it collects in one or more sentinel lymph nodes.

Surgery process

Once the radioactive area has been marked, the person is taken for surgery, and usually a blue dye is injected in the same place the radioactive substance was originally injected. A small cut is then made in the marked area, and the lymph nodes are checked to find which ones became radioactive or turned blue. These sentinel nodes are removed and looked at under a microscope.

If there are no melanoma cells in the sentinel nodes, no more lymph node surgery is needed because it is very unlikely the melanoma would have spread beyond this point.

If melanoma cells are found in the sentinel nodes, the area might need to be watched closely with exams and ultrasounds or other imaging tests. If there’s a high risk that more lymph nodes in the area contain melanoma, another option might be to remove them. This is known as a completion lymph node dissection.


Biopsies of potential melanomas in other parts of the body

Rarely, biopsies of other organs might be needed to figure out if a person has melanoma that has spread or if they have some other type of cancer.

When melanoma grows in other organs, it can sometimes be confused on an imaging test with a cancer starting in that organ. For example, melanoma that has spread to the lung might be confused with a primary lung cancer (cancer that starts in the lung).

Special lab tests can be done on the biopsy samples to tell whether it is a melanoma or some other kind of cancer. This is important because different types of cancer are treated differently.

Sometimes, a biopsy of a potential melanoma in other parts of the body might be needed.

Melanomas that have spread: Some melanomas can spread so quickly that they reach other organs while the original skin melanoma is still very small. Sometimes these tumors are found with imaging tests such as CT scans or other exams even before the melanoma on the skin is discovered.

Melanomas found elsewhere after a skin melanoma is removed: Some melanomas might be found in other parts of the body long after a skin melanoma has been removed, so it’s not clear if it’s the same cancer.

Melanomas that appear to start elsewhere: Some melanomas might be found somewhere in the body without ever finding a spot on the skin. This can be because some skin melanomas might go away on their own without any treatment, after some of their cells have already spread to other parts of the body. Melanoma can also start in other organs, but this is very rare.

Biopsies of suspicious areas inside the body often are more involved than those used to sample the skin. Depending on where the suspicious area is, it might be sampled with a needle or surgical (incisional or excisional) biopsy.


Lab tests of biopsy samples

Samples from any biopsies will be sent to a lab where a doctor called a pathologist will look at them under a microscope for melanoma cells. Often, skin samples are sent to a dermatopathologist, a doctor who has special training in looking at skin biopsy samples.

If the doctor can’t tell for sure if melanoma cells are in the sample just by looking at it, certain lab tests will be done on the cells to try to confirm the diagnosis. These might include:

  • Immunohistochemistry (IHC)
  • Fluorescence in situ hybridization (FISH)
  • Comparative genomic hybridization (CGH)
  • Gene expression profiling (GEP)
  • Single nucleotide polymorphism (SNP) array
  • Next-generation sequencing (NGS)

If melanoma is found in the samples, the pathologist will look at certain important features such as the tumor thickness and mitotic rate (the proportion of cells that are actively dividing).

These tests and features can help determine the stage of the melanoma, and they might also help determine how likely it is to spread. These can affect a person’s treatment options and prognosis (outlook).

Molecular testing for certain gene changes

For some people with melanoma, biopsy samples or blood samples might be tested to see if the cancer cells have certain gene changes (mutations). This type of testing, sometimes referred to as molecular testing or biomarker testing, might affect a person’s treatment options, especially if the melanoma has spread.

For example, in about half of melanomas the cells have BRAF gene changes. Testing for these changes can determine whether treatment with specific targeted drugs might be helpful.

Tests for changes in genes such as C-KIT, NRAS, ALK, ROS1, and NTRK might also be done. These gene changes aren’t common in melanomas, but some targeted drugs might be an option if changes in these genes are found.


Imaging tests

Imaging tests create pictures of the inside of your body. They are used mainly to look for spread of melanoma to lymph nodes or other organs. These tests are not needed for most people with very early-stage melanoma, which is very unlikely to have spread.

Imaging tests can also be done to help determine how well treatment is working or to look for possible signs of cancer coming back (recurring) after treatment.

Ultrasound uses sound waves and their echoes to create images of the inside of your body on a computer screen. This test might be used to look at the lymph nodes near the tumor, especially if it’s not clear if they’re enlarged based on a physical exam. Ultrasound is typically fairly quick and easy to do, and it doesn’t expose you to radiation.

Ultrasound-guided needle biopsy: Ultrasound can also be used to help guide a biopsy needle into a suspicious lymph node.

A CT scan uses x-rays to make detailed, cross-sectional images of your body. Unlike a regular x-ray, CT scans can show the detail in soft tissues such as internal organs. This test can show if any lymph nodes are enlarged or if organs such as the lungs or liver have suspicious spots, which might be from the spread of melanoma.

CT-guided needle biopsy: CT scans can also be used to help guide a biopsy needle into a suspicious area within the body.

This test might be done to help determine if melanoma has spread to the lungs, although a CT scan of the chest is often done instead.

MRIs use radio waves and strong magnets instead of x-rays to create detailed images of parts of your body. MRIs can be very helpful in looking at the brain and spinal cord if the doctor suspects cancer might have spread there.

A PET scan can help show whether cancer has spread to lymph nodes or other parts of the body. It is most useful in people with more advanced stages of melanoma.

For this test, you are injected with a low dose of radioactive sugar called FDG, which collects mainly in cancer cells. A special camera is then used to create a picture of areas of radioactivity in the body.

PET/CT scan: Many centers have machines that do both a PET and CT scan at the same time. This lets the doctor compare areas of higher radioactivity on the PET scan with the more detailed image from the CT scan.


Blood tests

Blood tests aren’t used to diagnose melanoma, but some tests might be done before or during treatment, especially for more advanced melanomas.

If the melanoma has spread to distant parts of the body, doctors often test a person’s blood for levels of lactate dehydrogenase (LDH) before treatment. A high LDH level is a sign that the cancer might be harder to treat. This can affect the stage of the cancer.

Tests of blood cell counts and blood chemistry levels might be done in a person who has advanced melanoma to see how well the bone marrow (where new blood cells are made), liver, and kidneys are working before and during treatment.

Questions to ask after a melanoma diagnosis

  • How far has the melanoma spread within or beneath the skin?
  • How thick is the melanoma?
  • Has the melanoma spread to other parts of my body?
  • Will I need any other tests before we can decide on treatment?
  • Will I need to see any other types of doctors?
  • If I’m concerned about the costs and insurance coverage for my diagnosis and treatment, who can help me?

side by side logos for American Cancer Society and American Society of Clinical Oncology

Developed by the American Cancer Society medical and editorial content team with medical review and contribution by the American Society of Clinical Oncology (ASCO).

Donohoe K. Imaging studies in melanoma. UpToDate. 2026. Accessed at https://www.uptodate.com/contents/imaging-studies-in-melanoma on May 6, 2026.

Mitchell TC, Karakousis G, Schuchter L. Chapter 66: Melanoma. In: Niederhuber JE, Armitage JO, Doroshow JH, Kastan MB, Tepper JE, eds. Abeloff’s Clinical Oncology. 6th ed. Philadelphia, Pa: Elsevier; 2020.

National Cancer Institute. Melanoma Treatment (PDQ®)–Health Professional Version. 2025. Accessed at https://www.cancer.gov/types/skin/hp/melanoma-treatment-pdq on May 5, 2026.

National Comprehensive Cancer Network. NCCN Clinical Practice Guidelines in Oncology. Melanoma: Cutaneous. Version 2.2026. Accessed at https://www.nccn.org on May 6, 2026.

Swetter S, Geller AC. Melanoma: Clinical features and diagnosis. UpToDate. 2026. Accessed at https://www.uptodate.com/contents/melanoma-clinical-features-and-diagnosis on May 6, 2026.

Swetter SM, Tsao H, Bichakjian CK, et al. Guidelines of care for the management of primary cutaneous melanoma. J Am Acad Dermatol. 2019;80:208-250.

Last Revised: August 12, 2026

American Cancer Society Emails

Sign up to stay up-to-date with news, valuable information, and ways to get involved with the American Cancer Society.