Nicotinamide for Skin Cancer Prevention: What the Research Shows
Nicotinamide is a form of vitamin B3. In a 2015 trial in people who had already had several non-melanoma skin cancers, taking 500 mg twice a day was linked to fewer new ones over a year. It is not a sunscreen, it has not been shown to prevent melanoma, and the benefit faded once people stopped. Here is what the studies actually show, the dose they used, and who should talk to a doctor before trying it.

What nicotinamide is (and is not)
Nicotinamide, also sold as niacinamide, is one of the forms of vitamin B3. In skin cells exposed to UV light it helps restore cellular energy that DNA repair depends on, and in laboratory and small human studies it reduced the dampening of the skin's immune response that UV causes. That is the biological reason researchers tested it for skin cancer.
It is not the same as niacin (nicotinic acid), the form of B3 that causes flushing and was used for cholesterol. The skin cancer trials used nicotinamide, so the form on the label matters. Our guide to nicotinamide vs niacinamide vs niacin explains the difference in detail.
Real dermoscope images
One of these two spots is melanoma. Which one?
Tap the one you think it is.
Source: ISIC Archive, ISIC_0001155 and ISIC_0000306
Free. No sign-up. Not a diagnosis.
The ONTRAC trial: the study behind the headlines
The best evidence comes from ONTRAC, a randomized, placebo-controlled trial published in The New England Journal of Medicine in 2015 (Chen and colleagues, Australia). It enrolled 386 adults who had had at least two non-melanoma skin cancers (basal cell or squamous cell carcinoma) in the previous five years. Half took nicotinamide 500 mg twice daily for 12 months; half took a placebo.
Over the year, the nicotinamide group had about 23% fewer new non-melanoma skin cancers than the placebo group, and fewer actinic keratoses (rough, sun-damaged precancerous patches). In the six months after people stopped taking it, the difference disappeared. In other words, any effect seemed to last only while the tablets were being taken.
A 23% relative reduction is meaningful for people who develop many skin cancers, but it is not elimination: people in the nicotinamide group still developed new skin cancers and still needed regular skin checks.
What later studies found
Organ transplant recipients: the ONTRANS trial (Allen and colleagues, The New England Journal of Medicine, 2023) gave the same dose to 158 kidney, liver and other transplant recipients with previous skin cancers. After 12 months there was no difference: 207 new keratinocyte cancers in the nicotinamide group and 210 in the placebo group. The trial stopped early because recruitment was slow, so it is smaller than planned, but it did not show a benefit in this heavily immunosuppressed group.
US veterans: a large observational study published in JAMA Dermatology in 2025 looked at more than 33,000 veterans, about 12,000 of whom had taken nicotinamide 500 mg twice daily for at least 30 days. Their risk of a new skin cancer was about 14% lower overall, and the association was strongest, about 54% lower, when nicotinamide was started after a first skin cancer rather than after several. The effect was clearest for squamous cell carcinoma. Because this was not a randomized trial, it shows an association, not proof that nicotinamide caused the difference.
Melanoma: none of these studies showed that nicotinamide prevents melanoma, and it should not be taken with that expectation.
The dose used in the studies
ONTRAC, ONTRANS and the veterans study all used 500 mg of nicotinamide twice a day, a total of 1,000 mg daily. That is far more vitamin B3 than a multivitamin contains, which is why it is better thought of as a medical dose than as a vitamin top-up.
More is not better. At much higher doses (several grams a day), nicotinamide has been linked to liver problems, and there is no evidence that going above the studied dose adds protection. Splitting the dose into two was how the trials did it, and the benefit appeared only while people kept taking it.
Who it was studied in
The trial evidence is for a narrow group: adults, mostly fair-skinned and middle-aged or older, who had already had two or more non-melanoma skin cancers. ONTRAC was run in Australia, where skin cancer rates are among the highest in the world.
It has not been tested as everyday prevention in young, healthy people who have never had skin cancer, so there is no evidence it lowers risk for them. Some dermatologists now discuss nicotinamide with patients who keep developing keratinocyte cancers or have many actinic keratoses, as an add-on to sun protection and regular skin checks, not instead of them.
Who should talk to a doctor first
Talk to your doctor or dermatologist before starting nicotinamide, and especially if any of these apply:
You have had skin cancer, or are being followed for it: your dermatologist can tell you whether your history matches the people who were studied. You have had an organ transplant or take immunosuppressants: the ONTRANS trial did not show a benefit, and your transplant team should be involved in any supplement decision. You have kidney disease or are on dialysis: the body clears nicotinamide through the kidneys, and a drop in platelets has been reported in dialysis patients. You have liver disease. You are pregnant or breastfeeding: high doses have not been studied. You take other medicines, including some seizure medicines (carbamazepine, primidone), or already take vitamin B3 in another product.
Tell your dermatologist if you start it, so it is on your record.
Not a sunscreen replacement
Nicotinamide does not block UV light, does not stop sunburn, and was tested alongside, not instead of, sun protection. Broad-spectrum SPF 30+ sunscreen, shade, clothing and hats remain the first line, and anyone with a history of skin cancer still needs regular full-skin checks.
If you are reading this because you have a lot of sun damage or a spot that worries you, the more useful first step is to look at that spot: a new, changing, bleeding or non-healing spot should be seen by a doctor whatever supplement you take.
Worried about a spot on sun-damaged skin? Check it with a photo, and see a dermatologist for anything new, changing or not healing.
Check your own spot right nowNot sure whether the bottle you have is the right form of vitamin B3? See nicotinamide vs niacinamide vs niacin.
Frequently asked questions
Does nicotinamide prevent skin cancer?
In the ONTRAC trial (NEJM, 2015), people who had already had at least two non-melanoma skin cancers developed about 23% fewer new ones over 12 months while taking nicotinamide 500 mg twice daily. It did not stop all skin cancers, the effect faded after stopping, and it has not been shown to prevent melanoma.
What dose of nicotinamide was used for skin cancer?
The trials used 500 mg twice daily (1,000 mg a day). Higher doses have not been shown to work better and very high doses have been linked to liver problems. Ask your doctor before starting.
Is niacinamide the same as nicotinamide?
Yes. Niacinamide and nicotinamide are two names for the same molecule. Niacin (nicotinic acid) is a different form of vitamin B3 that causes flushing and was not the form used in the skin cancer trials.
Does nicotinamide work for organ transplant recipients?
The ONTRANS trial (NEJM, 2023) in 158 transplant recipients found no reduction in new skin cancers after 12 months. Transplant recipients should only take it with their transplant team's agreement.
Can I take nicotinamide instead of sunscreen?
No. Nicotinamide does not block UV or prevent sunburn. In the trials it was used on top of sun protection and regular skin checks, which remain the first line.
Sources
Content based on clinical guidelines from the American Academy of Dermatology (AAD), British Association of Dermatologists (BAD), and peer-reviewed literature from JAAD, BJD, and JAMA Dermatology. Epidemiological data from NCI SEER and IARC GLOBOCAN. Full methodology