The Healing Power of Sunlight:
What Your Doctor May Not Be Telling You
A clinical deep-dive into sunlight’s role in mental health, immune function, longevity, and why the conventional sun-avoidance message may be doing more harm than good.
BY MARK G. AGRESTI, MD — BOARD-CERTIFIED INTEGRATIVE PSYCHIATRIST — PALM BEACH, FL
Every day in my integrative psychiatry practice in Palm Beach, I see patients who are vitamin D-deficient, sleep-deprived, anxious, and depressed — and many of them have one thing in common: they almost never go outside. They work indoors under fluorescent lighting, commute in tinted-window cars, and apply sunscreen the moment they step outside on a weekend. They have been told, repeatedly, that the sun is dangerous.
As a board-certified physician with deep training in integrative medicine, I want to complicate that narrative. The sun is not your enemy. In fact, for most of human history, our bodies evolved in direct sunlight. The extraordinary range of physiological processes that sunlight initiates — from vitamin D synthesis to circadian entrainment to serotonin regulation — did not arise by accident. They are the product of millions of years of co-evolution between Homo sapiens and our nearest star.
This article is not a dismissal of sun safety. Chronic unprotected sun exposure in fair-skinned individuals, particularly in the context of a diet high in oxidized seed oils and processed foods, does carry risks. But the blanket message to avoid the sun — without context, nuance, or balance — is contributing to a quiet epidemic of vitamin D deficiency and all the downstream health consequences that follow.
Let’s go through the science, system by system.
🧠
MENTAL HEALTH
Serotonin, dopamine, and circadian entrainment all depend on daily sunlight.
🛡️
IMMUNE FUNCTION
Vitamin D activates T-cells and modulates innate immunity at the cellular level.
💤
SLEEP QUALITY
Morning light sets the cortisol-melatonin cycle that governs deep, restorative sleep.
❤️
CARDIOVASCULAR HEALTH
Nitric oxide release from UV exposure lowers blood pressure and protects the heart.
🦴
BONE DENSITY
Calcium absorption and bone mineralization require adequate vitamin D from sunlight.
🔬
CANCER DEFENSE
Epidemiological data links higher vitamin D levels to lower rates of internal cancers.
Vitamin D: The Hormone Your Skin Was Designed to Make
Vitamin D is technically a hormone, not a vitamin. When ultraviolet B (UVB) radiation from the sun strikes the skin, it converts 7-dehydrocholesterol in the epidermis into previtamin D3, which is then thermally converted to vitamin D3 (cholecalciferol). This undergoes further hydroxylation in the liver to 25-hydroxyvitamin D (25-OH-D), the form measured in standard blood tests, and then in the kidneys and other tissues to the active form, 1,25-dihydroxyvitamin D (calcitriol).
Vitamin D receptors (VDRs) are found in virtually every tissue and cell type in the human body — including the brain, heart, muscle, immune cells, and gastrointestinal tract. This distribution is not incidental. It tells us that vitamin D is involved in an extraordinarily broad array of physiological processes: calcium metabolism and bone homeostasis, immune modulation, insulin sensitivity, cardiovascular function, neurological health, and gene expression regulation.
Despite this, vitamin D deficiency is now one of the most common nutritional deficiencies in the world. In the United States, estimates suggest that between 40% and 50% of the population has insufficient vitamin D levels (serum 25-OH-D below 30 ng/mL), with rates even higher among Black and Hispanic Americans due to the protective effect of melanin on UVB absorption. This is not a coincidence — it is a direct consequence of modern indoor lifestyles and decades of sun-avoidance messaging.
“Vitamin D deficiency has been linked to depression, anxiety, cognitive decline, autoimmune disease, diabetes, hypertension, cancer, and all-cause mortality. The sun is not a cause of disease — widespread sun avoidance may be.”
HOW MUCH SUN DO YOU NEED?
The answer depends on skin tone, latitude, time of day, season, and body surface area exposed. A fair-skinned individual in South Florida (like Palm Beach) at midday in summer can produce between 10,000 and 20,000 IU of vitamin D3 in 15–20 minutes of full-body exposure — far exceeding what even high-dose oral supplementation delivers. Darker-skinned individuals require longer exposure for the same synthesis. The body has a built-in safety mechanism: once vitamin D levels are adequate, continued UVB exposure degrades the previtamin D and does not result in toxicity from sun exposure (unlike oral megadosing).
Sunlight and Depression: The Evidence Is Stronger Than You Think
In my clinical practice, I evaluate vitamin D status in virtually every new patient. What I consistently find is that patients with major depressive disorder, generalized anxiety disorder, and treatment-resistant depression are disproportionately vitamin D deficient. This is not coincidental — it reflects a well-established and growing body of literature on the relationship between sunlight, vitamin D, and mood.
THE SEROTONIN CONNECTION
Sunlight exposure stimulates the production of serotonin in the brain through a mechanism that is partly independent of vitamin D. Light entering the retina activates retinal ganglion cells that project to the raphe nuclei — the brain’s primary serotonin-producing centers. This is why light therapy (phototherapy) has been shown to be as effective as antidepressants for seasonal affective disorder (SAD) and, in some studies, for non-seasonal major depression as well. The effect is rapid, often beginning within days of consistent morning light exposure.
Vitamin D itself directly upregulates the gene encoding tryptophan hydroxylase 2, the rate-limiting enzyme in central serotonin synthesis. It also suppresses the enzyme that degrades serotonin in the brain. In other words, adequate vitamin D means more serotonin — and insufficient vitamin D may be quietly undermining the very neurotransmitter system that antidepressants are designed to target.
EPIDEMIOLOGICAL AND CLINICAL DATA
A prospective study of nearly 1,000 adults found that those with low baseline vitamin D levels had significantly higher depression scores at three- and six-year follow-up. A NHANES cross-sectional analysis of U.S. adults from 2021–2023 continued to find an inverse association between serum vitamin D levels and depression prevalence. Meta-analyses of randomized controlled trials show that vitamin D supplementation produces meaningful improvements in depressive symptoms, particularly in individuals who are clinically deficient at baseline.
Importantly, research suggests that vitamin D3 (the form synthesized from sunlight) is significantly more bioavailable and biologically active than vitamin D2 (ergocalciferol), which is the form found in most prescription supplements. This distinction matters clinically. Supplementation is valuable, but it is not a perfect substitute for sun-derived D3.
Circadian Biology: Why Morning Sunlight Is a Psychiatric Intervention
The suprachiasmatic nucleus (SCN) in the hypothalamus is the master pacemaker of the human body. It sets and synchronizes circadian rhythms — the roughly 24-hour biological cycles that govern sleep, waking, hormone secretion, digestion, immune activity, cell division, and dozens of other processes. The SCN is exquisitely sensitive to light, particularly to the short-wavelength (blue-spectrum) light that predominates at sunrise.
When morning sunlight enters the eyes and activates intrinsically photosensitive retinal ganglion cells (ipRGCs), a cascade of neuroendocrine signals is set in motion. Cortisol rises appropriately — not as a stress response, but as a hormetic signal that generates alertness, motivation, and metabolic activation. This cortisol awakening response (CAR), driven by morning light, is one of the most important yet overlooked pillars of mental health.
Critically, the morning light signal also sets the timer for melatonin release approximately 12–16 hours later. Melatonin — synthesized from serotonin in the pineal gland — is the body’s primary sleep-onset signal. Disruption of this light-anchored cycle (through indoor living, screen exposure at night, or irregular sleep schedules) is now well established as a driver of mood disorders, anxiety, metabolic disease, and impaired immune function.
“The morning light is a prescription. It sets serotonin, cortisol, and melatonin in motion — the three neurochemical pillars of mood, energy, and sleep. No pharmaceutical can replicate this cascade at the same cost, with the same safety profile.”
CLINICAL IMPLICATIONS
In my practice, I consistently recommend morning sunlight exposure as a foundational intervention for patients with depression, anxiety, insomnia, ADHD, and burnout. Even 10–20 minutes of outdoor light exposure within the first 30–60 minutes of waking — without sunglasses, which block the retinal light signal — has measurable effects on circadian entrainment, mood, alertness, and sleep quality. This costs nothing. It has no side effects. And in my clinical experience, it is one of the most reliably effective interventions in integrative psychiatry.
Sunlight and the Immune System: More Than Vitamin D
The immune-modulating effects of sunlight are remarkable and go well beyond vitamin D synthesis. UVB radiation activates skin-resident immune cells — including dendritic cells, natural killer T-cells (NKT cells), and Langerhans cells — that play essential roles in immunosurveillance, inflammatory regulation, and pathogen defense.
VITAMIN D AND INNATE IMMUNITY
The active form of vitamin D (calcitriol) directly stimulates the transcription of antimicrobial peptides, including cathelicidin and beta-defensin 2, which are critical components of the innate immune response to bacterial and viral pathogens. This mechanism underlies the well-documented seasonal pattern of respiratory infections — respiratory viral illness peaks in winter not simply because people are indoors, but because UVB-driven vitamin D synthesis falls to near zero at northern latitudes during winter months, impairing frontline immune defenses.
T-CELL ACTIVATION
Vitamin D is required for the activation and proliferation of T-lymphocytes, the adaptive immune cells that orchestrate targeted defense against specific pathogens and cancer cells. T-cells express vitamin D receptors and, when vitamin D levels are insufficient, fail to activate fully. This has implications not only for infection defense but for immune surveillance against malignant cells — one of the mechanisms by which adequate vitamin D is believed to reduce cancer risk.
AUTOIMMUNITY AND INFLAMMATION
Sunlight and vitamin D also modulate the balance between pro-inflammatory and anti-inflammatory immune responses. Low vitamin D is independently associated with higher rates of multiple sclerosis, rheumatoid arthritis, lupus, inflammatory bowel disease, and psoriasis — all conditions with immune dysregulation at their core. Notably, UVB phototherapy has been used for decades as an effective treatment for psoriasis, leveraging exactly this immunomodulatory mechanism.
The Sun-Cancer Paradox: A Nuanced Look at the Evidence
Here is where the conventional narrative breaks down most dramatically. Yes — chronic, unprotected ultraviolet exposure, particularly UVB and UVA, is associated with increased risk of basal cell carcinoma and squamous cell carcinoma, the two most common (and least lethal) skin cancers. There is also a more complex relationship with melanoma, in which intermittent intense exposure (particularly sunburn in childhood) appears more relevant than chronic moderate exposure.
But the conversation should not end there. When researchers examine the relationship between sun exposure and total cancer mortality — meaning all cancers, not just skin cancer — the picture reverses. Multiple epidemiological studies have found that populations with higher average sun exposure and higher serum vitamin D levels have significantly lower rates of internal malignancies, including breast cancer, colorectal cancer, prostate cancer, ovarian cancer, and Non-Hodgkin’s lymphoma.
An epidemiological study examining regional UV exposure in Norway found that women diagnosed with breast cancer in summer months — when vitamin D levels are at their seasonal peak — had prognosis outcomes 15–25% better than those diagnosed in winter, suggesting that circulating vitamin D at the time of diagnosis may meaningfully influence cancer biology and treatment response.
THE ROLE OF DIET: SEED OILS AND THE UV OXIDATION PROBLEM
One of the most important — and consistently underappreciated — factors in the sun-skin cancer relationship is diet. The skin is composed of cell membranes rich in fatty acids. When those fatty acids are predominantly polyunsaturated fats from industrial seed oils (linoleic acid from soybean, corn, sunflower, and canola oils), they are highly susceptible to oxidation by UVA radiation. This lipid peroxidation generates reactive oxygen species and breakdown products — including 4-hydroxynonenal — that can damage DNA and drive carcinogenic pathways.
In contrast, skin composed primarily of saturated and monounsaturated fatty acids (from whole-food sources like butter, tallow, coconut oil, and olive oil) is far more resistant to UV-induced oxidation. This may explain, in part, why traditional populations who ate whole-food diets and spent extensive time in the sun did not experience the rates of skin cancer we see today — and why the modern epidemic of skin cancer has paralleled not only increased sun awareness (and thus sunscreen use and reduced exposure) but also the dramatic rise in seed oil consumption since the mid-20th century.
“The question isn’t simply ‘how much sun?’ — it’s also ‘what are you eating?’ A diet high in industrialized seed oils may transform moderate sun exposure into a cellular oxidative insult. Change the substrate, change the risk.”
People who spend more time outdoors, eat fewer processed foods, and maintain higher vitamin D levels consistently demonstrate lower all-cause mortality, lower internal cancer rates, and better metabolic health. The variable that most correlates with skin cancer in epidemiological studies is not total sun exposure but sun burning — particularly in the context of low antioxidant defenses and high dietary polyunsaturated fat intake.
Additional Benefits: Cardiovascular, Metabolic, and Beyond
NITRIC OXIDE AND BLOOD PRESSURE
When UVA light strikes the skin, it triggers the release of nitric oxide (NO) from skin stores into the bloodstream. Nitric oxide is a potent vasodilator — it relaxes blood vessel walls and lowers blood pressure. Studies have shown that sun exposure can acutely reduce systolic blood pressure by several points through this mechanism, independent of vitamin D synthesis. This is one reason why populations at higher latitudes have higher rates of hypertension and cardiovascular mortality.
BETA-ENDORPHIN RELEASE
UVB exposure stimulates keratinocytes in the skin to produce beta-endorphin — the same opioid peptide responsible for the “runner’s high.” This generates a mild, natural mood-elevating effect that likely contributes to the psychological sense of well-being associated with outdoor time in the sun. This is not trivial — it means that the pleasure of being in the sun is not merely cultural or psychological, but neurobiological.
METABOLISM AND INSULIN SENSITIVITY
Vitamin D deficiency is independently associated with insulin resistance, metabolic syndrome, and type 2 diabetes. Vitamin D receptors on pancreatic beta cells regulate insulin secretion, and adequate vitamin D appears to improve peripheral insulin sensitivity. For my patients managing weight, energy, and metabolic health, getting vitamin D levels into the optimal range (50–80 ng/mL) is a consistent clinical priority.
BONE HEALTH
The classic role of vitamin D in calcium absorption and bone mineralization remains profoundly important, particularly as we age. Osteopenia and osteoporosis are epidemic in the United States — and vitamin D insufficiency is a significant, modifiable driver of that epidemic. Calcium supplementation without adequate vitamin D is largely ineffective; the transport protein that moves calcium from the gut into the bloodstream is vitamin D-dependent.
■ CLINICAL CASE VIGNETTE — COMPOSITE PATIENT
”I’ve Been on Three Antidepressants and Nothing Works”
A 26-year-old graduate student presented to my Palm Beach practice after failing two SSRI trials and one SNRI for major depressive disorder and generalized anxiety. She reported persistent fatigue, poor concentration, hypersomnia, social withdrawal, and loss of motivation. She noted she rarely went outdoors — her schedule was built around early morning classes, a campus library, and evening screen time. She had been told by a previous dermatologist to avoid sun exposure due to fair skin.
Her initial workup revealed a serum 25-OH-D of 16 ng/mL — severely deficient. We began a comprehensive integrative protocol that included vitamin D3/K2 supplementation (targeting repletion to 60 ng/mL over three months), morning sunlight exposure for 15–20 minutes within 30 minutes of waking, dietary elimination of seed oils in favor of whole-food fats, and omega-3 fatty acid supplementation. We also initiated low-dose aripiprazole augmentation given her prior partial SSRI response.
At her eight-week follow-up, she described a qualitative shift she had not experienced with pharmacotherapy alone: “I feel like myself again.” Her PHQ-9 score dropped from 19 to 7. She was sleeping better, her energy had returned, and she described a sense of motivation she had not felt in years. She remained on a modest SSRI dose but attributed the most meaningful change to the lifestyle interventions — particularly the morning sunlight protocol.
Note: This is a composite vignette representing common clinical themes. It does not represent a specific patient and is shared for educational purposes only.
■ DR. AGRESTI’S CLINICAL SUNLIGHT PROTOCOL
- Morning light exposure: 10–20 minutes of unobstructed outdoor sunlight within 30–60 minutes of waking. No sunglasses — retinal light signal is essential for circadian entrainment.
- Skin exposure: Arms, legs, and face exposed when possible. In South Florida, even 10 minutes at 7–9 AM provides meaningful UVB exposure for most of the year.
- Check your vitamin D: Ask your physician to order a serum 25-OH-D level. Optimal range: 50–80 ng/mL. Below 30 is insufficient; below 20 is deficient.
- Supplement strategically: If replete via supplementation, choose D3 (cholecalciferol) paired with vitamin K2 (MK-7) to ensure proper calcium metabolism. Typical repletion doses: 5,000–10,000 IU/day under physician supervision.
- Optimize your diet: Reduce industrial seed oils (soybean, corn, sunflower, canola) and increase whole-food fats (olive oil, butter, tallow, fatty fish) to reduce UV-related oxidative stress in skin tissues.
- Avoid burning — not all sun: Gradual, consistent exposure is the goal. Sunburn is the risk factor, not moderate daily sun. Build tolerance progressively.
- Evening light hygiene: Reduce blue-light screen exposure in the 2 hours before bed to allow natural melatonin rise — this completes the cortisol-melatonin circadian arc initiated by your morning sun.
A Note on Sunscreen
Sunscreen has an important role in preventing sunburn during prolonged or intense exposure — particularly for fair-skinned individuals at peak UV times. I am not anti-sunscreen. But applying broad-spectrum SPF 50 before stepping outside for a 15-minute morning walk eliminates essentially all UVB-driven vitamin D synthesis and circadian light signaling. This is a trade-off that the conventional medical community rarely acknowledges — and one that warrants a more nuanced conversation between patients and physicians.
My clinical recommendation: do not apply sunscreen during your initial 10–20-minute morning light window. Allow your skin to engage with moderate, natural UVB. If you plan to remain in the sun for extended periods — particularly during peak hours (10 AM–2 PM) and in a high-UV environment like South Florida — then appropriate sun protection is warranted. This is not an all-or-nothing proposition.
Conclusion: Reclaim Your Relationship with the Sun
I believe the modern war on sunlight is one of the most consequential medical overcorrections of our era. In our well-intentioned effort to prevent skin cancer, we have inadvertently driven epidemic rates of vitamin D deficiency, circadian disruption, immune dysfunction, and mood disorders. These downstream costs are real, measurable, and largely preventable.
The sun is not simply a carcinogen to be blocked. It is a biological signal without which the human body cannot function optimally. Our ancestors understood this intuitively. We are only now catching up to the biochemistry that explains why.
As an integrative psychiatrist, I prescribe sunlight as medicine — because that is precisely what it is. My most consistent recommendation to patients struggling with depression, anxiety, fatigue, poor sleep, and immune dysfunction is this: go outside. Get morning sunlight on your skin and in your eyes. Do it consistently. Pay attention to what you eat. Give your body the inputs it was designed to receive.
The results, in my experience, are often profound — and the prescription is free.
Ready to Take a More Integrative Approach to Your Mental Health?
Dr. Mark Agresti offers concierge integrative psychiatry in Palm Beach and statewide via telemedicine throughout Florida. Appointments available for adults and young adults struggling with depression, anxiety, sleep disorders, and mood dysregulation.
REQUEST A CONSULTATION AT DRMARKAGRESTI.COM
Topics: sunlight benefits mental health • vitamin D depression • circadian rhythm psychiatry • integrative psychiatry Palm Beach • sun exposure immune system • morning sunlight cortisol melatonin • vitamin D deficiency • seasonal affective disorder treatment • seed oils and cancer • holistic depression treatment Florida • DrMarkAgresti.com
Hashtags: #IntegrativePsychiatry #VitaminD #SunlightTherapy #MentalHealthNaturally #DrMarkAgresti #PalmBeachPsychiatry #CircadianHealth #DepressionTreatment #HolisticMentalHealth #FloridaTelepsychiatry #SunshineState #FunctionalMedicine #YoungAdultMentalHealth #SerotonincandSunshine #WellnessPrescription
Medical Disclaimer: This article is for educational and informational purposes only and does not constitute medical advice. The information presented reflects the integrative clinical perspective of Dr. Mark Agresti and is not intended to replace individualized evaluation and treatment by a licensed physician. Always consult with your healthcare provider before making changes to your health regimen. © 2026 Mark G. Agresti MD LLC • 44 Cocoanut Row, Suite M202, Palm Beach, FL 33480 • [(561) 760-4107](tel:(561) 760-4107) • DrMarkAgresti.com