Skin · Sun protection
Does sunscreen prevent melanoma?

Yes, likely. People who put on sunscreen every day, not just at the beach, got about half as many melanomas, the most dangerous skin cancer.
Using sunscreen every day roughly halved new melanomas in a long-term trial. In an Australian trial, adults assigned to apply sunscreen every day had about half as many new melanomas over the next 15 years as people who used it whenever they chose, and fewer invasive melanomas. It is one of the few randomized trials on this question; melanoma is rare, so case numbers were small.
Who this applies to: Adults aged 25 to 75 in a sunny, high-UV community in Queensland, Australia. The benefit may be smaller in less sunny places.
Moderate evidenceA randomized trial with long follow-up, but a single site with few melanoma cases, so the overall result was borderline.
Educational summary, not medical advice. Talk to a clinician about your own health.