Practical guide / Tanly

Can you tan with sunscreen? What SPF 30 and SPF 50 really block

By , developer of Tanly · Checked on 24 November 2026

Yes, you can tan with sunscreen on, because no sunscreen blocks all UV: SPF 30 lets through about 3% of UVB rays and SPF 50 about 2%. Sunscreen reduces damage; it does not make a tan safe, and the WHO says it should not be used to spend longer in the sun.

Disclosure: ELX Labs publishes this guide and develops Tanly. Figures come from the American Academy of Dermatology, Cleveland Clinic, MD Anderson and the other sources listed at the end, checked on November 24, 2026.

Does sunscreen prevent tanning?

It slows tanning down without stopping it. Cleveland Clinic explains that you still tan with sunscreen because even the highest SPF cannot block all ultraviolet light. SPF measures protection against UVB, the rays behind sunburn. UVA rays reach deeper into the skin and also make you tan. The share of UVB that gets through is roughly 100 divided by the SPF.

Share of UVB blocked and transmitted by SPF (when applied as directed)
SPFUVB blockedUVB that gets through
15about 93%about 7%
30about 97%about 3%
50about 98%about 2%

These values assume you apply enough. A thin layer protects less than the number on the bottle.

SPF 30 vs 50: which one?

The American Academy of Dermatology recommends a broad-spectrum, water-resistant sunscreen with SPF 30 or higher for everyone, and notes that SPF 30 blocks 97% of UVB rays. SPF 50 blocks a little more. The difference looks small in percentage terms, but it cuts the share of UVB getting through by about a third. Whatever the SPF, choose “broad spectrum” so UVA is covered too.

Does SPF 50 mean you can stay in the sun 50 times longer?

No. SPF compares time to sunburn with and without sunscreen under test conditions. At the beach, sunscreen comes off with water, sweat and towels. The WHO says sunscreen should not be used to extend time spent in the sun, and that shade and clothing protect better. The AAD advises reapplying about every two hours outdoors and after swimming or sweating.

Can you tan in the shade?

Yes, a little. Shade cuts exposure a lot, but some UV still reaches you by reflection: the US EPA notes that sand, water and snow reflect UV and increase exposure. That is why you can still go red under a beach umbrella.

Can you tan through a window?

Very little, but your skin is not protected either. According to the Skin Cancer Foundation, window glass blocks most UVB rays but not UVA, which pass through windows and clouds year-round. UVA also tans and ages skin. Hours next to a very sunny window can therefore darken your skin slightly and add up damage without a visible sunburn.

Is a tan with sunscreen safe?

No. According to MD Anderson Cancer Center, any suntan is a sign of skin damage, even if you got it while wearing sunscreen. Sunscreen limits that damage; it does not remove it. If you are going to be in the sun anyway, it remains essential, together with midday shade, a hat and clothing.

Sunscreen in Tanly

Tanly is an iPhone and iPad app for checking the UV index and forecasts and tracking sun-exposure sessions. It includes a skin profile, duration estimates, a timer and SPF-related reminders. Downloading is free; some features require a subscription. No estimate guarantees risk-free sun exposure.

In a Tanly session (a Pro feature), the SPF applied field offers None, SPF 15, SPF 30 and SPF 50. It records what you declare; it does not measure sunscreen left on your skin or the effect of a swim. Sunscreen steps are organizational reminders. Details are in does entering SPF in Tanly replace reapplication? See also Tanly’s page.

Keep in mind

Tanning exposes you to UV radiation and is never risk-free. Duration and SPF indications are estimates, not protection or medical advice. Do not extend sun exposure based on the timer. Notifications depend on device permissions, and UV information requires available weather data.

Frequently asked questions

Can you tan with sunscreen on?

Yes. No sunscreen blocks all UV: SPF 30 lets through about 3% of UVB rays and SPF 50 about 2%. Sunscreen reduces damage but does not make a tan safe.

Does sunscreen prevent tanning?

It slows tanning down without stopping it. Some UVB and UVA always reaches the skin, which reacts by producing melanin.

SPF 30 vs 50: which is better?

The American Academy of Dermatology recommends broad-spectrum SPF 30 or higher for everyone. SPF 50 blocks a little more UVB, about 98% instead of 97%.

Does SPF 50 let you stay in the sun longer?

No. The WHO says sunscreen should not be used to extend time in the sun. It comes off with water, sweat and towels, so reapply about every two hours.

Can you tan in the shade?

A little. Shade cuts exposure a lot, but sand, water and snow reflect some UV back onto your skin.

Can you tan through a window?

Very little. Glass blocks most UVB rays but lets UVA through, which also tans and ages skin.

Sources checked on November 24, 2026