Vela Health

Fungal-prone skin · Not for eczema

Sunlight and antifungal care (coconut oil limits)

Short, careful sun can help fungus-prone skin folds. Coconut oil is not a treatment for atopic eczema and can make some skin barriers worse.

Updated 2026-10-09 · ~4 min read · Educational

By Megan Gadiparthy · molecular & cellular biology and data science · founder of Vela

Not medical advice. This guide covers suspected fungal rashes (athlete’s foot, some yeast-driven scalp flakes, pityriasis versicolor), not atopic eczema. Fungal infections sometimes need prescription antifungals, so work with your clinician.

If you have eczema, read this first. Clinical evidence does not support coconut oil as a reliable atopic eczema treatment. It can work less well than mineral oil, and its lauric acid may worsen a fragile skin barrier. Use the bland moisturizer your clinician recommends, and skip the coconut oil section unless a clinician confirms fungus and approves oil.

UV light damages fungus

Ultraviolet (UV) light is antifungal. It damages fungal DNA and cell membranes. On skin, measured outdoor UV (especially UVB) can help dry damp folds and slow surface infections like some tinea (ringworm) and pityriasis versicolor.

Sunburn is not a treatment dose. It damages your skin barrier and can worsen inflammation. In psoriasis, burned skin can grow new plaques (the Koebner effect).

Coconut oil is mildly antifungal in lab studies

Coconut oil is roughly half lauric acid, a fatty acid that disrupts fungal and some bacterial membranes in lab studies. On the scalp, feet, and folds, it moisturizes and adds a mild antimicrobial layer.

Signs fungus may be involved

Yeast and dermatophytes (the fungi behind ringworm and athlete’s foot) thrive on warm, damp, airless skin.

Eczema and psoriasis can look like fungus. If an over-the-counter antifungal clears the rash within a week, it was likely fungus. If not, see a clinician rather than oiling an undiagnosed rash.

How to use sunlight safely

  1. Get 5 to 15 minutes of morning or late-afternoon sun on dry feet, trunk patches, or folds. Stop before you turn pink.
  2. Pat folds dry first. Sun helps less on wet skin.
  3. Don’t swap sun for prescribed phototherapy, which is dosed and monitored.
  4. Ask your clinician first if you have lupus, rosacea, or another light-sensitive condition, or take sun-sensitizing medicines like doxycycline or thiazides (a type of water pill).

How to use coconut oil wisely

Not for eczema. This section covers only fungus-prone folds and scalp yeast.

  1. Apply a thin layer of virgin, unrefined coconut oil to clean, dry skin: feet at night, your scalp line, or patches. Too much oil blocks airflow and can worsen some folds.
  2. Keep skin dry: cotton socks, loose breathable clothes, and quick changes out of sweaty clothes.
  3. Patch test first. Some people react to coconut, and it can clog acne-prone facial skin.
  4. Use medical antifungals when needed: over-the-counter clotrimazole or terbinafine often clears tinea faster. Once the rash’s active edge calms, oil can go on top as barrier care. Ask your pharmacist or clinician.
  5. On your scalp, massage in a little, wait 20 to 30 minutes, then wash with antifungal shampoo if yeast causes the flakes. Hair loss or bleeding scales need a diagnosis.

Using sunlight and coconut oil together

Wash and dry completely, get a little sun if your skin type and condition allow, then apply a thin layer of oil. Skip oil before tight, sweaty shoes, or use oil at night and sun in the morning.

If redness spreads, blisters form, or pain worsens, stop home care and get checked. A bacterial infection can look like worsening fungus.

Signs it’s working

Over 1 to 2 weeks, itch at the rash’s edge eases, peeling slows, color evens out, foot odor fades, and your scalp stays calmer between washes. Fungi grow slowly, so expect gradual change.

What to track for two weeks

Each day, note sun, oil, itch (0 to 10), and a photo of the rash’s edge. A daily check-in shows whether sun, oil, or both change your pattern. If flares cluster, also look at fiber-rich meals and lower stress for immune health.

When to see a clinician

Selected sources

  1. Evangelista MTP, et al. The effect of topical virgin coconut oil on SCORAD index, TEWL, and skin capacitance in mild to moderate pediatric atopic dermatitis: a randomized, double-blind clinical trial. Int J Dermatol. 2014 — mixed results; not a blanket eczema recommendation. PubMed: 24320105
  2. AAD — fungal infections overview: aad.org ringworm

Want more guides like this?

Get skin-first guides in your inbox while we build early access, or keep reading now.

Email me guides More guides